docs: fix /audit & /insights params (#12043)

This commit is contained in:
Eric Paulsen
2024-02-07 08:38:54 -05:00
committed by GitHub
parent 1cf4b62867
commit 1abe0cfa1a
6 changed files with 133 additions and 8 deletions

4
docs/api/audit.md generated
View File

@ -6,7 +6,7 @@
```shell
# Example request using curl
curl -X GET http://coder-server:8080/api/v2/audit \
curl -X GET http://coder-server:8080/api/v2/audit?limit=0 \
-H 'Accept: application/json' \
-H 'Coder-Session-Token: API_KEY'
```
@ -18,7 +18,7 @@ curl -X GET http://coder-server:8080/api/v2/audit \
| Name | In | Type | Required | Description |
| -------- | ----- | ------- | -------- | ------------ |
| `q` | query | string | false | Search query |
| `limit` | query | integer | false | Page limit |
| `limit` | query | integer | true | Page limit |
| `offset` | query | integer | false | Page offset |
### Example responses