The 4theFile API
- Perl Client Library reference implementation
The 4theFile API
GET /resources/:resourcekey.format returns the details for resource :resourcekey.
curl -u user:apikey https://4thefile.com/api_v1/resources/zdV2nhbL.xml
<?xml version="1.0" encoding="UTF-8"?> <data> <collection_api_link>https://4thefile.com/api_v1/collections/ESuVkqZF.xml</collection_api_link> <collection_date>2010-06-02 14:18:20</collection_date> <collection_name>4theFile demo</collection_name> <collectionkey>ESuVkqZF</collectionkey> <counter>39</counter> <created>2010-06-02 14:18:20</created> <from_email>joe blow <jblow@purplewire.com></from_email> <message_from>joe blow <▆▆▆▆▆purplewire.com></message_from> <modified>2010-11-04 17:11:18</modified> <own>1</own> <resource_https_url>https://4theFile.com/zdV2nhbL</resource_https_url> <resource_url>http://4theFile.com/zdV2nhbL</resource_url> <resourcekey>zdV2nhbL</resourcekey> <retention>0</retention> <size>877</size> <subject>submissions are closed for this collection!</subject> <tags>newtag</tags> </data>