Enriched output manifest (HLS)
curl --request GET \
--url https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8import requests
url = "https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"#EXTM3U\n#EXT-X-DATERANGE:ID=\"sig-brk-…\",CLASS=\"com.interactivelayers.signal\",START-DATE=\"2026-11-04T16:00:30.000Z\",DURATION=30.000,X-COM-INTERACTIVELAYERS-CAMPAIGNS=\"acme-hydration\",X-COM-INTERACTIVELAYERS-KEYWORDS=\"water,hydration\",X-COM-INTERACTIVELAYERS-SAFETY=\"ok\",X-COM-INTERACTIVELAYERS-SCORE=\"0.92\"\n"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Obter o manifesto HLS enriquecido
O ID da fonte, que não é possível adivinhar, dá acesso ao manifesto sem uma chave de API. Retorna 404 se a fonte for desconhecida e 503 com Retry-After: 2 enquanto o buffer é preenchido ou depois que a fonte é interrompida.
GET
/
v1
/
sources
/
{source_id}
/
output.m3u8
Enriched output manifest (HLS)
curl --request GET \
--url https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8import requests
url = "https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.interactivelayers.com/v1/sources/{source_id}/output.m3u8")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"#EXTM3U\n#EXT-X-DATERANGE:ID=\"sig-brk-…\",CLASS=\"com.interactivelayers.signal\",START-DATE=\"2026-11-04T16:00:30.000Z\",DURATION=30.000,X-COM-INTERACTIVELAYERS-CAMPAIGNS=\"acme-hydration\",X-COM-INTERACTIVELAYERS-KEYWORDS=\"water,hydration\",X-COM-INTERACTIVELAYERS-SAFETY=\"ok\",X-COM-INTERACTIVELAYERS-SCORE=\"0.92\"\n"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}