Update content-repo.yaml

pull/977/head
Will Hunt 6 years ago committed by GitHub
parent ddc152347b
commit 80935eadcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -273,13 +273,13 @@ paths:
get:
summary: Get the configuration for the media repository.
Clients SHOULD use this as a guide when uploading content.
All values are intentionally left optional, the client MUST assume
that any field not given is not limited.
All values are intentionally left optional. Clients SHOULD follow
the advise given in the field description when the field is not avaliable.
**NOTE:** Reverse proxies may apply their own configuration.
If an accessToken is supplied, the configuration applied to the authenticated user.
If an accessToken is supplied, the configuration applied to the authenticated user is returned.
Otherwise it should give the configuration applied globally to the server.
operationId: getConfig
produces: ["application/json"]
@ -293,7 +293,9 @@ paths:
properties:
m.upload.size:
type: number
description: "The maximum size an upload can be in bytes."
description: |-
The maximum size an upload can be in bytes. If not listed or null,
the upload limit should be treated as unknown.
examples:
application/json: {
"m.upload.size": 50000000

Loading…
Cancel
Save