1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Add media attachment description limit (#1567)

* Add media `description_limit` to instance

* Add media `description_limit` to instance
This commit is contained in:
Matt Jankowski 2024-12-04 10:10:24 -05:00 committed by GitHub
parent 2e40eecb12
commit afe3b8f3f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -101,6 +101,7 @@ aliases: [
"audio/3gpp",
"video/x-ms-asf"
],
"description_limit": 1500,
"image_size_limit": 10485760,
"image_matrix_limit": 16777216,
"video_size_limit": 41943040,
@ -391,6 +392,13 @@ aliases: [
**Version history:**\
4.0.0 - added
##### `configuration[media_attachments][description_limit]` {#description_limit}
**Description:** The maximum size of a description, in characters.\
**Type:** Integer\
**Version history:**\
4.4.0 - added
##### `configuration[media_attachments][image_size_limit]` {#image_size_limit}
**Description:** The maximum size of any uploaded image, in bytes.\

View File

@ -122,6 +122,7 @@ Obtain general information about the server.
"audio/3gpp",
"video/x-ms-asf"
],
"description_limit": 1500,
"image_size_limit": 10485760,
"image_matrix_limit": 16777216,
"video_size_limit": 41943040,