Update the MediaAsset identified by the ID.

PUT {{baseUrl}}/mediaAssets/:mediaAssetId

Updates the MediaAsset.

Request Body

{"displayName"=>"Excepteur adipisicing tempor proident", "freeformTags"=>{"do_4"=>"cillum aliqua"}, "masterMediaAssetId"=>"amet cupid", "mediaAssetTags"=>[{"value"=>"exercitation nostrud", "type"=>"USER"}, {"value"=>"in aliquip velit do", "type"=>"SYSTEM"}], "metadata"=>[{"metadata"=>"cillum ullamco pariatur aliquip"}, {"metadata"=>"ut minim"}], "parentMediaAssetId"=>"consequat", "type"=>"CAPTION_FILE"}

HEADERS

KeyDatatypeRequiredDescription
if-matchstringFor optimistic concurrency control. In the PUT or DELETE call
for a resource, set the if-match parameter to the value of the
etag from a previous GET or POST response for that resource.
The resource will be updated or deleted only if the etag you
provide matches the resource's current etag value.
opc-request-idstringThe client request ID for tracing.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"laborum et deserunt Excepteur","compartmentId":"culpa tempor","lifecycleState":"DELETED","type":"CAPTION_FILE","bucketName":"dolor elit amet cupidatat","definedTags":{"irure__":{"in38":{},"dolore_0b1":{},"magna_21a":{},"reprehenderit_b6":{}},"in3":{"magna_f6c":{},"non_25":{}}},"displayName":"id dolore laboris amet Duis","freeformTags":{"laborum_da":"cupidatat cillum labore incididunt"},"masterMediaAssetId":"officia aliquip aliqua","mediaAssetTags":[{"value":"qui anim ","type":"USER"},{"value":"commodo incididunt consectetur labore","type":"USER"}],"mediaWorkflowJobId":"amet Duis tempor aliqua","metadata":[{"metadata":"aliquip esse non ex in"},{"metadata":"sit quis voluptate labore"}],"namespaceName":"proident labore","objectEtag":"labore exercitation ut in","objectName":"exercitation velit eu","parentMediaAssetId":"enim","segmentRangeEndIndex":-52711642,"segmentRangeStartIndex":91678816,"sourceMediaWorkflowId":"ut culpa sit","sourceMediaWorkflowVersion":-4008438,"systemTags":{"id7":{"velit__6":{}},"ea_1":{"ipsum9":{},"cillum1":{}},"qui_0":{"quis_c34":{},"reprehenderit__26":{},"nisid5c":{}}},"timeCreated":"2018-12-31T06:05:34.851Z","timeUpdated":"2010-04-11T06:34:50.482Z"}