Viewing Access Keys

You can view the access keys associated with a syndication.

To view the access keys associated with a syndication:

  1. Get the ID of the syndication. The following example gets syndication IDs.
    [GET]/v2/syndications

    Backlot returns a response similar to the following.

    {  
       "items":[  
          {  
             "name":"my youtube syndication",
             "created_at":"2011-08-10T21:13:29+00:00",
             "require_access_key":false,
             "include_labels":[  
    
             ],
             "should_create_youtube_videos":true,
             "asset_types":[  
                "video",
                "ad"
             ],
             "username":"",
             "id":"9a6e1dcba36c452d95",
             "include_all_content":false,
             "type":"youtube",
             "unrestricted_youtube_account":false,
             "should_delete_youtube_videos":true
          },
          {  
             "include_encodings":[  
    
             ],
             "name":"my iTunes syndication",
             "created_at":"2011-08-10T20:11:56+00:00",
             "require_access_key":true,
             "category":"",
             "title":"",
             "include_labels":[  
    
             ],
             "author":"",
             "asset_types":[  
                "video",
                "ad"
             ],
             "syndication_url":"http://api.ooyala.com/v2/syndications/b839b27a4e844a5c9/feed?pcode=Y4cG06BlqYMLIjPGyv1NbacSK-x3",
             "subtitle":"",
             "id":"b839b27a4e844a5c9",
             "include_all_content":false,
             "type":"itunes",
             "description":"",
             "keywords":""
          }
       ]
    }
    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.
  2. View all access keys associated with the syndication. The following example gets syndication IDs.
    [GET]/v2/syndications/b839b27a4e844a5c9/access_keys
    Backlot returns a response similar to the following:
    {  
       "name":"My access key",
       "access_key":"12345678-abcd-abcd-12ab-12345678"
    }

Was this article helpful?