Get Doc Content API
| Method | API | Description |
|---|---|---|
| GET | /{context}/{docId}/content?version=xx | Get the document content specified by docId and version |
| Parameter | Required | Location | Description | Type | Default Value |
|---|---|---|---|---|---|
| docId | Yes | Path | Specifies the file ID. Note that the file ID cannot contain colon ':' | string | |
| version | No | Query | File version, if not filled, it is the latest version | string |
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.