aboutsummaryrefslogtreecommitdiffstats
path: root/builds.sr.ht/api.md
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-11-15 12:47:19 -0500
committerDrew DeVault <sir@cmpwn.com>2019-11-15 12:47:19 -0500
commit5896661fbaeeca3131ec7043712733a9f5e4563c (patch)
tree26e1931240a75b8237cf40059112a54faeb0b6b6 /builds.sr.ht/api.md
parent3079cd4fe89637397acfa435274f2670a21fd863 (diff)
downloadsr.ht-docs-5896661fbaeeca3131ec7043712733a9f5e4563c.tar.gz
Add GET /api/jobs to builds.sr.ht/api.md
Diffstat (limited to 'builds.sr.ht/api.md')
-rw-r--r--builds.sr.ht/api.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/builds.sr.ht/api.md b/builds.sr.ht/api.md
index 8653fef..2d72dc1 100644
--- a/builds.sr.ht/api.md
+++ b/builds.sr.ht/api.md
@@ -12,6 +12,12 @@ requests should be submitted via https://builds.sr.ht.
The following endpoints are available to users with an OAuth key valid for the
specified scope.
+## GET /api/jobs
+
+**Scopes**: jobs:read
+
+Returns a paginated list of job resources.
+
## POST /api/jobs
**Scopes**: jobs:write