Gets a list of all attachments to an ODA instance

GET {{baseUrl}}/odaInstances/:odaInstanceId/attachments?limit=100&sortOrder=DESC

Returns a list of ODA instance attachments

Request Params

KeyDatatypeRequiredDescription
includeOwnerMetadatabooleanWhether to send attachment owner info during get/list call.
limitnumberThe maximum number of items to return per page.
pagestringThe page at which to start retrieving results.

You get this value from the opc-next-page header in a previous list request. To retireve the first page, omit this query parameter.

Example: MToxMA== | | lifecycleState | string | | List only the ODA instance attachments that are in this lifecycle state. | | sortOrder | string | | Sort the results in this order, use either ASC (ascending) or DESC (descending). | | sortBy | string | | Sort on this field. You can specify one sort order only. The default sort field is TIMECREATED. The default sort order for TIMECREATED is descending. |

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing. This value is included in the opc-request-id response header.
Acceptstring

RESPONSES

status: OK

{"items":[{"id":"proident sit minim","instanceId":"aute esse","attachToId":"laborum adipisicing pariatur Ut consectetur","attachmentType":"FUSION","lifecycleState":"quis minim labore officia","attachmentMetadata":"Ut in labo","definedTags":{"exercitation_7b":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"occaecat_4f4":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"freeformTags":{"minim_6":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ut__95":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"adipisicing82b":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dolor63":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"owner":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"restrictedOperations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"timeCreated":"1976-02-16T06:10:32.517Z","timeLastUpdate":"1986-02-10T17:58:42.197Z"},{"id":"in esse et","instanceId":"sed elit eiusmod","attachToId":"sit ex Lorem","attachmentType":"FUSION","lifecycleState":"anim","attachmentMetadata":"nulla deserunt","definedTags":{"dolord":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"freeformTags":{"in_6_c":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"amet_31":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"elit__cb":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"owner":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"restrictedOperations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"timeCreated":"1972-07-20T00:56:47.891Z","timeLastUpdate":"2001-03-10T16:46:19.170Z"}]}