feat: add debug endpoint for single tailnet (#10485)

This commit is contained in:
Colin Adler
2023-11-13 17:14:12 -06:00
committed by GitHub
parent f4de2b64ec
commit e0afee1b85
9 changed files with 88 additions and 1 deletions
+20
View File
@@ -241,3 +241,23 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [healthcheck.Report](schemas.md#healthcheckreport) |
To perform this operation, you must be authenticated. [Learn more](authentication.md).
## Debug Info Tailnet
### Code samples
```shell
# Example request using curl
curl -X GET http://coder-server:8080/api/v2/debug/tailnet \
-H 'Coder-Session-Token: API_KEY'
```
`GET /debug/tailnet`
### Responses
| Status | Meaning | Description | Schema |
| ------ | ------------------------------------------------------- | ----------- | ------ |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | |
To perform this operation, you must be authenticated. [Learn more](authentication.md).