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

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:
>>
>> http://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: