Difference between revisions of "REST API:document Resource"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
m (Text replace - '<tt><nowiki>https://{domain}/networking' to '<tt>{{platformURL}}')
Line 8: Line 8:
;Method:GET
;Method:GET
   
   
;URI:<tt><nowiki>https://{domain}/networking/rest/document/{documentId}</nowiki></tt>
;URI:<tt>{{platformURL}}/rest/document/{documentId}</nowiki></tt>


;Response:
;Response:

Revision as of 20:57, 30 March 2012

Access stored Documents using the REST API.

Learn more: REST API Conventions and Considerations.

Get a Document

Access a stored document.

Method
GET
URI
https://{yourDomain}/networking/rest/document/{documentId}</nowiki>
Response
  • If the URL references an image, or some other file type the browser knows how to handle, it is displayed.
  • If it is a document, the browser initiates a download.