aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Yerin <yerinalexey98fd@gmail.com>2020-11-27 17:32:19 +0300
committerDrew DeVault <sir@cmpwn.com>2020-11-27 10:40:51 -0500
commit84b00d4cd0e79c5dce919206d323119092e7f93a (patch)
treeb82eba1f03fa304492042ea1a8bca03b1c49f91c
parent20a59da64e2177e4516596f20100fbb69d82e520 (diff)
downloadsr.ht-docs-84b00d4cd0e79c5dce919206d323119092e7f93a.tar.gz
builds.sr.ht: document /api/jobs/:id/cancel
Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
-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.