aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--builds.sr.ht/api.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/builds.sr.ht/api.md b/builds.sr.ht/api.md
index 2e1e14c..ba9c069 100644
--- a/builds.sr.ht/api.md
+++ b/builds.sr.ht/api.md
@@ -116,3 +116,7 @@ Returns the original job's build manifest as plain text.
Starts a job that was created with `execute=false`. Returns an empty JSON
object when successful.
+
+## POST /api/jobs/:id/cancel
+
+Cancels a running job. Returns an empty JSON object when successful.