File Revisions
Update a file revision
Changed onRecords what changed in a draft and whether the change is material or non-material. This does not replace the document or publish the draft.
put/files/{fileId}/revisions/{revisionId}
Request
- Base URLhttps://public-api.process.st/api/v1.1
- URLhttps://public-api.process.st/api/v1.1/files/{fileId}/revisions/{revisionId}
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
fileIdstring required
File ID
revisionIdstring required
The ID of the Revision
Request body
Response
Example response
{
"data": {
"id": "jkBnUsJVEmABoZxtcCRyeQ",
"createdBy": {
"id": "paiZa0_oyxEBoZxtatp33g",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"updatedBy": {
"id": "paiZa0_oyxEBoZxtatp33g",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
}Changes
- info
endpoint added
- info