aboutsummaryrefslogtreecommitdiffstats
path: root/builds.sr.ht/api.md
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-01-07 23:34:55 -0500
committerDrew DeVault <sir@cmpwn.com>2018-01-07 23:59:50 -0500
commit5032661deafddc0ececd9fee5f13121c8b6207d9 (patch)
tree31336a4b84ec180f710e32bd83cb23e5684cb54f /builds.sr.ht/api.md
parentd405d85a66499a2912b874c7c0c786c69a1c0ba7 (diff)
downloadsr.ht-docs-5032661deafddc0ececd9fee5f13121c8b6207d9.tar.gz
Write builds.sr.ht installation docs
Diffstat (limited to 'builds.sr.ht/api.md')
-rw-r--r--builds.sr.ht/api.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/builds.sr.ht/api.md b/builds.sr.ht/api.md
index b46c575..9fec4e6 100644
--- a/builds.sr.ht/api.md
+++ b/builds.sr.ht/api.md
@@ -75,3 +75,12 @@ Gets information about a job by its ID.
- **running**: task is in-progress
- **success**: task completed without errors
- **failed**: task completed with errors
+
+## GET /api/jobs/:id/manifest
+
+Returns the original job's build manifest as plain text.
+
+## POST /api/jobs/:id/start
+
+Starts a job that was created with `execute=false`. Returns an empty JSON
+object when successful.