Ticket #358 (new enhancement) — at Initial Version
Resources in REST API
| Reported by: | dread | Owned by: | dread |
|---|---|---|---|
| Priority: | major | Milestone: | ckan-v1.5 |
| Component: | ckan | Keywords: | |
| Cc: | Repository: | ckan | |
| Theme: | none |
Description
(spun out of ticket:336)
Resource added to model API at:
api/rest/resource
Example model request
GET to: /api/2/rest/resource/a3dd8f64-9078-4f04-845c-e3f047125028
returns:
[{"id": "a3dd8f64-9078-4f04-845c-e3f047125028",
"package_id": "b8a325c8-af2a-43f3-8245-9db7d73dfbfe",
"URL": "http://scraperwiki.com/lincolnshire-councillors",
"format": "CSV",
"Description": "Scrape of www.lincs.gov/councillors.pdf by ScraperWiki.",
"hash": "",
"position": 2
}]
Note: See
TracTickets for help on using
tickets.
