Change the panel's addresses and ports
/instances/updates/addresses/manage Delete and money: deletes, credits, servers or panel settings. Scopes
New addresses and ports for the panel, its dashboard and the streaming on its own server (a port left out stays as it is). The server changes them once they lead to it, and keeps the present ones working except those in remove and remove_ports; follow addresses in GET /instances/updates/. Panel operators only.
Body
panelstringrequiredWhere players and streaming servers connect.
dashboardstringWhere people sign in; empty when the panel has no dashboard.
removestring[]Old addresses that stop working.
panel_portintegerThe panel's port. Unset: the present one.
ui_portintegerThe dashboard's port. Unset: the present one.
stream_portintegerThe port this server streams on. Unset: the present one.
remove_portsinteger[]Old panel or dashboard ports that stop working.
Response
202 OK
statestringrequiredidle,requested,running,doneorfailed.messagestringrequiredWhat the server said, in plain words.
atstringrequiredWhen it was asked or last moved (ISO 8601), or empty.
panelstringrequiredWhere players and streaming servers connect.
dashboardstringrequiredWhere people sign in.
old_panelstring[]requiredEarlier panel addresses that still work.
old_dashboardstring[]requiredEarlier dashboard addresses that still work.
panel_portintegerrequiredui_portintegerrequiredThe dashboard's port.
stream_portintegerrequiredThe port the panel's own server streams on.
old_panel_portsinteger[]requiredold_ui_portsinteger[]requiredpossiblebooleanrequiredThe addresses can be changed from here.
ports_possiblebooleanrequiredThe ports can be changed from here too.
watchedbooleanrequiredA new address is kept only once it answers; otherwise the previous ones come back.
untilstringrequiredWhile a change is being watched: until when (ISO 8601), else empty.
rolled_backbooleanrequiredThe last change was put back (
messagesays why).rescueobjectrequiredcan be nullThe rescue address, open only while the addresses change; shown to the panel's owner only. Null while it is closed.
portintegerrequiredurlstringrequiredEmpty when the server's IP address is not known.
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.
- 409 It cannot be done now;
detailsays why. - 429 Slow down: wait the seconds in the Retry-After header, then try again.