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",
Note: Try out the code samples using your account credentials in the Ooyala Scratchpad. To launch the Scratchpad, go to Ooyala API Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad.