===== GET /collections/:collectionkey/resources.format=====
GET /collections/:collectionkey/resources.format returns the list of resources in collection :collectionkey
* response formats supported: .xml, .json
* query parameters:
* per_page (optional - max resources to return at once, default 30)
* 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)
* 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: curl -u user:apikey "https://4thefile.com/api_v1/collections/ESuVkqZF/resources.xml?page=1&per_page=10&tag=newtag"
* example xml response:
2
zdV2nhbL
https://4thefile.com/api_v1/collections/ESuVkqZF.xml
2010-06-02 14:18:20
4theFile demo
ESuVkqZF
39
2010-06-02 14:18:20
joe blow <jblow@purplewire.com>
joe blow <▆▆▆▆▆purplewire.com>
2010-11-04 17:11:18
1
https://4theFile.com/zdV2nhbL
http://4theFile.com/zdV2nhbL
0
877
submissions are closed for this collection!
newtag
UVlY0i71
https://4thefile.com/api_v1/collections/ESuVkqZF.xml
2010-06-02 14:07:11
4theFile demo
ESuVkqZF
2
2010-06-02 14:07:11
joe blow <jblow@4theFile.com>
joe blow <jblow@4theFile.com>
2010-11-05 10:17:35
1
https://4theFile.com/UVlY0i71
http://4theFile.com/UVlY0i71
0
205
Example 4theFile resource
newtag,tag33
* field descriptions:
* resource_count: the the total number of resources that would be returned by the query if not limited by the per_page parameter (which defaults to 30, not to "unlimited")
* counter: how many times the resource has been access through either the web interface or API
* from_email: the address in the From: header of the submitted resource
* message_from: the From address shown in the public view of the resource (may be redacted)
* owned: 1=resource is owned by you. see http://4thefile.com/pages/collections/FAQ.html#owns
* 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.
* tags: tags are used to categorize resources within a collection. A resource can have multiple tags (comma-separated).