Creating an Asset with an External ID

Note: For more information about Backlot REST API commands, see the Backlot API Reference.
Use POST with the /v2/assets route and be sure to include the external_id property in the request body.
Note: Do not create a null external_id, that is, an external_id with no value ("") or a value of "null". Such null external IDs cannot be searched for later.

The following example creates the "My Video" video.

   "name":"My Video",

Backlot returns a response similar to the following.

   "name":"My Video",

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.

해당 내용이 도움 되었습니까?