List recordings
curl --request GET \
--url https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings', 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://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"next_page_token": "<string>",
"recordings": [
{
"aborted": true,
"attempt_number": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "scheduled",
"ended_at": "2023-11-07T05:31:56Z",
"outputs": [
{
"file_name": "<string>",
"location_url": "<string>"
}
],
"requested_start_at": "2023-11-07T05:31:56Z",
"requested_stop_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z"
}
]
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}Channels
List recordings
Requires the capture:access permission.
GET
/
{space_id}
/
channels
/
{channel_id}
/
recordings
List recordings
curl --request GET \
--url https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings', 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://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.up.telestream.com/capture/v1/{space_id}/channels/{channel_id}/recordings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"next_page_token": "<string>",
"recordings": [
{
"aborted": true,
"attempt_number": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "scheduled",
"ended_at": "2023-11-07T05:31:56Z",
"outputs": [
{
"file_name": "<string>",
"location_url": "<string>"
}
],
"requested_start_at": "2023-11-07T05:31:56Z",
"requested_stop_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z"
}
]
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"trace_id": "<string>"
}Authorizations
A platform API key, presented as Authorization: Bearer <API_KEY>. Each operation says which permission the key needs.
Path Parameters
The space to act in.
The channel's id.
Query Parameters
An opaque token from a previous response. Omit it to read the first page.
The maximum number of items to return.
Required range:
1 <= x <= 100