mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Add member avatar privacy
This commit is contained in:
parent
27c8100cac
commit
ae4e8f97d0
13 changed files with 61 additions and 14 deletions
|
|
@ -625,6 +625,19 @@ components:
|
|||
Because of this, there is no way for an unauthorized user to tell the difference between a private description and a `null` description - this is intentional.
|
||||
example: public
|
||||
|
||||
avatar_privacy:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/PrivacySetting"
|
||||
- description: |
|
||||
The member's current avatar privacy setting, either "public" or "private".
|
||||
|
||||
If this is set to "private", the field `avatar_url` will be returned as `null` on all requests not authorized with this system's token.
|
||||
|
||||
In addition, this field will be returned as `null` if the request is not authorized with this system's token.
|
||||
|
||||
Because of this, there is no way for an unauthorized user to tell the difference between a private avatar and a `null` avatar - this is intentional.
|
||||
example: public
|
||||
|
||||
pronouns_privacy:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/PrivacySetting"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue