Turn on Access Keys

You can turn on access keys for a syndication's MRSS feed.

To turn on access keys for a syndication:

Use a PATCH request to set "require_access_key" to "true" for the desired syndication. The following example turns on access keys for the syndication with the 6b6e72dd71bd4fasyndication ID.
[PATCH]/v2/syndications/6b6e72dd71bd4fa{  
   "require_access_key":true
}
If "require_access_key" is set to true, navigating to the feed's syndication_url will no longer work. To access the feed, an "access_key=..." query string parameter must be added to the syndication_url, e.g.:
http://api.ooyala.com/v2/syndications/syndication_id/feed?
pcode=yourPcode&access_key=accessKey

Backlot returns a response similar to the following.

{  
   "require_access_key":"true",
   "description":"",
   "destination_url":"",
   "type":"iphone",
   "include_labels":[  

   ],
   "asset_types":[  
      "video",
      "ad"
   ],
   "id":"6b6e72dd71bd4fa",
   "include_encodings":[  

   ],
   "name":"iPhone feed",
   "title":"",
   "syndication_url":"http://api.ooyala.com/syndications/6b6e72dd71bd4fa/feed?pcode=Y4cG06BlqYMLIjPGyv1NbacSK-x3",
   "include_all_content":"false",
   "created_at":"2013-07-08T17:09:02Z"
}

Was this article helpful?