Media

Get the configuration for the content repository.

NOTE: Replaced by GET /_matrix/client/v1/media/config.

This endpoint allows clients to retrieve the configuration of the content repository, such as upload limitations. Clients SHOULD use this as a guide when using content repository endpoints. All values are intentionally left optional. Clients SHOULD follow the advice given in the field description when the field is not available.

NOTE: Both clients and server administrators should be aware that proxies between the client and the server may affect the apparent behaviour of content repository APIs, for example, proxies may enforce a lower upload size limit than is advertised by the server on this endpoint.

get/_matrix/media/v3/config

Request

Response

The public content repository configuration for the matrix server.

m.upload.sizeinteger

The maximum size an upload can be in bytes. Clients SHOULD use this as a guide when uploading content. If not listed or null, the size limit should be treated as unknown.

Changes

No recorded changes to this operation across all 1 revision of this API.