Skip to main content

Update file revision metadata

A request to update a file revision metadata (title).

PUT /api/v1/files/{fileId}/revisions/{revId}
  1. Path parameters
ParameterDescription
fileIdId of a file
revIdId of a revision
  1. Request fields
PathTypeDescription
titleStringRevision title.
  1. Example request
curl 'http://localhost:8080/api/v1/files/189330065/revisions/189330375' -i \
-X PUT \
-H 'Content-Type: application/json' \
-H 'X-co-auth-token: cbf316901c9a49943ece503adf21cbc1' \
-d '{
"title" : "simpleTitle"
}'
  1. Example response
HTTP/1.1 204 No Content
X-co-request-id: 724f587549533266634a776333557731