Media Service User Guide

Version 3.0 | Published October 10, 2019 ©

Open Search Queries

The OpenSearch description document is available at /api/search, and is listed in the Service Document so clients can automatically discover and use it. It describes paging mechanisms, and two search terms:

  • The text search term is ‘q’. This is a simple substring search in the file name of all assets. Media Service will silently ignore any asterisk (*) at the beginning or end of the query.

  • The media type search term is ‘media’, the only supported types is ‘image’ and ‘video’.
    An example query:

http://localhost:21099/api/asset/?q=seachTerm&media=image&num=20