If you don't find an answer, please click here to post your question.
Reply
Highlighted
Senior Member
Posts: 3
Registered: ‎12-19-2017

include labels into discovery API response

Hi,

is there any way to retrieve labels for each video received from discovery API? 

I want to receive this info in next request:
/v2/discover/trending

without doing additional requests for each of received video.

Ooyalan
Posts: 26
Registered: ‎01-03-2017

Re: include labels into discovery API response

Hi Skytagger,

 

Unfortunately, it is not possible to get labels from discovery. The only way to get labels is using 

[GET]/v2/assets/asset_id/labels

 

Here is our documentation.

https://help.ooyala.com/video-platform/api/asset_labels.html

https://help.ooyala.com/video-platform/api/labels.html

 

Regards,

Ooyala TS 

Senior Member
Posts: 3
Registered: ‎12-19-2017

Re: include labels into discovery API response

Thank you for your reply!
But any request to /v2/assets endpoint requires API key. And since we are going to make requests from client-side Javascript application, usage of API key may bring some security risks.
Is there any other option for us except server-side solution?