Skip to main content

Get revision content

A request to get revision content.

POST /api/v1/files/{fileId}/revisions/{revId}/content
  1. Path parameters
ParameterDescription
fileIdId of a file
revIdId of a revision
  1. Example request
curl 'http://localhost:8080/api/v1/files/189345396/revisions/189345704/content' -i -X GET \
-H 'X-co-auth-token: e9a17b0f2bd8885ea0898a3e0dc8d2d5'
  1. Example response
HTTP/1.1 200 OK
X-co-request-id: 665344356e313159593662466737384b
Content-Type: text/plain
Content-Length: 20
[ some example content ]