some documentation

This commit is contained in:
PizieDust 2024-12-20 07:03:47 +01:00
parent 8fb99041ba
commit 14626c0bfe

View file

@ -58,3 +58,9 @@ see `builder-db user-add --help`):
```ocaml
curl --data-binary @<build-hash>.full http://<user>:<passwd>@localhost:<builder-web-port>/upload
```
## JSON Responses
Some endpoints return JSON when the headers contain `Accept: application/json`.
- `/compare/:build_left/:build_right`
- `/job/:job/build/latest/**`
- `/job/:job/build/latest`