----- Original Message ----- From: "Earle Martin" openguides@downlode.org To: openguides-dev@openguides.org Sent: 14 May 2005 01:48 Subject: [OpenGuides-Dev] REST API
So I put together a rudimentary REST API for OpenGuides. At the moment it only redirects you to the regular OG script with the appropriate parameters, but I'd like to make it The One True Way eventually.
Check it out:
http://london.openguides.org/api/Locale_Docklands http://london.openguides.org/api/rdf/Locale_Docklands
http://london.openguides.org/api/rdf/RecentChanges
http://london.openguides.org/api/userstats/Earle http://london.openguides.org/api/rdf/userstats/Earle http://london.openguides.org/api/rdf/userstats/Earle/nominor http://london.openguides.org/api/rdf/userstats/Earle/20 http://london.openguides.org/api/rdf/userstats/Earle/20/nominor
http://london.openguides.org/api/rdf/category/River http://london.openguides.org/api/rdf/category/River/20 http://london.openguides.org/api/rdf/category/River/nominor
http://london.openguides.org/api/rdf/locale/Southwark http://london.openguides.org/api/rdf/locale/Southwark/20 http://london.openguides.org/api/rdf/locale/Southwark/nominor
Any chance of a peek at the code :)
Also, what do you see as the benefits of REST over plain vanilla CGI?
Ivor.