mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +00:00
fix: misc docs stuff
This commit is contained in:
parent
b8e2ebd470
commit
8854063fe9
3 changed files with 3 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ permalink: /api/dispatch
|
||||||
|
|
||||||
# Dispatch Webhooks
|
# Dispatch Webhooks
|
||||||
|
|
||||||
Dispatch webhooks are a way to get notified when you update your system information on PluralKit. It can be used for integrations where you want to perform some action when you run a bot command on Discord, but also don't want to (or can't) set up a Discord bot to listem to messages.
|
Dispatch webhooks are a way to get notified when you update your system information on PluralKit. It can be used for integrations where you want to perform some action when you run a bot command on Discord, but also don't want to (or can't) set up a Discord bot to listen to messages.
|
||||||
|
|
||||||
You will need a publicly-accessible webserver that can receive and process JSON-formatted POST requests.
|
You will need a publicly-accessible webserver that can receive and process JSON-formatted POST requests.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ permalink: /api/legacy
|
||||||
# Legacy API documentation
|
# Legacy API documentation
|
||||||
::: warning
|
::: warning
|
||||||
This is the documentation for v1 of the PluralKit API. Please use v2 going forwards - v1 is deprecated and will be removed eventually.
|
This is the documentation for v1 of the PluralKit API. Please use v2 going forwards - v1 is deprecated and will be removed eventually.
|
||||||
|
:::
|
||||||
|
|
||||||
## Models
|
## Models
|
||||||
The following three models (usually represented in JSON format) represent the various objects in PluralKit's API.
|
The following three models (usually represented in JSON format) represent the various objects in PluralKit's API.
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,7 @@ system's token (as described above) will override these privacy settings and sho
|
||||||
|
|
||||||
## Rate Limiting
|
## Rate Limiting
|
||||||
|
|
||||||
By default, there is a per-IP limit of 2 requests per second across the API. If you exceed this limit, you will get a 429 response code with a [rate limit error](#) body .....
|
By default, there is a per-IP limit of 2 requests per second across the API. If you exceed this limit, you will get a 429 response code and will have to try again later.
|
||||||
|
|
||||||
todo: this isn't implemented yet.
|
|
||||||
|
|
||||||
## Community API Libraries
|
## Community API Libraries
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue