File Revisions
Get a file revision
Changed onReturns a version of a file, including a link to download its document. If the download link expires, get the revision again for a new link. You need edit access to view a draft.
get/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
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
added the optional property
/to the response with the status - info
added the required property
/to the response with the status
- info
- info
endpoint added
- info