![]() |
API Documentation
|
where {itemId} is the ID of a file object/Secure Object.
GET - retrieves a list of information associated with the versions of a file object/Secure Object (specified by itemId).This API endpoint retrieves a list of information associated with the versions of a file object (specified by itemId).
This API endpoint supports requests utilizing Cocoon Data user accounts with the following roles (as described in the Organisation Administrator's Guide) and conditions:
{itemId} in the request's URL.{itemId} in the URL. (The Rename permission restricts access to collaborators who have been applied either the Modify or Manage permission set on this file object.)The Cocoon Data Platform's resources available to a Cocoon Data user meeting the criteria above is determined by the access token submitted in the header of requests to this endpoint.
The appropriate access token as the Bearer token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...The following optional parameters can also be sent in the URL of the request:
0 to 100, representing the maximum number of items to be returned in the response from the Cocoon Data Platform, where an individual item is information about a file object within the organisation. If this parameter is 0, then no limit is imposed. If this parameter is omitted, then its value is 25 by default. 0 (i.e. the first item returned in a response). If this parameter is omitted, then its value is 0 by default. ASC for this parameter) or descending order (by specifying the value DESC). If this parameter is omitted, then its value is DESC by default. created - the date when the file version was created, createdBy - the email address of the owner or collaborator who created the file's version, contentSize - the size (in bytes) of the file version's unencrypted data (as recorded by the Cocoon Data Platform's Access Service). alex.originator@xy-company.com): If the request succeeded, then an HTTP response status 200 OK is returned.
For successful requests only, a JSON-formatted response containing the following members is also returned: