From 3b97de045ae08c19574c6b8ed4d09ef4570bfb7a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 14 Feb 2020 17:23:08 -0500 Subject: git.sr.ht API: OAuth scope for file uploads --- git.sr.ht/api.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git.sr.ht/api.md') 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), -- cgit