paste.sr.ht: drop webhooks

This commit is contained in:
Drew DeVault 2021-09-21 14:49:10 +02:00
parent 5d3f6f2f83
commit 616473467c
3 changed files with 7 additions and 54 deletions

View File

@ -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

View File

@ -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).

View File

@ -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