docs: give each dl and serve flag and the error envelope one owner page and tighten the cli-reference test

This commit is contained in:
imSp4rky
2026-12-04 20:13:12 -07:00
parent 87b58190ea
commit f10b8dcf99
16 changed files with 90 additions and 181 deletions
+2 -3
View File
@@ -161,8 +161,7 @@ works.
`timeout` is the time in seconds that the client waits for data from the server. The
default is `120`. The server sends a heartbeat every 30 seconds while it gets titles, tracks
or licences, so a slow service does not cause a timeout. Increase `timeout` only when the
server runs an older version that sends no heartbeat. Give a number of seconds. With a
or licences, so a slow service does not cause a timeout. Give a number of seconds. With a
value below 30 the client can time out before the first heartbeat. `0` means the default.
In `--remote` mode unshackle turns the server's service list into synthetic CLI
@@ -190,7 +189,7 @@ is the [Server](../../dev/rest-api/index.md) section of the user guide. These ar
| `remote_only` | bool | `false` | Expose only the [remote session routes](../../dev/rest-api/remote-sessions.md#routes) and disable the rest of the REST API. |
| `dashboard` | dict | *(unset)* | Server dashboard: `key` is the API key for the read-only `/api/dashboard/` endpoints (status, remote sessions, remote session logs, jobs, keys, services, health, logs, SSE events). Unset leaves those routes unregistered, and a reload that removes the key makes them answer `404`. See [dashboard endpoints](../../dev/rest-api/dashboard.md). |
| `session_ttl` | int (s) | `300` | Seconds a remote session can stay idle before it expires. An open session channel, or a request that works on the remote session, keeps it from expiring, so it does not expire during a long download. A remote session that still logs in can stay idle for the larger of this value and 600 seconds. A client that closes or loses its channel and does not come back loses its remote session sooner: see [Client presence](../../dev/rest-api/remote-sessions.md#client-presence). |
| `max_sessions` | int or null | `100` | Maximum concurrent remote sessions; at the cap the server evicts the least recently used remote session of the API key that holds the most, and a remote session that a request works on goes last. Set it to `null` or `0` for no limit, which is also what `/api/dashboard/status` then reports, so a dashboard can tell "no cap" from a cap that happens to sit at the default. |
| `max_sessions` | int or null | `100` | Maximum concurrent remote sessions. At the cap, a new remote session ends one: the server picks first among the remote sessions that no request works on, then among those of the API key that holds the most, and takes the least recently used. Set it to `null` or `0` for no limit, which is also what `/api/dashboard/status` then reports, so a dashboard can tell "no cap" from a cap that happens to sit at the default. |
| `history_limit` | int | `100` | How many finished jobs to retain in history. |
| `compression_level` | int | `1` | gzip level for responses. |
| `services_refresh_interval` | int (s) | `0` | How often the server pulls the git-backed service repositories in `directories.services` and hot-reloads the services that changed. `0` turns it off. A service with a running or queued job, or a live remote session, is staged and swaps to the new code as soon as its last job and session finish. |