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

  • From: Ian Bettinger <ibettinger@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Wed, 27 Jun 2012 17:24:00 -0700

Hey Phil,

> oh,  I'm just some guy. and my name's not Patrick. :)

Oops, sorry man!

> what you propose sounds reasonable, but I'll leave it to the racktables devs
> to reply.

Cool, hopefully someone else will chime in. Everything I see on the
wiki indicates that that's the development process goes for
Racktables, but it'd be nice to get some confirmation.

Cheers,
Ian



On Wed, Jun 27, 2012 at 2:27 PM, Philip Durbin <philipdurbin@xxxxxxxxx> wrote:
> oh,  I'm just some guy. and my name's not Patrick. :)
>
> what you propose sounds reasonable, but I'll leave it to the racktables devs
> to reply.
>
> maybe there's a dev list
>
> phil
>
> On Jun 27, 2012 5:21 PM, "Ian Bettinger" <ibettinger@xxxxxxxxx> wrote:
>>
>> Hi Patrick,
>>
>> Thanks. I'm looking forward to taking a crack at it.
>>
>> Couple questions/confirmations:
>>
>> 1) I should work against trunk, right?
>>
>> 2) Do you guys have a preferred dispatch mechanism for API requests?
>> For example, if I put in an Apache rewrite rule to route everything
>> matching /api/v1 to an api.php script, what framework should I use to
>> map URIs to methods within that script?
>>
>> Cheers,
>> Ian
>>
>>
>>
>>
>>
>>
>> On Wed, Jun 27, 2012 at 4:28 AM, Philip Durbin <philipdurbin@xxxxxxxxx>
>> wrote:
>> > Hi Ian,
>> >
>> > I don't have much to add, but I wanted to publicly thank you for working
>> > on
>> > this!  I'm talking it up on IRC!
>> >
>> > http://irclog.perlgeek.de/crimsonfu/2012-06-25#i_5756840
>> >
>> > Please let us know when you have some code to try!
>> >
>> > Thanks!
>> >
>> > Phil
>> >
>> >
>> > On 06/25/2012 12:33 PM, Ian Bettinger wrote:
>> >>
>> >> Hi,
>> >>
>> >> I'm an engineer at Topsy Labs (http://topsy.com/), and have been
>> >> charged with creating a restful web service API for Racktables. This
>> >> seems like a pretty popular request for the tool.
>> >>
>> >> Once it's in working order, we'd like to get it merged into the main
>> >> branch of racktables so that we don't have to be the only folks
>> >> maintaining it going forward.
>> >>
>> >> I'm planning on using the advice in this post to get started:
>> >>
>> >>
>> >> //www.freelists.org/post/racktables-users/RESTful-API-for-RackTables,5
>> >>
>> >> A couple of questions:
>> >>
>> >>   1) has any official work started on this functionality?
>> >>   2) is there anything more I need to know to get started?
>> >>
>> >> Thanks in advance for any advice / info.
>> >>
>> >> Cheers,
>> >> Ian Bettinger
>> >>
>> >
>> >
>>
>

Other related posts: