aboutsummaryrefslogtreecommitdiffstats
path: root/paste.sr.ht
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-06 15:27:01 -0700
committerDrew DeVault <sir@cmpwn.com>2019-03-06 15:27:01 -0700
commit4109e8c49cb256e3e3a1f691342b18612ecb16eb (patch)
tree1bab819df0f37dac93f098f2334917423f3bcb1d /paste.sr.ht
parent22705b007f95068b8d82282902ed14a2c0bf7819 (diff)
downloadsr.ht-docs-4109e8c49cb256e3e3a1f691342b18612ecb16eb.tar.gz
Standardize layout/language of oauth scopes
Diffstat (limited to 'paste.sr.ht')
-rw-r--r--paste.sr.ht/api.md12
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**