User Tools

Site Tools


get_collections

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

get_collections [2010/11/05 16:34]
jay
get_collections [2010/11/08 23:37] (current)
jay
Line 12: Line 12:
   <collection_count>5</collection_count>   <collection_count>5</collection_count>
   <collections>   <collections>
-    <collection_api_link>https://4thefile.com/api_v1/collections/ESuVkqZF.xml</collection_api_link> 
     <collection_name>4theFile demo</collection_name>     <collection_name>4theFile demo</collection_name>
     <collectionkey>ESuVkqZF</collectionkey>     <collectionkey>ESuVkqZF</collectionkey>
Line 22: Line 21:
     <privacy>1</privacy>     <privacy>1</privacy>
     <resource_count>3</resource_count>     <resource_count>3</resource_count>
 +    <resources_link>https://4thefile.com/api_v1/collections/ESuVkqZF/resources.xml</resources_link>
   </collections>   </collections>
   <collections>   <collections>
-    <collection_api_link>https://4thefile.com/api_v1/collections/nV4wRRrx.xml</collection_api_link> 
     <collection_name>ApplicationZ demo collection</collection_name>     <collection_name>ApplicationZ demo collection</collection_name>
     <collectionkey>nV4wRRrx</collectionkey>     <collectionkey>nV4wRRrx</collectionkey>
Line 35: Line 34:
     <privacy>1</privacy>     <privacy>1</privacy>
     <resource_count>2</resource_count>     <resource_count>2</resource_count>
 +    <resources_link>https://4thefile.com/api_v1/collections/nV4wRRrx/resources.xml</resources_link>
   </collections>   </collections>
 ...etc... ...etc...
Line 40: Line 40:
  
 </code> </code>
-  * example json (formatted for easier viewing) +  * example json response (reformatted for easier viewing) 
-<code json>+<code javascript>
 {"collections": {"collections":
- [{"collection_api_link":"https:\/\/4thefile.com\/api_v1\/collections\/ESuVkqZF.json",+ [{"resources_link":"https:\/\/4thefile.com\/api_v1\/collections\/ESuVkqZF\/resources.json",
  "collectionkey":"ESuVkqZF",  "collectionkey":"ESuVkqZF",
  "description":"Used to demo how a shareable collection looks in 4theFile",  "description":"Used to demo how a shareable collection looks in 4theFile",
Line 53: Line 53:
  "moderated":9,  "moderated":9,
  "privacy":1},  "privacy":1},
- {"collection_api_link":"https: + {"resources_link":"https:" 
-   ... etc...+   // ... etc...
  ,"privacy":1}],  ,"privacy":1}],
 "collection_count":5} "collection_count":5}
get_collections.1288974880.txt.gz · Last modified: 2010/11/05 16:34 by jay