The 4theFile API
- Perl Client Library reference implementation
The 4theFile API
This is an old revision of the document!
returns the list of collections owned by you.
curl -u jay:apikey http://4thefile.com/api_v1/collections.xml
<?xml version="1.0" encoding="UTF-8"?> <data> <collection_count>5</collection_count> <collections> <collection_api_link>http://4thefile.com/api_v1/collections/ESuVkqZF.xml</collection_api_link> <collection_name>4theFile demo</collection_name> <collectionkey>ESuVkqZF</collectionkey> <created>2010-06-02 14:01:45</created> <description>Used to demo how a shareable collection looks in 4theFile</description> <email>4thefiledemo</email> <moderated>9</moderated> <modified>2010-06-02 14:23:20</modified> <privacy>1</privacy> <resource_count>3</resource_count> </collections> <collections> <collection_api_link>http://4thefile.com/api_v1/collections/nV4wRRrx.xml</collection_api_link> <collection_name>ApplicationZ demo collection</collection_name> <collectionkey>nV4wRRrx</collectionkey> <created>2010-06-02 15:02:00</created> <description>This is a demo of a 4theFile collection as described in the 4theFile Integration Center http://4theFile.com/pages/integration/</description> <email>applicationz</email> <moderated>9</moderated> <modified>2010-06-02 15:11:22</modified> <privacy>1</privacy> <resource_count>2</resource_count> </collections> ...etc... </data>