diff options
author | Drew DeVault <sir@cmpwn.com> | 2021-09-21 14:49:10 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-09-21 14:49:10 +0200 |
commit | 616473467c929dd567ebba0a2f04a77c7608cd31 (patch) | |
tree | 00df16ab0aecb2036d4304351839071fccbc33a2 /paste.sr.ht/api.md | |
parent | 5d3f6f2f8346fd8c1a681993acee606cab7d7c16 (diff) | |
download | sr.ht-docs-616473467c929dd567ebba0a2f04a77c7608cd31.tar.gz |
paste.sr.ht: drop webhooks
Diffstat (limited to 'paste.sr.ht/api.md')
-rw-r--r-- | paste.sr.ht/api.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/paste.sr.ht/api.md b/paste.sr.ht/api.md index 539a172..7f9def8 100644 --- a/paste.sr.ht/api.md +++ b/paste.sr.ht/api.md @@ -95,26 +95,3 @@ Deletes a [paste resource](#paste-resource). Retrieves a [blob resource](#blob-resource). **OAuth scope**: `pastes:read` - -## Webhooks - -### /api/pastes/... - -Webhook for paste events. Includes the [standard webhook -endpoints](/api-conventions.md#webhooks) - -#### paste:create - -Issued when a new paste is created. - -**OAuth scope**: `pastes:read` - -#### paste:delete - -Issued when a paste is deleted. - -**OAuth scope**: `pastes:read` - -**Request body** - -Affected [paste resource](#paste-resource). |