Deeplinks

This service maps between old-style deep links and new-style deep links.

Example

$ curl -i https://deeplinks.a2d.tv/deeplink/tv4play%3A%2F%2Fserie%2Fanna-pihl%2F1%2F10%2F13345427%3Fautoplay%3Dtrue%26foo%3Dbar
HTTP/2 200
date: Tue, 30 May 2023 08:33:16 GMT
content-type: application/json
content-length: 166

{
    "old":"tv4play://serie/anna-pihl/1/10/13345427?autoplay=true&foo=bar",
    "new":"tv4play://details/0668850f19751fe4c6b7/1/10/6c144027f50c2e9134c6?autoplay=true&foo=bar"
}
$
The request is https://deeplinks.a2d.tv/deeplink/🦈 where 🦈 is the query-encoded deep link that you want to translate to the new-style deep link.

Responses

200: Success

The deep link has been successfully mapped and the response contains a JSON object with two fields old (same as your request) and new (the new-style deep link). See example above.

404: Not Found

The link could not be mapped because the old-style link does not point to any existing content.

500: Internal server error

An unexpected error has occurred, please report this error or check logs.