List all renditions associated with a file

GET {{baseUrl}}/instances/file/:type/:id/contents?page=61627017&items-per-page=61627017&include-total=minim ut aliqua&filter=minim ut aliqua&sortby=minim ut aliqua

Returns all the renditions associated with a 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 renditions. For e.g. ?filter = name like '%de%'
sortbystringSort by field/attribute names. Default sort order is descending and multiple sort condition should be separated by comma.

Attribute name(refer response schema) containing underscore should be converted to camel case.

Pass 'asc/desc' text after the value to change the sort order. e.g., to sort by 'blob_id' and 'name' attribute in ascending order use ?sortby=blobId 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":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"previous":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"first":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"last":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}