mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Add description_limit
to /api/v2/instance
, increase default limit to 5k (#4140)
Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4131 by adding `description_limit` to the `api/v2/instance` response. Also increases default sizes to default status length to allow people to more easily describe things like screenshots of text. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4140 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
@@ -50,9 +50,9 @@ media-remote-max-size: 40MiB
|
||||
media-description-min-chars: 0
|
||||
|
||||
# Int. Maximum amount of characters permitted in an image or video description.
|
||||
# Examples: [1000, 1500, 3000]
|
||||
# Default: 1500
|
||||
media-description-max-chars: 1500
|
||||
# Examples: [1000, 5000, 10000]
|
||||
# Default: 5000
|
||||
media-description-max-chars: 5000
|
||||
|
||||
# Size. Max size in bytes of emojis uploaded to this instance via the admin API.
|
||||
#
|
||||
|
Reference in New Issue
Block a user