This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4thefile_api_reference [2010/11/08 21:56] – jay | 4thefile_api_reference [2011/01/04 22:19] (current) – jay | ||
---|---|---|---|
Line 19: | Line 19: | ||
GET https:// | GET https:// | ||
- | * Each request must be authenticated with your username and apiKey (used as the Basic auth password). Most http clients and client libraries have support for Basic auth, so you don't need to be concerned with the details of the HTTP headers. For example, when using the Curl command line client you only need to add the -u option //curl -u user: | + | * Each request must be authenticated with your username and apiKey (used as the Basic auth password). If you don't have an apiKey yet, please [[tech_support_contacts | contact our support team]]. Most http clients and client libraries have support for Basic auth, so you don't need to be concerned with the details of the HTTP headers. For example, when using the Curl command line client you only need to add the -u option //curl -u user: |
* If your request is successful, you'll receive an HTTP " | * If your request is successful, you'll receive an HTTP " | ||
Line 58: | Line 58: | ||
* page (optional, default 1) | * page (optional, default 1) | ||
* tag (optional - only Resources with matching tag will be returned. the special tag " | * tag (optional - only Resources with matching tag will be returned. the special tag " | ||
+ | * cdate (optional - only resources with collection_id or tags modified since cdate will be returned. cdate must be in yyyy-mm-dd or " | ||
* [[get_collection_resources | details and example]] | * [[get_collection_resources | details and example]] | ||
Line 74: | Line 75: | ||
* [[get_resource_details | details and example]] | * [[get_resource_details | details and example]] | ||
+ | ==== / | ||
+ | |||
+ | GET / | ||
+ | :resource, plus some meta data. this could be useful in a specialized collection where, for example, the 1st attachment is known to always include a scanned image of a purchase receipt. | ||
+ | * response formats supported: .xml, .json | ||
+ | * [[resource_attachment_list | details and example]] | ||
==== / | ==== / |