test(api): add integration tests for API docs endpoint

Also update GitHub Pages REST API doc to link to /api/docs.
This commit is contained in:
Siddharth Kumar Sah
2026-03-27 13:50:03 +08:00
parent 9ed1090651
commit 655398e184
2 changed files with 60 additions and 1 deletions
+7 -1
View File
@@ -1,6 +1,12 @@
# REST API
The API server runs on port 1349 by default and serves all endpoints under `/api`. Interactive Swagger documentation is available at `/api/docs` when the server is running.
The API server runs on port 1349 by default and serves all endpoints under `/api`.
::: tip Interactive API Reference
When your Stirling Image instance is running, visit [`/api/docs`](http://localhost:1349/api/docs) for an interactive API reference with full endpoint documentation, request schemas, and response examples.
:::
The reference below covers the key endpoints. For the complete specification, see the interactive docs.
## Authentication