aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht/api.md
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-02-14 17:23:08 -0500
committerDrew DeVault <sir@cmpwn.com>2020-02-14 17:23:08 -0500
commit3b97de045ae08c19574c6b8ed4d09ef4570bfb7a (patch)
tree5e66558114e833d633804b370a025d83a6dbbb3a /git.sr.ht/api.md
parentbd0fa833ff2a8cd18467603098eb4955899b38ac (diff)
downloadsr.ht-docs-3b97de045ae08c19574c6b8ed4d09ef4570bfb7a.tar.gz
git.sr.ht API: OAuth scope for file uploads
Diffstat (limited to 'git.sr.ht/api.md')
-rw-r--r--git.sr.ht/api.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.sr.ht/api.md b/git.sr.ht/api.md
index 25ade31..5edc6e7 100644
--- a/git.sr.ht/api.md
+++ b/git.sr.ht/api.md
@@ -230,6 +230,8 @@ Attaches a file artifact to the specified ref.
**Note**: this endpoint does *not* accept JSON. Submit your request as
`multipart/form-data`, with a single field: "file".
+**OAuth scope**: `data:write`
+
### GET /api/repos/:name/log
Equivalent to [/api/:username/repos/:name/log](#GET-apiusernamereposnamelog),