- API Reference
- Box API
- Token links
Check a proxy's status with its per-port token link
Use this to give an end user a status link for one proxy without sharing the dashboard login. Works only while per-port authentication (port_auth_config) is on. The token must belong to the port in proxy. The answer is the same as /status.
/{token}/statusPath parameters
Per-port token of the proxy, shown in the panel when per-port authentication is on. Treat it like a password: anyone with the link can use it.
Query parameters
Proxy address as HOST:PORT, for example 192.0.2.10:4001. Only the port selects the slot.
192.0.2.10:4001Authentication
Authenticated only by the token in the path; the dashboard login and "Basic auth for all API" do not apply. Refusals answer HTTP 401 with a message.
Responses
Slot state.
Per-port authentication is off, the token is wrong, the port has no modem, or the slot was rotated too recently.
Not support!, Unauthorized!, Wrong port!, reset_too_muchUnhandled error, for example a non-integer position or a missing required parameter.
Error name, e.g. internal_server_error or bad_request.
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
Not support! | Per-port authentication is off on this box. | Turn on per-port authentication in the proxy settings. |
Unauthorized! | The token does not match this port. | Copy the link again from the panel. |