diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-04-22 14:56:23 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-22 14:56:23 -0400 |
commit | 81d2899241fa791333e0d24227bd38cc1470b60f (patch) | |
tree | 5f33ed0c39143d56b56952a8332d24b43a418fef /git.sr.ht | |
parent | 1b6b0aa697186512d5b42be1b62be74e4ab10081 (diff) | |
download | sr.ht-docs-81d2899241fa791333e0d24227bd38cc1470b60f.tar.gz |
Normalize OAuth scopes in git.sr.ht/api.md
Diffstat (limited to 'git.sr.ht')
-rw-r--r-- | git.sr.ht/api.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git.sr.ht/api.md b/git.sr.ht/api.md index e44e3cf..2a847a0 100644 --- a/git.sr.ht/api.md +++ b/git.sr.ht/api.md @@ -254,13 +254,13 @@ implies the authenticated user. Returns the blob at the given path of the tree specified by the given reference. +**OAuth scope**: `data:read` + **Response** The contents of the requested blob, as text/plain or as application/octet-stream for binary blobs. -**OAuth scope**: `data:read` - ### GET /api/repos/:name/blob/:ref/:path Equivalent to [/api/:username/repos/:name/blob/:ref/:path](#GET-apiusernamereposnameblobrefpath), @@ -285,13 +285,13 @@ implies the authenticated user. Returns the blob with the given ID. +**OAuth scope**: `data:read` + **Response** The contents of the requested blob, as text/plain or as application/octet-stream for binary blobs. -**OAuth scope**: `data:read` - ### GET /api/repos/:name/blob/:id Equivalent to [/api/:username/repos/:name/blob/:id](#GET-apiusernamereposnameblobid), |