View File Annotations
get
/primeapi/restapi/document/file/{id}/version/{ver}/annotations
This endpoint returns the annotations of a versioned file that meet the following requirements:
- The object has an ID that matches the value of the {id} path parameter.
- The object is versioned and has a version that matches the value of the {ver} path parameter.
Request
Path Parameters
-
id: integer(int64)
The system-generated identifier of a file.
-
ver: integer(int64)
A version of a file.
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityAnnotation
Type:
Show Source
object
-
annotationDate(optional):
object TimezoneSensitiveDateTime
-
annotationId(optional):
integer(int64)
The system-generated identifier of an annotation.
-
annotations(optional):
object annotations
Additional Properties Allowed: additionalPropertiesThe annotations of the document.
-
annotionString(optional):
string
A document annotation.
-
link(optional):
string(url)
Read Only:
true
-
name(optional):
string
The name of an annotation.
-
ownerId(optional):
integer(int64)
The system-generated identifier of the user that authored the annotation.
-
pageNum(optional):
integer(int64)
The page number an annotation is associated with.
-
ucrObjectId(optional):
string
The system-generated identifier of a document.
-
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 label associated with the annotation.
Nested Schema : annotations
Type:
object
Additional Properties Allowed
Show Source
The annotations of the document.
Nested Schema : additionalProperties
Type:
object
204 Response
Successful operation with no content.
404 Response
The requested file does not exist, or you do not have access to it.