Difference between revisions of "REST API:document Resource"

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


;Response:
;Response:

Revision as of 22:07, 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}
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.