aboutsummaryrefslogtreecommitdiffstats
path: root/paste.sr.ht/api.md
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-03 12:10:01 -0700
committerDrew DeVault <sir@cmpwn.com>2019-03-03 12:10:01 -0700
commit531a4043a1634c976e68ee24a50aca24dc1675d3 (patch)
tree1ab9e5b148ede218299a50c9140dd458f1a9f37e /paste.sr.ht/api.md
parentcf44fa1ff7d1591819347d18a84da7251bf9e4f9 (diff)
downloadsr.ht-docs-531a4043a1634c976e68ee24a50aca24dc1675d3.tar.gz
Add links to resource schemas
Diffstat (limited to 'paste.sr.ht/api.md')
-rw-r--r--paste.sr.ht/api.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/paste.sr.ht/api.md b/paste.sr.ht/api.md
index 8829df4..e13d932 100644
--- a/paste.sr.ht/api.md
+++ b/paste.sr.ht/api.md
@@ -44,13 +44,13 @@ available for paste.sr.ht:
### GET /api/pastes
-List of paste resources.
+List of [paste resources](#paste-resource).
**OAuth scope**: `pastes:read`
### POST /api/pastes
-Create a new paste;
+Create a new paste resource.
**OAuth scope**: `pastes:write`
@@ -71,19 +71,19 @@ Create a new paste;
**Response**
-The new paste resource.
+The new [paste resource](#paste-resource).
### GET /api/pastes/:sha
**OAuth scope**: `pastes:read`
-Retrieves a paste resource.
+Retrieves a [paste resource](#paste-resource).
### GET /api/blobs/:sha
**OAuth scope**: `pastes:read`
-Retrieves a blob resource.
+Retrieves a [blob resource](#blob-resource).
## Webhooks
@@ -98,4 +98,4 @@ Issued when a new paste is created. Requires `paste:read` OAuth scope.
**Request body**
-Affected paste resource.
+Affected [paste resource](#paste-resource).