feat(api): add autoproxy endpoints

This commit is contained in:
spiral
2022-06-02 13:32:31 -04:00
parent 67ce371e7e
commit c87979ef03
6 changed files with 152 additions and 6 deletions

View File

@@ -124,7 +124,14 @@ Every PluralKit entity has two IDs: a short (5-character) ID and a longer UUID.
|tag|?string|79-character limit|
|tag_enabled|boolean||
<!--
### Autoproxy settings model
|key|type|notes|
|---|---|---|
|autoproxy_mode|[autoproxy mode](#autoproxy-mode-enum)||
|autoproxy_member|?member id|must be `null` if autoproxy_mode is set to `front`|
|last_latch_timestamp|?datetime|read-only|
#### Autoproxy mode enum
|key|description|
@@ -133,7 +140,6 @@ Every PluralKit entity has two IDs: a short (5-character) ID and a longer UUID.
|front|autoproxy is set to the first member in the current fronters list, or disabled if the current switch contains no members|
|latch|autoproxy is set to the last member who sent a proxied message in the server|
|member|autoproxy is set to a specific member (see `autoproxy_member` key)|
-->
### Member guild settings model