diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bb490e4..a8508274 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,6 +86,7 @@ max_emoji_description_size = 1000 - Fixed several issues with the [ActivityPub Federation Bridge](https://github.com/versia-pub/activitypub) preventing it from operating properly. - Fixed incorrect content-type on some media when using S3. - All media content-type is now correctly fetched, instead of guessed from the file extension. +- Added missing attributes to `/api/v1/instance` (some clients were expecting them). # `0.7.0` • The Auth and APIs Update diff --git a/api/api/v1/instance/index.ts b/api/api/v1/instance/index.ts index b45c9822..4f0e864e 100644 --- a/api/api/v1/instance/index.ts +++ b/api/api/v1/instance/index.ts @@ -72,6 +72,17 @@ export default apiRoute((app) => max_media_attachments: config.validation.max_media_attachments, }, + media_attachments: { + supported_mime_types: config.validation.allowed_mime_types, + image_size_limit: config.validation.max_media_size, + image_matrix_limit: config.validation.max_media_size, + video_size_limit: config.validation.max_media_size, + video_frame_rate_limit: config.validation.max_media_size, + video_matrix_limit: config.validation.max_media_size, + }, + accounts: { + max_featured_tags: 100, + }, }, description: config.instance.description, email: "",