mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-15 20:40:55 +09:00
Replace /swagger with /api/v1/docs
This commit is contained in:
committed by
nblock
parent
15781ed6d8
commit
88234d4046
+2
-2
@@ -29,12 +29,12 @@ headscale apikeys expire --prefix <PREFIX>
|
||||
## REST API
|
||||
|
||||
- API endpoint: `/api/v1`, e.g. `https://headscale.example.com/api/v1`
|
||||
- Documentation: `/swagger`, e.g. `https://headscale.example.com/swagger`
|
||||
- Documentation: `/api/v1/docs`, e.g. `https://headscale.example.com/api/v1/docs`
|
||||
- Headscale Version: `/version`, e.g. `https://headscale.example.com/version`
|
||||
- Authenticate using HTTP Bearer authentication by sending the [API key](#api) with the HTTP `Authorization: Bearer <API_KEY>` header.
|
||||
|
||||
Start by [creating an API key](#api) and test it with the examples below. Read the API documentation provided by your
|
||||
Headscale server at `/swagger` for details.
|
||||
Headscale server at `/api/v1/docs` for details.
|
||||
|
||||
=== "Get details for all users"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user