Update a server to the panel's release
/instances/servers/{id}/update/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Asks a streaming server to install the release the panel runs, at its next check-in; update_state shows how it goes. The panel's own server is updated with the panel (POST /instances/updates/panel/). Panel operators only.
Path parameters
idstring (uuid)requiredA UUID string identifying this Streaming Server.
Response
202 OK
idstring (uuid)requiredread-onlyinstance_idstringrequiredread-onlyStable identifier used in routing hashes. Must not change between restarts.
namestringrequiredkindstringrequiredread-onlypanelfor the panel's own server (made by the install),streamingfor every streaming server.panel- Panelstreaming- Streaming node
domainstringrequiredThe server's public address (a host name). The install sets it on streaming servers.
address_rulestringWhich of the streaming addresses each new viewer is sent to.
turns- Take turnsleast_busy- Least busysame_viewer- Same address per viewerrandom- At random
caddy_managedbooleanWhether the panel keeps the server's web address set up by itself.
internal_urlstring (uri)requiredread-onlyWhere the panel reaches the server. Empty for the panel itself.
public_urlstring (uri)requiredread-onlyClient-facing URL used in stream redirects. Empty for the panel row.
ipstringrequiredread-onlycan be nullThe server's own public IP address.
stream_portintegerThe port viewers reach the streams on. Setting it asks the server to move there.
desired_stream_portintegerrequiredread-onlycan be nullA port change the server has not made yet. Empty when none is under way.
stream_port_errorstringrequiredread-onlycan be nullcapabilitiesanyrequiredread-onlye.g. ["x264", "nvenc", "vaapi"]
max_streamsintegerHard ceiling. Rejected by FILL/LEAST_LOADED when reached.
weightintegerHigher = more streams routed here under HASH mode.
network_capacity_mbpsintegercan be nullThe bandwidth this server's port can push, in megabits per second — for example 10000 for a 10 Gbps port. Leave empty to use the speed its network card reports.
is_enabledbooleanOperator switch. Set False to drain a server.
is_healthybooleanrequiredread-onlyserves_streamsbooleanWhether streams are sent to this server. Streaming servers are, once added, until you take one out; the panel's own server only after it is set to stream.
serves_vodbooleanWhether this node may hold movie files and serve them. Every streaming node does by default — it is set when a node registers or the panel is promoted. Placement still only sends a file where it fits (
vod_has_room: the quota, or the free space the node reports), so a node with no room is skipped rather than filled. Turn it off to keep movies off a node entirely.vod_max_bytesintegerCeiling on what movies may occupy here. 0 means 'use the disk's real free space instead'. Set this when VOD shares a filesystem with anything else you care about — a full disk stops live streams on this node too, not just movies.
archive_max_bytesintegerThe most catch-up recordings may use here. Over it, the oldest recordings go first. 0 = no limit beyond the disk, which always keeps a share free for movies.
last_seenstring (date-time)requiredread-onlycan be nullping_msintegerrequiredread-onlycan be nullHow stale this node's last heartbeat is, in ms.
Same number the
analyticsaction returns, carried on the list row so a client rendering a table of nodes needs no per-row follow-up request. Derived here rather than in the browser because it is a difference against our clock: computed client-side, a viewer whose machine is a minute off would see every node reported as stale.Not a round-trip measurement — a real one would need an echo we don't run. Costs one subtraction per row, no extra query.
current_streamsintegerrequiredread-onlyhealth_dataanyrequiredread-onlyLatest cpu_pct, ram_pct, current_streams, and (on VOD nodes) vod_used_bytes / vod_free_bytes / vod_total_bytes. Metrics live here rather than in columns so a node can report something new without a migration.
versionstringrequiredread-onlyThe release this server runs. The panel's row is the panel's release, a node on the same server included: it is updated with the panel.
update_stateobjectrequiredread-onlyWhether this server can be updated from the panel, and how its last update went.
token_prefixstringrequiredread-onlycreated_atstring (date-time)requiredread-onlyupdated_atstring (date-time)requiredread-only
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 409 It cannot be done now;
detailsays why. - 429 Slow down: wait the seconds in the Retry-After header, then try again.