Skip to content

Commit

Permalink
Add media attachment description limit (#1567)
Browse files Browse the repository at this point in the history
* Add media `description_limit` to instance

* Add media `description_limit` to instance
  • Loading branch information
mjankowski authored Dec 4, 2024
1 parent 2e40eec commit afe3b8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/en/entities/Instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.\
Expand Down
1 change: 1 addition & 0 deletions content/en/methods/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit afe3b8f

Please sign in to comment.