Editing Asset Information: PATCH

To change an asset's information, use PATCH /v2/assets/asset_id.

To edit asset information:

Use the PATCH method with the /v2/assets route, with the properties to be changed in the request body. The following example changes the name, hosted at URL, and description of an asset.
Note: Properties in the body of the PATCH vary by asset type.
   "name":"My Awesome Video",
   "description":"The next Internet meme."

Backlot returns a response similar to the following.

   "name":"My Awesome Video",
   "description":"The next Internet meme.",

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

The asset's information is successfully changed.

Was this article helpful?