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

KeyDatatypeRequiredDescription
pagenumberThe page number required
items-per-pagenumberNumber of items per page
include-totalstringwhether to include total number of results in response or not
filterstringFilter the list of items
sortbystringSort 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

KeyDatatypeRequiredDescription
Acceptstring

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"}}}}