From 4109e8c49cb256e3e3a1f691342b18612ecb16eb Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 6 Mar 2019 15:27:01 -0700 Subject: Standardize layout/language of oauth scopes --- paste.sr.ht/api.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'paste.sr.ht/api.md') 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** -- cgit