Changes between Version 7 and Version 8 of Ticket #336


Ignore:
Timestamp:
06/25/10 16:28:10 (4 years ago)
Author:
dread
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #336 – Description

    v7 v8  
    1616 
    1717api/rest/resource 
     18 (see ticket:358) 
    1819 
    1920Functional differences from the !ScraperWiki suggested patch: 
     
    5152Note 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 
    5253 
    53 === Example model request === 
    54  
    55 GET to: /api/2/rest/resource/a3dd8f64-9078-4f04-845c-e3f047125028 
    56  
    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": 2 
    66  }] 
    67 }}} 
    6854 
    6955=== Search Parameters ===