Get all aspects of an asset
GET {{baseUrl}}/assets/:id/aspects?page=<integer>&size=<integer>&sort=<string>&filter=<string>&includeShared=false
Get all static and dynamic aspects of a given asset
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. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-None-Match | string | ETag hash of previous request to allow caching | |
Accept | string |
RESPONSES
status: OK
{"_embedded":{"aspects":[{"name":"engine","aspectTypeId":"tenant.asp.engine","holderAssetId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"aspectId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"category":"dynamic","description":"The engine of the Millenium Falcon","variables":[{"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":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":"engine","aspectTypeId":"tenant.asp.engine","holderAssetId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"aspectId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"category":"dynamic","description":"The engine of the Millenium Falcon","variables":[{"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":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"page":{"size":-78358514,"totalElements":-71422786,"totalPages":-55507345,"number":-66375866},"_links":{"self":{"href":"consectetur Lorem"},"first":{"href":"ex consectetur ullamco non"},"prev":{"href":"mollit incididunt in nostrud"},"next":{"href":"sed in pariatur"},"last":{"href":"esse"}}}