~sircmpwn/sr.ht-docs

3b97de045ae08c19574c6b8ed4d09ef4570bfb7a — Drew DeVault 6 days ago bd0fa83
git.sr.ht API: OAuth scope for file uploads
1 files changed, 2 insertions(+), 0 deletions(-)

M git.sr.ht/api.md
M git.sr.ht/api.md => git.sr.ht/api.md +2 -0
@@ 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),