diff options
Diffstat (limited to 'paste.sr.ht/api.md')
-rw-r--r-- | paste.sr.ht/api.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/paste.sr.ht/api.md b/paste.sr.ht/api.md index 49fde09..e5766f9 100644 --- a/paste.sr.ht/api.md +++ b/paste.sr.ht/api.md @@ -75,16 +75,16 @@ The new [paste resource](#paste-resource). ### GET /api/pastes/:sha -**OAuth scope**: `pastes:read` - Retrieves a [paste resource](#paste-resource). -### GET /api/blobs/:sha - **OAuth scope**: `pastes:read` +### GET /api/blobs/:sha + Retrieves a [blob resource](#blob-resource). +**OAuth scope**: `pastes:read` + ## Webhooks ### /api/pastes/... @@ -94,7 +94,9 @@ endpoints](../api-conventions.md#webhooks) #### paste:create -Issued when a new paste is created. Requires `paste:read` OAuth scope. +Issued when a new paste is created. + +**OAuth scope**: `paste:read` **Request body** |