Gets a list of all MediaAssetSummary in a compartment.

GET {{baseUrl}}/mediaAssets?compartmentId={{compartment_ocid}}

Returns a list of MediaAssetSummary.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstringThe ID of the compartment in which to list resources.
displayNamestringA filter to return only the resources that match the entire display name given.
limitnumberThe maximum number of items to return.
pagenullA token representing the position at which to start retrieving results. This must come from the
opc-next-page header field of a previous response.
lifecycleStatestringA filter to return only the resources with lifecycleState matching the given lifecycleState.
sortOrderstringThe sort order to use, either 'ASC' or 'DESC'.
sortBystringThe field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
distributionChannelIdstringUnique DistributionChannel identifier.
parentMediaAssetIdstringUnique MediaAsset identifier of the asset from which this asset is derived.
masterMediaAssetIdstringUnique MediaAsset identifier of the first asset upload.
typestringFilter MediaAsset by the asset type.
bucketNamestringFilter MediaAsset by the bucket where the object is stored.
objectNamestringFilter MediaAsset by the name of the object in object storage.
mediaWorkflowJobIdstringThe ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
sourceMediaWorkflowIdstringThe ID of the MediaWorkflow used to produce this asset.
sourceMediaWorkflowVersionnumberThe version of the MediaWorkflow used to produce this asset.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
Acceptstring

RESPONSES

status: OK

{"items":[{"id":"eu","compartmentId":"Lorem laborum exercitation sed","type":"CAPTION_FILE","lifecycleState":"DELETING","definedTags":{"minim49":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"est_bef":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"displayName":"aute tempor sed","freeformTags":{"ullamco_75b":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id3f8":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ut_a":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"masterMediaAssetId":"nulla","parentMediaAssetId":"irure magna pariatur","systemTags":{"minim1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cupidatat_2f5":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tempora":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"qui51":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"quis_66":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"timeCreated":"2005-05-01T07:53:02.498Z","timeUpdated":"1991-02-10T20:59:54.995Z"},{"id":"Lorem dolor consequat et","compartmentId":"cupidatat non","type":"PLAYLIST","lifecycleState":"DELETING","definedTags":{"cillum001":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"displayName":"est sed","freeformTags":{"quis_d":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"masterMediaAssetId":"Ut ea in","parentMediaAssetId":"qui ","systemTags":{"Ut_d":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"pariatur_4":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"timeCreated":"2012-11-30T02:15:35.582Z","timeUpdated":"1986-08-07T21:49:03.000Z"}]}