Changes between Initial Version and Version 1 of BluePrintREST


Ignore:
Timestamp:
12/30/08 06:22:05 (16 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintREST

    v1 v1  
     1== RESTful API ==
     2
     3This page hosts detailed specifications for [https://blueprints.launchpad.net/sahana3/+spec/rest Blueprint for the RESTful API].
     4
     5Basic approach for the S3 architecture is to have a Web Services backend & a Javascript client front end.
     6
     7RESTful APIs make this easier.
     8
     9Web2Py generates fairly RESTful URLs anyway for the user-facing HTML pages, such as /sahana/pr/display_person/4
     10
     11We can extend this for exporting raw data in other formats using the optional vars: /sahana/pr/display_person/4?[xml|csv]
     12
     13This, obviously, requires us to build-in support into the Controllers, which should be done within the framework to make it easy for module writers to take advantage of.
     14
     15Web2Py currently doesn't support HTTP PUT/DELETE/UPDATE (only GET).