mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 22:07:55 +00:00
feat(api): add autoproxy endpoints
This commit is contained in:
parent
67ce371e7e
commit
c87979ef03
6 changed files with 152 additions and 6 deletions
|
|
@ -60,6 +60,40 @@ Takes a partial [system guild settings](/api/models#system-guild-settings-model)
|
|||
|
||||
Returns a [system guild settings](/api/models#system-guild-settings-model) object on success.
|
||||
|
||||
### Get System Autoproxy Settings
|
||||
|
||||
GET `/systems/@me/autoproxy`
|
||||
|
||||
Query String Parameters
|
||||
|name|type|
|
||||
|---|---|
|
||||
|guild_id?|snowflake|
|
||||
|channel_id?|snowflake|
|
||||
|
||||
Returns an [autoproxy settings](/api/models/#autoproxy-settings-model) object on success.
|
||||
|
||||
::: warning
|
||||
Currently, only autoproxy with `guild_id` is supported. The API will return an error message if you specify `channel_id`, or do not specify a `guild_id`.
|
||||
:::
|
||||
|
||||
### Update System Autoproxy Settings
|
||||
|
||||
PATCH `/systems/@me/autoproxy`
|
||||
|
||||
Query String Parameters
|
||||
|name|type|
|
||||
|---|---|
|
||||
|guild_id?|snowflake|
|
||||
|channel_id?|snowflake|
|
||||
|
||||
Takes a partial [autoproxy settings](/api/models/#autoproxy-settings-model) object.
|
||||
|
||||
Returns an [autoproxy settings](/api/models/#autoproxy-settings-model) object on success.
|
||||
|
||||
::: warning
|
||||
Currently, only autoproxy with `guild_id` is supported. The API will return an error message if you specify `channel_id`, or do not specify a `guild_id`.
|
||||
:::
|
||||
|
||||
---
|
||||
## Members
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue