Gets a list of all MediaAssetSummary in a compartment.
GET {{baseUrl}}/mediaAssets?compartmentId={{compartment_ocid}}
Returns a list of MediaAssetSummary.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | The ID of the compartment in which to list resources. | |
displayName | string | A filter to return only the resources that match the entire display name given. | |
limit | number | The maximum number of items to return. | |
page | null | A token representing the position at which to start retrieving results. This must come from the | |
opc-next-page header field of a previous response. | |||
lifecycleState | string | A filter to return only the resources with lifecycleState matching the given lifecycleState. | |
sortOrder | string | The sort order to use, either 'ASC' or 'DESC'. | |
sortBy | string | The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. | |
distributionChannelId | string | Unique DistributionChannel identifier. | |
parentMediaAssetId | string | Unique MediaAsset identifier of the asset from which this asset is derived. | |
masterMediaAssetId | string | Unique MediaAsset identifier of the first asset upload. | |
type | string | Filter MediaAsset by the asset type. | |
bucketName | string | Filter MediaAsset by the bucket where the object is stored. | |
objectName | string | Filter MediaAsset by the name of the object in object storage. | |
mediaWorkflowJobId | string | The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied. | |
sourceMediaWorkflowId | string | The ID of the MediaWorkflow used to produce this asset. | |
sourceMediaWorkflowVersion | number | The version of the MediaWorkflow used to produce this asset. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
Accept | string |
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"}]}