Get player creation suggestions
GET
https://octopus.livepush.io/players/suggestions
Base URL https://octopus.livepush.io — Core Streams & Media APIs
Returns suggested sources for a new player, based on the account's existing streams and videos. Not used by the dashboard.
Requires a token with CanReadPlayers.
Authorization
Send a valid access token in the Authorization header.
bearerAuth— Bearer token (JWT)
Authorization: Bearer YOUR_API_TOKEN
Try it
Loading the request builder…
GET
https://octopus.livepush.io/players/suggestions
— This call only reads data.
Code samples
curl -X GET 'https://octopus.livepush.io/players/suggestions' \
-H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://octopus.livepush.io/players/suggestions', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
},
});
if (!response.ok) {
throw new Error(`Livepush API error ${response.status}`);
}
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
}
response = requests.get('https://octopus.livepush.io/players/suggestions', headers=headers, timeout=30)
response.raise_for_status()
data = response.json()
Responses
Success.
No response body.