~sircmpwn/sr.ht-docs

4c1c73eaf6de5dd43dba22aea44428ba060dbce5 — Drew DeVault 6 days ago 480794c
all: fix broken relative links
5 files changed, 10 insertions(+), 10 deletions(-)

M git.sr.ht/api.md
M lists.sr.ht/api.md
M meta.sr.ht/user-api.md
M paste.sr.ht/api.md
M todo.sr.ht/api.md
M git.sr.ht/api.md => git.sr.ht/api.md +2 -2
@@ 4,7 4,7 @@ title: git.sr.ht API reference

The git.sr.ht API allows you to browse, create, and manage repositories on
git.sr.ht programmatically. This API follows the [standard sourcehut API
conventions](../api-conventions.md).
conventions](/api-conventions.md).

**Notice**: the git.sr.ht API is due for an overhaul in the foreseeable future;
be prepared for it to change. The changes will be announced in advance on the


@@ 386,7 386,7 @@ Issued when the user deletes a repository.
### /api/:username/repos/:name/...

Webhook for repository events. Includes the [standard webhook
endpoints](../api-conventions.md#webhooks). You may pass an additional parameter
endpoints](/api-conventions.md#webhooks). You may pass an additional parameter
to the webhook creation endpoint named "sync", which shall be a boolean value.

#### repo:post-update

M lists.sr.ht/api.md => lists.sr.ht/api.md +2 -2
@@ 4,7 4,7 @@ title: lists.sr.ht API reference

The lists.sr.ht API allows you to browse, create, and subscribe to mailing lists
on lists.sr.ht programmatically. This API follows the [standard sourcehut API
conventions](../api-conventions.md).
conventions](/api-conventions.md).

## Authentication



@@ 404,7 404,7 @@ Issued when the user unsubscribes from a mailing list.
### /api/user/:username/lists/:list-name/...

Webhook for mailing list events. Includes the [standard webhook
endpoints](../api-conventions.md#webhooks)
endpoints](/api-conventions.md#webhooks)

#### patchset:received


M meta.sr.ht/user-api.md => meta.sr.ht/user-api.md +3 -3
@@ 4,7 4,7 @@ title: meta.sr.ht API reference

The meta.sr.ht API allows you to view and edit user information on meta.sr.ht
programmatically. This API follows the [standard sourcehut API
conventions](../api-conventions.md).
conventions](/api-conventions.md).

## Authentication



@@ 20,7 20,7 @@ flow](../oauth-api.md). The following OAuth scopes are available for meta.sr.ht:
### User resource

meta.sr.ht expands on the [standard user
resource](../api-conventions.md#user-resource).
resource](/api-conventions.md#user-resource).

```json
{


@@ 207,7 207,7 @@ Deletes this PGP key resource.
### /api/user/...

Webhook for user events. Includes the [standard webhook
endpoints](../api-conventions.md#webhooks)
endpoints](/api-conventions.md#webhooks)

#### profile:update


M paste.sr.ht/api.md => paste.sr.ht/api.md +2 -2
@@ 4,7 4,7 @@ title: paste.sr.ht API reference

The paste.sr.ht API allows you to browse and create pastes on paste.sr.ht
programmatically. This API follows the [standard sourcehut API
conventions](../api-conventions.md).
conventions](/api-conventions.md).

## Authentication



@@ 101,7 101,7 @@ Retrieves a [blob resource](#blob-resource).
### /api/pastes/...

Webhook for paste events. Includes the [standard webhook
endpoints](../api-conventions.md#webhooks)
endpoints](/api-conventions.md#webhooks)

#### paste:create


M todo.sr.ht/api.md => todo.sr.ht/api.md +1 -1
@@ 518,7 518,7 @@ The new [ticket resource](#ticket-resource).
### /api/user/:username/trackers/:tracker-name/tickets/:ticket-id

Webhook for ticket events. Includes the [standard webhook
endpoints](../api-conventions.md#webhooks)
endpoints](/api-conventions.md#webhooks)

#### ticket:update