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:
parent
2e40eecb12
commit
afe3b8f3f0
@ -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.\
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user