Creates a new MediaAsset
POST {{baseUrl}}/mediaAssets
Creates a new MediaAsset.
Request Body
{"type"=>"AUDIO", "compartmentId"=>"{{compartment_ocid}}", "bucketName"=>"ea eiusmod", "displayName"=>"voluptate m", "freeformTags"=>{"adipisicing_e6a"=>"ea"}, "masterMediaAssetId"=>"laboris Lorem do velit", "mediaAssetTags"=>[{"value"=>"pariatur ", "type"=>"SYSTEM"}, {"value"=>"irure", "type"=>"SYSTEM"}], "mediaWorkflowJobId"=>"culpa Ut dolore", "metadata"=>[{"metadata"=>"in do nulla dolore magna"}, {"metadata"=>"sint eiusmod cupidatat est ea"}], "namespaceName"=>"anim officia in mollit", "objectEtag"=>"Lo", "objectName"=>"officia adipisicing veniam sint", "parentMediaAssetId"=>"dolor laborum", "segmentRangeEndIndex"=>25124291, "segmentRangeStartIndex"=>15656309, "sourceMediaWorkflowId"=>"id esse n", "sourceMediaWorkflowVersion"=>91001080}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without the risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
opc-request-id | string | The client request ID for tracing. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"oc","compartmentId":"amet nisi esse labore","lifecycleState":"UPDATING","type":"IMAGE","bucketName":"ullamco nisi eiusmod dolor","definedTags":{"est_85":{"adipisicing272":{},"ex0":{}}},"displayName":"dolor qui mollit exercitation Duis","freeformTags":{"sitbe1":"nulla","incididunt_5":"id ex velit"},"masterMediaAssetId":"adipisicing proident nulla eiusmod","mediaAssetTags":[{"value":"sed enim sunt ipsum nulla","type":"SYSTEM"},{"value":"amet ipsum elit","type":"SYSTEM"}],"mediaWorkflowJobId":"elit labore magna","metadata":[{"metadata":"aliquip dolore non est"},{"metadata":"laboris dolore ea"}],"namespaceName":"dolor Lorem ad","objectEtag":"est in mollit ut","objectName":"dolore Lorem adipisicing","parentMediaAssetId":"cupidatat dolore sint ad","segmentRangeEndIndex":-19752148,"segmentRangeStartIndex":36193083,"sourceMediaWorkflowId":"quis si","sourceMediaWorkflowVersion":32849432,"systemTags":{"fugiat65":{"eiusmod111":{},"veniam_174":{}}},"timeCreated":"2022-07-02T23:35:24.378Z","timeUpdated":"2010-10-26T18:37:04.157Z"}