A test's contact sheets: a frame every 2 seconds, each labelled with its run time
curl --request GET \
--url https://patch.gg/api/v1/tests/{id}/footage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://patch.gg/api/v1/tests/{id}/footage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/tests/{id}/footage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"run": 123,
"index": 123,
"from": "<string>",
"to": "<string>",
"frames": [
"<string>"
],
"sha256": "<string>",
"url": "<string>",
"expires_at": "<string>"
}
]
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}Review
A test's contact sheets: a frame every 2 seconds, each labelled with its run time
GET
/
tests
/
{id}
/
footage
A test's contact sheets: a frame every 2 seconds, each labelled with its run time
curl --request GET \
--url https://patch.gg/api/v1/tests/{id}/footage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://patch.gg/api/v1/tests/{id}/footage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/tests/{id}/footage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"run": 123,
"index": 123,
"from": "<string>",
"to": "<string>",
"frames": [
"<string>"
],
"sha256": "<string>",
"url": "<string>",
"expires_at": "<string>"
}
]
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}