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 | |
parent | 5d3f6f2f8346fd8c1a681993acee606cab7d7c16 (diff) | |
download | sr.ht-docs-616473467c929dd567ebba0a2f04a77c7608cd31.tar.gz |
paste.sr.ht: drop webhooks
-rw-r--r-- | lists.sr.ht/api.md | 24 | ||||
-rw-r--r-- | paste.sr.ht/api.md | 23 | ||||
-rw-r--r-- | staff/culture.md | 14 |
3 files changed, 7 insertions, 54 deletions
diff --git a/lists.sr.ht/api.md b/lists.sr.ht/api.md index 517c963..398986d 100644 --- a/lists.sr.ht/api.md +++ b/lists.sr.ht/api.md @@ -422,30 +422,6 @@ Issued when the user creates a new mailing list. The new [mailing list resource](#mailing-list-resource). -#### subscription:create - -Issued when the user subscribes to a mailing list. - -**OAuth scope**: `subs:read` - -**Request body** - -The new [subscription resource](#subscription-resource). - -#### subscription:remove - -Issued when the user unsubscribes from a mailing list. - -**OAuth scope**: `subs:read` - -**Request body** - -```json -{ - "id": integer ID of the affected subscription resource -} -``` - ### /api/user/:username/lists/:list-name/... Webhook for mailing list events. Includes the [standard webhook 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). diff --git a/staff/culture.md b/staff/culture.md index 4d90a4a..fa4bcb2 100644 --- a/staff/culture.md +++ b/staff/culture.md @@ -12,13 +12,13 @@ SourceHut's mission statement is as follows: This is the philosophical ethos that underlies our business. This presents itself in the way we act. Because we are empathetic, we value accessibility, -working to make our UI easy to use for anyone and to have great performance on -low-end hardware and networks so that no one is a second class citizen. We are -transparent, which motivates our public ops, financial reports, and the fact -that this page is on a public wiki. We are honest, by telling users quickly and -frankly when we make mistakes that affect them, and in explaining our incentives -and motivations so they can make informed decisions about their relationship -with us. +working to make our UI easy to use for anyone, or prioritizing performance on +low-end hardware and networks, so that access to our software does not depend on +income level. We are transparent, which motivates our public ops, financial +reports, and the fact that this page is on a public wiki. We are honest, by +telling users quickly and frankly when we make mistakes that affect them, and in +explaining our incentives and motivations so they can make informed decisions +about their relationship with us. This extends to our internal culture as well. When we make mistakes or aren't sure what to do, we talk to each other about it, as an extension of our |