OpenTV ENTera & OpenTV Platform Documentation

Sorting responses

You can sort the output by appending a sort expression to the URL, as follows:

  • Sort alphabetically by a string field (for example, title, description, etc.):&sort=[["editorial.Title",1]]

  • DisplayPriority determines the position of the asset in the catalogue node. To order by this field, add the following:&sort=[["voditem.DisplayPriority", 1]]

  • voditem.end signals when an asset will no longer be available in the catalogue. To find assets that will end soon, add the following:&sort=[["voditem.end",1]]

  • To find items that have most recently been added to the catalogue, sort by voditem.start in descending order.&filter=sort=[["voditem.start",-1]]

See also​

Metadata Server (MDS) API Documentation