User Tools

Site Tools


get_collection_resources

Differences

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

Link to this comparison view

get_collection_resources [2010/11/05 20:13]
jay
get_collection_resources [2010/12/02 22:34] (current)
jay
Line 8: Line 8:
     * page (optional, default 1)      * page (optional, default 1) 
     * tag (optional -- only Resources with matching tag will be included. tag=untagged matches only Resources in Collection which have no tags)     * tag (optional -- only Resources with matching tag will be included. tag=untagged matches only Resources in Collection which have no 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)
   * Curl command line: <code>curl -u user:apikey "https://4thefile.com/api_v1/collections/ESuVkqZF/resources.xml?page=1&per_page=10&tag=newtag"</code>   * Curl command line: <code>curl -u user:apikey "https://4thefile.com/api_v1/collections/ESuVkqZF/resources.xml?page=1&per_page=10&tag=newtag"</code>
   * example xml response:   * example xml response:
Line 64: Line 65:
     * retention: 1=permanent. Resources are normally removed from the system if not accessed for a period of 6 months. Resources with retention=1 will never be removed unless removed by the resource owner.     * retention: 1=permanent. Resources are normally removed from the system if not accessed for a period of 6 months. Resources with retention=1 will never be removed unless removed by the resource owner.
     * size: total size of the resource in bytes.     * size: total size of the resource in bytes.
-    * tags: tags are used to categorize resources within a collection.+    * tags: tags are used to categorize resources within a collection. A resource can have multiple tags (comma-separated).
  
get_collection_resources.1288988005.txt.gz · Last modified: 2010/11/05 20:13 by jay