From 14626c0bfea68060e83045ab389cb79299f0c5d7 Mon Sep 17 00:00:00 2001 From: PizieDust Date: Fri, 20 Dec 2024 07:03:47 +0100 Subject: [PATCH] some documentation --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3dcf98c..a254062 100644 --- a/README.md +++ b/README.md @@ -58,3 +58,9 @@ see `builder-db user-add --help`): ```ocaml curl --data-binary @.full http://:@localhost:/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`