Skip to main content

Get Doc Content API

MethodAPIDescription
GET/{context}/{docId}/content?version=xx Get the document content specified by docId and version
ParameterRequiredLocationDescriptionTypeDefault Value
docIdYesPathSpecifies the file ID. Note that the file ID cannot contain colon ':'string
versionNoQueryFile version, if not filled, it is the latest versionstring

Examples: Get http://172.16.52.223/v2/context/123/content Get http://172.16.52.223/v2/context/123/content?version=asrt0yh3wekdh

Returns a downloadable file. It's best to enter the corresponding request address in the browser's webpage to see if you can download a correct file.

Note

The http response header should not have Content-Encoding: gzip.