Check stream readiness
curl --request GET \
--url https://api.streamloop.app/v1/streams/{id}/readiness \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.streamloop.app/v1/streams/{id}/readiness"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.streamloop.app/v1/streams/{id}/readiness', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"issues": [
{
"code": "<string>",
"error": "<string>",
"stage": "PREFLIGHT",
"suggestion": "<string>"
}
],
"ready": true
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}Runs the same checks as updateStream(status:ACTIVE) without mutating.
GET
/
streams
/
{id}
/
readiness
Check stream readiness
curl --request GET \
--url https://api.streamloop.app/v1/streams/{id}/readiness \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.streamloop.app/v1/streams/{id}/readiness"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.streamloop.app/v1/streams/{id}/readiness', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"issues": [
{
"code": "<string>",
"error": "<string>",
"stage": "PREFLIGHT",
"suggestion": "<string>"
}
],
"ready": true
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}⌘I