Update file revision metadata
A request to update a file revision metadata (title).
PUT /api/v1/files/{fileId}/revisions/{revId}
- Path parameters
| Parameter | Description |
|---|---|
fileId | Id of a file |
revId | Id of a revision |
- Request fields
| Path | Type | Description |
|---|---|---|
title | String | Revision title. |
- 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"
}'
- Example response
HTTP/1.1 204 No Content
X-co-request-id: 724f587549533266634a776333557731