Query media server's status by it's ID
The unique ID of media server.
OK
Current concurrent sessions.
CPU usage.
Memory usage.
Server status includes:
OFFLINE
ONLINE
const response = await fetch('http://127.0.0.1:8888/api/media_servers/{id}/status', { method: 'GET', headers: {}, }); const data = await response.json();
{ "status": "OFFLINE" }