diff options
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), |