Changes between Version 4 and Version 5 of RESTController
- Timestamp:
- 11/20/09 00:12:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RESTController
v4 v5 5 5 Available since: [https://code.launchpad.net/~flavour/sahana/sahanapy-trunk Main Trunk] Revision 358+ 6 6 7 The main controller function of the RESTful API is: 7 The "REST Controller" is a S3 framework component that provides a generic RESTful API for !SahanaPy database resources. 8 9 The main function of the REST Controller is: 8 10 9 11 * '''shn_rest_controller''' (defined in models/01_RESTlike_controller.py) 10 12 11 The controller supports variousrepresentation formats:13 The controller supports a number representation formats: 12 14 13 * HTML 14 * PDF 15 * XLS 15 * autogenerated HTML (including Create/Update forms) 16 * PDF (export only) 17 * XLS (export only) 18 * CSV 16 19 * [wiki:S3XRC XML] using in-line XSLT transformation to support various XML formats 17 20 * [wiki:S3XRC JSON] for AJAX-style access to resources