User Tools

Site Tools


4thefile_api_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

4thefile_api_reference [2010/12/02 22:35]
jay
4thefile_api_reference [2011/01/04 22:19] (current)
jay
Line 58: Line 58:
     * page (optional, default 1)      * page (optional, default 1) 
     * tag (optional - only Resources with matching tag will be returned. the special tag "untagged" will return all Resources in the Collection that don't have any tags)     * tag (optional - only Resources with matching tag will be returned. the special tag "untagged" will return all Resources in the Collection that don't have any tags)
-    * cdate (optional - only resources added after cdate will be returned. cdate must be in yyyy-mm-dd or "yyyy-mm-dd hh:mm:ss" format)+    * cdate (optional - only resources with collection_id or tags modified since cdate will be returned. cdate must be in yyyy-mm-dd or "yyyy-mm-dd hh:mm:ss" format)
   * [[get_collection_resources | details and example]]    * [[get_collection_resources | details and example]] 
  
Line 75: Line 75:
   * [[get_resource_details | details and example]]    * [[get_resource_details | details and example]] 
  
 +==== /resources/:resourcekey/attachments ====
 +
 +GET /resources/:resourcekey/attachments.format returns a list of direct links to any attachments in the top-level message for
 +:resource, plus some meta data. this could be useful in a specialized collection where, for example, the 1st attachment is known to always include a scanned image of a purchase receipt.
 +  * response formats supported: .xml, .json
 +  * [[resource_attachment_list | details and example]]
  
 ==== /collections/:collectionkey/resources/:resourcekey ==== ==== /collections/:collectionkey/resources/:resourcekey ====
4thefile_api_reference.1291329323.txt.gz ยท Last modified: 2010/12/02 22:35 by jay