chore(release): bump version to 7.1.0 and refuse a remote session create that sends cdm_relay

This commit is contained in:
imSp4rky
2026-12-05 11:04:10 -07:00
parent 9de59f3142
commit 0d9050e68e
8 changed files with 244 additions and 15 deletions
+3 -3
View File
@@ -61,7 +61,7 @@ DELETE /api/session/{id} → the end, with the changed cache files
- **Body size.** The create request and `POST /api/search` take a body of up to 8 MiB, the
`samples` route up to 16 MiB, and every other route up to 1 MiB.
- **Older clients.** The server accepts only the current client flow. A create without
`session_id`, and a service route of a remote session whose client never opened the remote session
`session_id` or with `cdm_relay`, and a service route of a remote session whose client never opened the remote session
channel, get `426 CLIENT_OUTDATED`.
### Slow responses
@@ -197,7 +197,7 @@ the background, and answers at once with the login state `authenticating`. The b
|---|---|
| `service` | Required. The service tag, in any case, or an alias. |
| `title_id` | Required. The title ID or URL, as for `dl`. |
| `session_id` | Required. The ID that the client gives the remote session: the canonical text of a version 4 UUID. Without it, the create gets `426 CLIENT_OUTDATED`. |
| `session_id` | Required. The ID that the client gives the remote session: the canonical text of a version 4 UUID. Without it, the create gets `426 CLIENT_OUTDATED`. A create that has `cdm_relay` gets the same error. |
| `credentials` | `{username, password, extra?}` for the profile. |
| `cookies` | The Netscape cookie file of the profile, zlib-compressed and base64-encoded. |
| `cache` | The cache files of the service: a map of cache key to the zlib-compressed, base64-encoded file. See [Cache files](#cache-files). |
@@ -286,7 +286,7 @@ keys from track data, and keeps the cache on the server.
| `400` | `INVALID_SERVICE` | An unknown service, or one that the API key may not use. |
| `403` | `FORBIDDEN` | Another API key or another IP address has the `session_id`. |
| `404` | `SESSION_NOT_FOUND` | A `DELETE` or a newer create with the same `session_id` ended this create. |
| `426` | `CLIENT_OUTDATED` | No `session_id`: the client is older than the server accepts. |
| `426` | `CLIENT_OUTDATED` | No `session_id`, or a `cdm_relay` field: the client is older than the server accepts. |
| `409` | `SERVER_DRAINING` | The server drains before a restart. |
### `GET /api/tunnel`