Using a Previously Created Discovery Profile

To leverage an existing discovery profile in a Discovery API request, add the query string parameter discovery_profile_id=profile_id. The profile_id is the identifier for a previously created profile. This query string parameter supersedes other query string parameters included on the request.

The following request and response example shows a request for personalized recommendations, modified by the discovery_profile query string parameter.

Request:

[GET] /v2/discover/trending?discovery_profile_id={profile_id}

Response:

{
"results": [ {
"name": "arthurbday.mp4",
"external_id": null,
"hostedAtURL": null,
"duration": "37033",
"embed_code": "xxxxxxxxx",
"bucket_info": "1{\"encoded\":\"xxxxxxx\",\"position\":0}",
"content_type": "Video",
"reason": "top",
"description": "Video compilation of pictures from Arthur's second
birthday.",
"publishing_rule_id": "xxxxxxxx",
"created_at": "2014-09-11 21:15:16 +0000",
"preview_image_url": "http://ak.c.ooyala.com/xxxxxxx",
"score": "60.0",
 ...

Was this article helpful?