Skip to content

Request and Response Parameters

Header NameValue
Acceptapplication/json
Authorizationauth_token
PropertyPresenceTypeDescription
queryoptionalstringThe query string for searching. Queries follow the Lucene query syntax.
typesoptionalstringTypes of content returned in response. A string with comma separated values is used when querying for more then one type of content.

Allowed values asset, category, contentpanel

default: asset,category,contentpanel
fromoptionalstringThe starting index for the search results.
default: 0
sizeoptionalstringThe number of results to return in response.
default: 25
sortByoptionalstringParameter for sorting search results based on a specific attribute.
Allowed values: title create-time live-broadcast-time or update-time.
default: "" (content sorted by relevance)
create-time: timestamp the content was created at
update-time: timestamp the content was updated at
title: content title
live-broadcast-time: only relevant for assets, content sorted by broadcast time
sortOrderoptionalstringThe order of sorting, used in combination with sortBy.
Allowed values asc desc
default: desc
asc: sort in ascending order
desc: sort in descending order
PropertyTypeProperty Belongs ToDescription
assetTypeNamestringassetThis field would contain the name of the asset type
contentTypestringasset,category,contentpanelThis field defines the type of content
curatedPathsarraycontentpanelThis array consists of several path groups, each represented as an object with a paths array.
contentCreateTimestringcontentpanelThis field contains the timestamp for when the asset’s content was created
contentUpdateTimestringcontentpanelThis field stores the timestamp for the last update to the asset’s content
createTimestringasset,category,contentpanelThe timestamp indicating when the content was created
durationintegerassetAn integer representing the asset’s duration
externalSystemstringassetA string indicating the external system associated with the asset
externalIdstringassetA string representing the external identifier of the asset
highlightsobjectasset,category,contentpanelAn object containing highlighted search terms, wrapped in vimond-hit tags in the response string (see sample response).
idstringasset,category,contentpanelA string representing the unique identifier for this content
imagePackstringasset,category,contentpanelThis field contains the identifier for an associated image pack
isLiveAssetbooleanassetA boolean value, indicating whether the asset is a live asset or not
isParentAssetbooleanassetA boolean value, indicating whether this asset serves as a parent asset or not
levelTypeIdintegercategoryThis field would indicate the level type ID
levelTypeNamestringcategoryThis represents the level type name
listIdstringcontentpanelA string representing the ID of the contentpanel list
liveBroadcastTimestringassetA timestamp indicating when the asset will be broadcast live
parentIdstringasset,categoryA string that refers to the ID of the parent for this content
publisharrayasset,category,contentpanelAn array indicating the publication status across various platforms:

platform: Specifies the platform (e.g., “web”, “app”, “stb”).
published: A boolean (false here) indicating that the asset is not yet published on any of these platforms.
titlesobjectasset,category,contentpanelAn object containing localized titles of the asset
typestringasset,category,contentpanelA string that specifies the type of the entity
updateTimestringasset,category,contentpanelThe timestamp for when the asset was last updated
Terminal window
curl -X GET \
'https://manage.api.{environment}.vmnd.tv/v1/search?query=%22%27Killers%20Of%20The%20Flower%20Moon%27%22&sortOrder=desc&sortBy=update-time&types=asset%2Ccategory%2Ccontentpanel' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth_token>'
{
"data": [
{
"titles": {
"en_US": "Killers Of The Flower Moon"
},
"imagePack": null,
"publish": [
{
"platform": "web",
"published": false
},
{
"platform": "app",
"published": false
},
{
"platform": "stb",
"published": false
}
],
"type": "asset",
"id": "960017",
"levelTypeId": null,
"levelTypeName": null,
"highlights": {
"en_US": {
"title": "<vimond-hit-123>Killers</vimond-hit-123> <vimond-hit-123>Of</vimond-hit-123> <vimond-hit-123>The</vimond-hit-123> <vimond-hit-123>Flower</vimond-hit-123> <vimond-hit-123>Moon</vimond-hit-123>"
}
},
"parentId": "415259",
"liveBroadcastTime": "2024-03-21T05:28:39.000Z",
"createTime": "2024-03-21T05:28:39.000Z",
"updateTime": "2024-03-21T05:28:39.000Z",
"contentCreateTime": null,
"contentUpdateTime": null,
"duration": 0,
"externalSystem": "",
"externalId": "",
"isLiveAsset": false,
"contentType": null,
"listId": null,
"isParentAsset": true,
"assetTypeName": " ",
"curatedPaths": null
}
]
}