===== GET /collections.format=====
returns the list of collections owned by you.
* response formats supported: .xml, .json
* query parameters: none
* Curl command line: curl -u user:apikey https://4thefile.com/api_v1/collections.xml
* example xml response:
5
4theFile demo
ESuVkqZF
2010-06-02 14:01:45
Used to demo how a shareable collection looks in 4theFile
4thefiledemo
9
2010-06-02 14:23:20
1
3
https://4thefile.com/api_v1/collections/ESuVkqZF/resources.xml
ApplicationZ demo collection
nV4wRRrx
2010-06-02 15:02:00
This is a demo of a 4theFile collection as described
in the 4theFile Integration Center http://4theFile.com/pages/integration/
applicationz
9
2010-06-02 15:11:22
1
2
https://4thefile.com/api_v1/collections/nV4wRRrx/resources.xml
...etc...
* example json response (reformatted for easier viewing)
{"collections":
[{"resources_link":"https:\/\/4thefile.com\/api_v1\/collections\/ESuVkqZF\/resources.json",
"collectionkey":"ESuVkqZF",
"description":"Used to demo how a shareable collection looks in 4theFile",
"collection_name":"4theFile demo",
"modified":"2010-06-02 14:23:20",
"resource_count":3,
"created":"2010-06-02 14:01:45",
"email":"4thefiledemo",
"moderated":9,
"privacy":1},
{"resources_link":"https:"
// ... etc...
,"privacy":1}],
"collection_count":5}
* field descriptions:
* email: the email address for collection submissions (@4thefile.com)
* moderated: 1=none,3=retro-moderation(collection owner is notified of new submissions),5=moderated(resource hidden until collection owner approves, not currently supported),9=closed(no more submissions)
* privacy: 1=shareable, 5=private(anyone can submit but only owner can list collection contents)