Skip to main content
Skip table of contents

Deep links

As content becomes available from a number of providers, each with their own streaming and playback services, it is increasingly the role of an operator to become the central hub for all video services. Some operators have agreements with third-party Content Providers (CPs) to carry content on the operator's platform and to consume the content through the host's application. Others will provide reference to their content, to be redirected, and consumed through, a third-party app.

A "deep link" is a pointer from the assets in the core platform to one or more other providers, such as Disney+, Amazon Prime Video, or Netflix.

The deep links are not "first-class" entities, but are embedded within the standard metadata API, specifically:

  • /vod/editorials
  • /vod/series
  • /btv/series
  • /btv/programmes
  • /search
ParameterType/exampleDescription
idstring
Example: NFX_123
The identifier of the deep link.
namestring
Example: Cowspiracy
The name of the deep link content.
contentRefstring
Example: GLOBAL_123
The reference to the editorialContent linked
periodPeriod{...}The time period for which the link is valid
providerstring
Example: Netflix
The source provider (e.g. AMAZON)
deviceType[string]A list of devices for which the deep link is applicable
resolution[string]The available resolutions of the deep-linked content
originalboolean
Example: false
Whether the linked content is an original source
typestringThe content type
actionstringThe action to take upon accessing this link, e.g., open another application
urlstring
Example: https://netflix.com/abc/xyz
The URL of the deep link
playbackOptions

[{

pricenumber
Example: 5.99
definitionnumber
Example: HD
currencystring
Example: GBP
licensestring

}]

Additional options about the linked content, e.g., price of subscription
playbackParamsstringOpaque params for use with the target platform

The VoD editorials can have one or more links embedded within them. It is possible to query by two of the link fields:

  • link.provider – the source of the deep link
  • link.deviceType – the device(s) applicable for the link


This restricts the deep links returned to those suitable for the specified client.

?filter={"link.deviceType": "Android"}

This restricts the deep links returned to those from a specific provider.

?filter={"link.provider": "Netflix"}

/metadata/delivery/v2/GLOBAL/vod/editorials?filter={"link.provider": "AMAZON"}

JS
{
    "editorials": [
        {
            "id": "AMAZON_EP005927330001",
            "contentLinkId": "EP005927330001",
            "Description": "Charlie's life turns upside down when his brother and nephew move in; at the supermarket, Charlie discovers he can use 10-year-old Jake to attract women.",
            "Title": "Pilot",
            "Synopsis": "Charlie discovers that a man raising a 10-year-old boy attracts the attention of women.",
            "ShortTitle": "Pilot",
            "technicals": [],
            "links": [
                {
                    "id": "AMAZON_EP005927330001_Deeplink",
                    "provider": "AMAZON",
                    "action": "details",
                    "contentRef": "AMAZON_EP005927330001",
                    "title": "Two and Half Men",
                    "type": "universalLink",
                    "url": "https://app.primevideo.com/watch?gti=amzn1.dv.gti.b2b6560e-fa65-0285-8a45-c1c6695caec0&time=auto&ref_=atv_cf_strg_ap",
                    "original": false,
                    "period": {
                        "start": 1613923200.0,
                        "end": 8962185600.0,
                        "duration": 7348262400
                    },
                    "playbackOptions": []
                }
            ]
        }
    ],
    "total_records": 1
}

Similarly to VoD, a series or season can have deep links embedded.


This will return series that have at least one deep link for an Android device:

?filter={"links.deviceType": "Android"}

This will return series that have at least one deep link for the provider Netflix:

?filter={"links.provider": "Netflix"}

/metadata/delivery/GLOBAL/vod/series?filter={"links.provider": "DPLUS"}

JS
{
    "total_records": 1,
    "series": [
        {
            "id": "DPLUS_184925",
            "Title": "Two and a Half Men",
            "links": [
                {
                    "id": "DPLUS_184925_Deeplink",
                    "provider": "DPLUS",
                    "action": "details",
                    "contentRef": "DPLUS_184925",
                    "title": "Two and Half Series",
                    "type": "universalLink",
                    "url": "https://www.disneyplus.com/movies/the-day-the-series-stopped/17Xan8d2xiPV",
                    "original": false,
                    "period": {
                        "start": 1613923200.0,
                        "end": 8962185600.0,
                        "duration": 7348262400
                    },
                    "playbackOptions": []
                }
            ]
        }
    ]
}

The search API is kept minimal, as it is for other use cases. You can, however, opt to search within certain content providers (for example – I want to search within Disney content), or to exclude certain content providers from a search (I want to avoid searching within Disney).


?q=south park

?q=south park&fq=providers:GLOBAL

?q=south park&fq=providers:Netflix

?q=south park&fq=-providers:Netflix

/metadata/solr/GLOBAL/search?q=providers:AMAZON

JS
{
    "responseHeader": {
        "status": 0,
        "QTime": 67
    },
    "response": {
        "numFound": 2,
        "start": 0,
        "docs": [
            {
                "uid": "AMAZON_184925|en_GB|vod|series",
                "id": "AMAZON_184925",
                "locale": "en_GB",
                "scope": "vod",
                "entity": "series",
                "provider": "GLOBAL",
                "isSeason": false,
                "isSeries": true,
                "isEpisode": false,
                "series": "",
                "title": "Two and a Half Men",
                "title_o": "Two and a Half Men",
                "rating.code": "TVPG",
                "rating.precedence": -1,
                "isPublished": true,
                "providers": [
                    "GLOBAL",
                    "AMAZON"
                ]
            }
        ]
    }
}

In the same way that the NAGRA platform enables operators to have VoD or BTV items "recommended", it is also possible to make personalised recommendations that include "deep linked" content. See the Recommendations Façade section for further guidance on this. 

Deep links can be created and deleted by ingesting them. See:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.