Changes between Version 7 and Version 8 of Ticket #336
- Timestamp:
- 06/25/10 16:28:10 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #336 – Description
v7 v8 16 16 17 17 api/rest/resource 18 (see ticket:358) 18 19 19 20 Functional differences from the !ScraperWiki suggested patch: … … 51 52 Note use of package_id instead of package_name is something we're moving towards in the API, since names can change. When we've done ticket:341 then ckan.net/package/lincs-councillors will be a synonym of ckan.net/package/b8a325c8-af2a-43f3-8245-9db7d73dfbfe 52 53 53 === Example model request ===54 55 GET to: /api/2/rest/resource/a3dd8f64-9078-4f04-845c-e3f04712502856 57 returns:58 {{{59 [{"id": "a3dd8f64-9078-4f04-845c-e3f047125028",60 "package_id": "b8a325c8-af2a-43f3-8245-9db7d73dfbfe",61 "URL": "http://scraperwiki.com/lincolnshire-councillors",62 "format": "CSV",63 "Description": "Scrape of www.lincs.gov/councillors.pdf by ScraperWiki.",64 "hash": "",65 "position": 266 }]67 }}}68 54 69 55 === Search Parameters ===