List all versions of the file
GET {{baseUrl}}/instances/file/:type/:id/versions?page=61627017&items-per-page=61627017&include-total=minim ut aliqua&filter=minim ut aliqua&sortby=minim ut aliqua
Returns all the versions of file
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | number | The page number required | |
items-per-page | number | Number of items per page | |
include-total | string | whether to include total number of results in response or not | |
filter | string | Filter the list of items | |
sortby | string | Sort by field/attribute names. Default sort order is descending and multiple sort condition should be separated by comma. |
Pass 'asc/desc' text after the value to change the sort order. e.g., to sort by 'content_size' and 'name' attribute in ascending order use ?sortby=content_size asc, name asc
Note: Not all attributes support sort. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"_embedded":{"collection":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"_links":{"next":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"previous":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"first":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"last":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}