How to select the thumbnails links to display ?
All the thumbnails links are eligible to the partial response mechanism, which allow the selection of fields to display in the representation.
For example, you can get thumbnails links for kpk:whr and kpk:medium only, by adding fields=_links{kpk:medium,kpk:whr}
to the request parameters. However, adding a fields
parameter will limit the answer fields to those selected. You may need to add some other fields to make the answer useful.
Example :
GET api/dam/search/media?f=title:lighthouse*&fields=id,_embedded{metadata.byId(title)},_links{kpk:medium,kpk:whr}