View File Versions
get
/primeapi/restapi/document/file/{id}/version
This endpoint returns versions of files that meet the following requirements:
- The object has an ID that matches the value of the {id} path parameter.
Request
Path Parameters
-
id: integer(int64)
A version of a file.
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityFileVersion
Type:
Show Source
object
-
comments(optional):
string
A comment associated with a document version.
-
link(optional):
string(url)
Read Only:
true
-
size(optional):
integer(int64)
The size of a document in bytes.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
version(optional):
string
The version of a document.
204 Response
Successful operation with no content.
404 Response
The requested file does not exist, or you do not have access to it.