diff options
author | Alexey Yerin <yerinalexey98fd@gmail.com> | 2020-11-27 17:32:19 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-11-27 10:40:51 -0500 |
commit | 84b00d4cd0e79c5dce919206d323119092e7f93a (patch) | |
tree | b82eba1f03fa304492042ea1a8bca03b1c49f91c /builds.sr.ht/api.md | |
parent | 20a59da64e2177e4516596f20100fbb69d82e520 (diff) | |
download | sr.ht-docs-84b00d4cd0e79c5dce919206d323119092e7f93a.tar.gz |
builds.sr.ht: document /api/jobs/:id/cancel
Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
Diffstat (limited to 'builds.sr.ht/api.md')
-rw-r--r-- | builds.sr.ht/api.md | 4 |
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. |