|
turn on suggestions
![]() Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. | |
If you don't find an answer, please click here to post your question.
|
04-19-2017 11:23 PM
Hello,
In the rest api, I would like to create report by tag, for example: movie_theavengers. How to do this?
Thank you
Paul
04-20-2017 09:02 AM
Hi Paul,
If by 'tag' you mean a label, you can try the following call:
[GET]/v2/assets?where=labels INCLUDES 'movie_theavengers'
If you mean metadata, you can try with this one, where you'll need to replace the [KEY_NAME] with the name of your metadata key:
[GET]/v2/assets?where=metadata.[KEY_NAME]='movie_theavengers'&include=metadata
You can try these calls in our scratchpad: https://api.ooyala.com/docs/api_scratchpad
For more information around Backlot API query construction: http://help.ooyala.com/video-platform/api/query.html
Hope this helps!
Ana
04-20-2017 09:02 AM
Hi Paul,
If by 'tag' you mean a label, you can try the following call:
[GET]/v2/assets?where=labels INCLUDES 'movie_theavengers'
If you mean metadata, you can try with this one, where you'll need to replace the [KEY_NAME] with the name of your metadata key:
[GET]/v2/assets?where=metadata.[KEY_NAME]='movie_theavengers'&include=metadata
You can try these calls in our scratchpad: https://api.ooyala.com/docs/api_scratchpad
For more information around Backlot API query construction: http://help.ooyala.com/video-platform/api/query.html
Hope this helps!
Ana
05-25-2017 12:56 AM
To use Backlot-api , it has a cost?
regards,
paul
05-25-2017 08:11 AM
Hi Paul!
Nope, as long as your Backlot account is active, you'll be able to use the API without any additional cost.
Ana