User Tools

Site Tools


get_resource_details

GET /resources/:resourcekey.format

GET /resources/:resourcekey.format returns the details for resource :resourcekey.

  • response formats supported: .xml, .json
  • query parameters: none
  • Curl command line:
    curl -u user:apikey https://4thefile.com/api_v1/resources/zdV2nhbL.xml
  • example xml response:
<?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 &lt;jblow@purplewire.com&gt;</from_email>
  <message_from>joe blow &lt;▆▆▆▆▆purplewire.com&gt;</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>
get_resource_details.txt · Last modified: 2010/11/05 15:27 by jay