mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Update documentation for /api/v1/accounts/update_credentials
(#1302)
This was missing `source[language]` as well as `hide_collections` and the upcoming `indexable`.
This commit is contained in:
parent
251612178d
commit
70f4386efd
@ -313,7 +313,10 @@ Update the user's display and preferences.
|
||||
1.1.1 - added\
|
||||
2.3.0 - added `locked` parameter\
|
||||
2.4.0 - added `source[privacy,sensitive]` parameters\
|
||||
2.7.0 - added `discoverable` parameter
|
||||
2.4.2 - added `source[language]` parameter\
|
||||
2.7.0 - added `discoverable` parameter\
|
||||
4.1.0 - added `hide_collections` parameter\
|
||||
4.2.0 - added `indexable` parameter
|
||||
|
||||
#### Request
|
||||
|
||||
@ -345,6 +348,12 @@ bot
|
||||
discoverable
|
||||
: Boolean. Whether the account should be shown in the profile directory.
|
||||
|
||||
hide_collections
|
||||
: Boolean. Whether to hide followers and followed accounts.
|
||||
|
||||
indexable
|
||||
: Boolean. Whether public posts should be searchable to anyone.
|
||||
|
||||
fields_attributes
|
||||
: Hash. The profile fields to be set. Inside this hash, the key is an integer cast to a string (although the exact integer does not matter), and the value is another hash including `name` and `value`. By default, max 4 fields.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user