diff --git a/AGENTS.md b/AGENTS.md index da152fd..19fb50d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -46,7 +46,7 @@ Use the `joplin_get_note` tool with note ID `6c0dcb2a567348fd9796f50c790082e4` t ## API Communication -Racecraft communicates exclusively with the rusty-telemetry REST API (23 endpoints). In development, Vite proxies `/api/*` to `http://127.0.0.1:8080`. See the rusty-telemetry README for full endpoint documentation. +Racecraft communicates exclusively with the rusty-telemetry REST API (28 endpoints). In development, Vite proxies `/api/*` to `http://127.0.0.1:8080`. See the rusty-telemetry README for full endpoint documentation. ## Features diff --git a/README.md b/README.md index 0ca89da..7409a87 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ racecraft/ ## API Contract -Racecraft consumes the rusty-telemetry REST API (23 endpoints). See the [rusty-telemetry README](https://codeberg.org/jhunnius/rusty-telemetry) for full endpoint documentation. +Racecraft consumes the rusty-telemetry REST API (28 endpoints). See the [rusty-telemetry README](https://codeberg.org/jhunnius/rusty-telemetry) for full endpoint documentation. Key endpoints used: - `GET /api/live` — polled every 250ms–1000ms for live telemetry @@ -179,8 +179,8 @@ Key endpoints used: - `GET /api/sessions/{id}/analysis` — retrieve analysis results - `GET /api/characteristics/cars` — aggregated car shift-point profiles - `GET /api/characteristics/cars/{car}` — detailed per-gear data for a car -- `GET /api/tracks` / `GET /api/tracks/{track}` — track model list and detail -- `POST /api/sessions/{id}/build-track-model` — build track model from session +- `GET /api/tracks` / `GET /api/tracks/{game}/{track_name}` — track model list and detail +- `POST /api/tracks/build` — build track model from completed session ## License