[racktables-users] Re: writing a restful API in php for Racktables

  • From: Philip Durbin <philipdurbin@xxxxxxxxx>
  • To: "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>
  • Date: Wed, 1 Aug 2012 13:09:18 -0400

Hi Ian!

Instead of attaching api.php in messages to the list, could you fork 
https://github.com/RackTables/racktables so we can track your development 
there?  We can even leave comments on commits, if you want.

Then, when you're ready, you can make a pull request.

Thanks for all your work on the RackTables REST API!

Phil

On Aug 1, 2012, at 12:25 PM, Ian Bettinger <ibettinger@xxxxxxxxx> wrote:

> I've added a few methods, including add_object and edit_object. I'll
> clean up the code and send the updated version to the list soon.
> 
> Interested to hear everyone's comments.
> 
> Cheers,
> Ian
> 
> 
> On Wed, Aug 1, 2012 at 7:17 AM, Dylan Stephano-Shachter
> <dstathis@xxxxxxxxx> wrote:
>> Also, is there a way to add a new object to a container.
>> 
>> Possibly something like
>> http://racktables.foo.com/api.php?method=add_object...&container=exampleContainer
>> 
>> If not this would be a nice feature to implement as it would make adding
>> blade servers much easier.
> 

Other related posts: