Deleted Assets

Use this request to get information about assets that have been deleted.

Note: For more information about Backlot REST API commands, see the Backlot API Reference.

In the response, assets are listed in order of deletion date (deleted_at property), so that most recently deleted assets are first.

Results are grouped 500 assets per page. Use the next_page value at the end of each response to retrieve the next set of 500 assets. See example below.

List All Deleted Assets

[GET]/v2/deleted_assets

Examples

This example returns information about all deleted assets, ordered by most recently deleted:

[GET]/v2/deleted_assets

Backlot returns a response similar to the following:

{  
   "items":[  
      {  
         "description":null,
         "name":"Bogus",
         "embed_code":"FpY3Q0NalexlangerulescClLUSeTVkeSnfS",
         "provider_id":"47xxx4",
         "created_at":"2012-11-21T16:53:42Z",
         "deleted_at":"2012-12-12T21:41:47Z",
         "duration":"0",
         "asset_type":"ad"
      },
      {  
         "description":"",
         "name":"bleebleblobble 2.mov",
         "embed_code":"xkdG43NjrlM92YJ1HredezaqiWQ3SZpO5da7",
         "provider_id":"47xxx4",
         "created_at":"2012-10-16T16:15:17Z",
         "deleted_at":"2012-11-16T20:00:48Z",
         "duration":"5038",
         "asset_type":"ad"
      },
      {  
         "description":"description",
         "name":"bleebleblobble.mov",
         "embed_code":"tyZnc0NjrAq_ZsvJEqesedsIQxAAlvccE35m",
         "provider_id":"47xxx4",
         "created_at":"2012-10-10T15:33:01Z",
         "deleted_at":"2012-10-10T15:33:42Z",
         "duration":"0",
         "asset_type":"video"
      }
   ]   "next_page":"/v2/assets?limit=2&page_token=1314306109%3B1saGRyMjoOgjkUSjod_1TQINs_HOQnoU"
}
Note:

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.

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