How do I search for vidéos ?
You cannot directly search for specific type of media (images, videos, documents,...).
However you can search for forms, and restrict the search for forms associated to given types of media.
All forms representation are available in /api/dam/forms. Forms used for videos have a value of VIDEO
for the field type
. For example :
{
"id": 3,
"title": "Videos",
"type": "VIDEO",
"_links": {
"self": {
"href": "http://baobab.keepeek.com/api/dam/forms/3"
}
}
},
You can then search media for the given form Id. For example for form Id 3 :
GET /api/dam/search/media?fq=formId:3