Get the install command for a new server
/instances/bootstrap/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Makes a one-time registration token for a new streaming server, and the command to run on it, which installs it and adds it here. The token works once, for ttl_minutes (60 by default), and is shown only in this answer. Panel operators only.
Body
instance_idstringnamestringdomainstringThe new server's public address, such as
node1.example.com. Leave it empty to set up its web address yourself.ttl_minutesintegerDefault:
60stream_portintegerThe port the new server streams on. 443 is recommended: keep it unless something else there uses it.
Default:
443replacesstring (uuid)A server of a panel this one was moved from (Settings → Move from another panel). The node installed there serves that server's films and episodes where they are.
max_streamsintegerThe most streams the server runs at once.
Default:
5000
Response
201 OK
instance_idstringrequirednamestringrequiredexpires_atstring (date-time)requiredregistration_tokenstringrequiredinstall_commandstringrequired
Errors
- 400 The address is taken, or
replacesis not a moved server. - 401 No credential, or one that is wrong, expired or revoked.
- 402 The license allows no more servers.
- 403 The account, or the key's or app's scopes, may not do this.
- 409
instance_idis already used. - 429 Slow down: wait the seconds in the Retry-After header, then try again.