Changes between Version 3 and Version 4 of RestfulAPI
- Timestamp:
- 02/14/08 14:36:50 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RestfulAPI
v3 v4 1 = Questions = 1 = The CKAN RESTful API = 2 3 == Design Questions == 2 4 3 5 * What are the URIs? … … 6 8 * What status codes could be returned? 7 9 8 = URLs=10 == URLs == 9 11 10 * http://ckan.net/api/rest/package/list/:page11 * http://ckan.net/api/rest/package/create/:name12 * http://ckan.net/api/rest/package/update/:name13 * http://ckan.net/api/rest/package/read/:name12 * !http://ckan.net/api/rest/package/list/:page 13 * !http://ckan.net/api/rest/package/create/:name 14 * !http://ckan.net/api/rest/package/update/:name 15 * !http://ckan.net/api/rest/package/read/:name 14 16 15 = Data Formats=17 == Data Formats == 16 18 17 19 Request: HTTP Parameters 18 20 Response: JSON 19 21 20 = Methods=22 == Methods == 21 23 22 24 || Action || Methods || … … 26 28 || read/ || GET || 27 29 28 = Status Codes =30 == Status Codes == 29 31 30 32 || Action-Method || Success || Exception ||