View all File Versions
get
/api/restapi/document/file/{id}/version
Send a request to this endpoint to view versions of a file with file ID given as a {id} path parameter.
Request
Path Parameters
-
id(required): integer(int64)
The system-generated identifier of a file.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : List<ApiEntityFileVersion>
Type:
array
Title:
Show Source
List<ApiEntityFileVersion>
-
Array of:
object ApiEntityFileVersion
Title:
ApiEntityFileVersion
Nested Schema : ApiEntityFileVersion
Type:
object
Title:
Show Source
ApiEntityFileVersion
-
comments: string
Maximum Length:
4000
A comment associated with a file version. -
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
size: integer
(int64)
The size of a file in bytes.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated. -
version: string
Maximum Length:
255
The version of a file.
204 Response
Successful operation with no content.
404 Response
The requested file does not exist, or you do not have access to it.