List all available assets
GET {{baseUrl}}/assets?page=<integer>&size=<integer>&sort=<string>&filter=<string>&includeShared=false&basicFieldsOnly=false
List all assets available for the authenticated user. ## Filter Supports all basic fields and the 'hasType' filter which search for the assets with type that originated from the given asset type. # Examples Example: This filter searches for assets which type is exactly the given type: { "typeId": "mandal.ship" }
Beyond the basic fields we can search for assets which type is inherited from the given type: { "hasType": "mandal.ship" }
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 | |
includeShared | boolean | Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing. | |
basicFieldsOnly | boolean | Specifies if the assets should include all of it's inherited variables and aspects from assettype and aspecttype. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-None-Match | string | ETag hash of previous request to allow caching | |
Accept | string |
RESPONSES
status: OK
{"_embedded":{"assets":[{"tenantId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subTenant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"t2Tenant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"assetId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fileAssignments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locks":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"deleted":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"twinType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sharing":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"tenantId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subTenant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"t2Tenant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"assetId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fileAssignments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locks":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"deleted":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"twinType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sharing":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"page":{"size":33914478,"totalElements":-82453944,"totalPages":46878716,"number":-71880483},"_links":{"self":{"href":"anim incididunt"},"first":{"href":"ullamco aliquip"},"prev":{"href":"labore"},"next":{"href":"enim ut in"},"last":{"href":"in adipisicing ea"}}}