Get metadata of uploaded files.
GET {{baseUrl}}/files?page=<integer>&size=<integer>&sort=<string>&filter=<string>
Returns all visible file metadata for the tenant. Will NOT return the files.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | string | Specifies the requested page index | |
size | string | Specifies the number of elements in a page (default size is 10) | |
sort | string | Specifies the ordering of returned elements | |
filter | string | Specifies the additional filtering criteria |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-None-Match | string | ETag hash of previous request to allow caching | |
Accept | string |
RESPONSES
status: OK
{"_embedded":{"files":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":"logo","originalFileName":"logo_small.png","description":"Company logo","tenantId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subTenant":"UnkarPlutt Inc.","uploaded":"2005-12-23T18:48:52.237Z","lastModified":"1953-02-21T11:35:27.037Z","isAssigned":false,"scope":"private","etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"download":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":"logo","originalFileName":"logo_small.png","description":"Company logo","tenantId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subTenant":"UnkarPlutt Inc.","uploaded":"1957-04-30T01:21:13.497Z","lastModified":"2008-12-07T02:48:59.661Z","isAssigned":false,"scope":"private","etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"download":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}]},"page":{"size":90091075,"totalElements":91589240,"totalPages":-53199740,"number":-5177338},"_links":{"self":{"href":"dolore aute quis"},"first":{"href":"exercitation nisi cillum"},"prev":{"href":"quis sit aliquip anim"},"next":{"href":"incididunt minim laboris laborum"},"last":{"href":"quis dolor officia sunt"}}}