diff --git a/CHANGELOG.md b/CHANGELOG.md index cc0d15ebbb41788b9646f3c0579f0f6e867b9026..7adc8c2bf7ed625ef7044a7bb67cb9df1ee15b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,13 +100,16 @@ path/server, for example, then you can simply update the path in the config for * **Mandatory configuration change**: You must add datastore IDs to your datastore configuration, as matrix-media-repo will no longer manage datastores for you. * Datastores no longer use the `enabled` flag set on them. Use `forKinds: []` instead. * Some admin endpoints for purging media, quarantining media, and background task information now require additional path components. - * - | Old endpoint | New endpoint | - |----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------| - | `POST /_matrix/media/unstable/admin/purge/<server>/<media id>?access_token=your_access_token` | `POST /_matrix/media/unstable/admin/purge/media/<server>/<media id>?access_token=your_access_token` | - | `POST /_matrix/media/unstable/admin/quarantine/<server>/<media id>?access_token=your_access_token` | `POST /_matrix/media/unstable/admin/quarantine/media/<server>/<media id>?access_token=your_access_token` | - | `GET /_matrix/media/unstable/admin/tasks/<task ID>` | `GET /_matrix/media/unstable/admin/task/<task ID>` | + ```diff + -POST /_matrix/media/unstable/admin/purge/<server>/<media id>?access_token=your_access_token + +POST /_matrix/media/unstable/admin/purge/media/<server>/<media id>?access_token=your_access_token + -POST /_matrix/media/unstable/admin/quarantine/<server>/<media id>?access_token=your_access_token + +POST /_matrix/media/unstable/admin/quarantine/media/<server>/<media id>?access_token=your_access_token + + -GET /_matrix/media/unstable/admin/tasks/<task ID> + +GET /_matrix/media/unstable/admin/task/<task ID> + ``` * Per-user upload quotas now do not allow users to exceed the maximum values, even by 1 byte. Previously, users could exceed the limits by a little bit. * Updated to Go 1.19 * Logs are now less noisy by default.