Update content-repo.yaml
This commit is contained in:
parent
ddc152347b
commit
80935eadcf
1 changed files with 6 additions and 4 deletions
|
@ -273,13 +273,13 @@ paths:
|
||||||
get:
|
get:
|
||||||
summary: Get the configuration for the media repository.
|
summary: Get the configuration for the media repository.
|
||||||
Clients SHOULD use this as a guide when uploading content.
|
Clients SHOULD use this as a guide when uploading content.
|
||||||
All values are intentionally left optional, the client MUST assume
|
All values are intentionally left optional. Clients SHOULD follow
|
||||||
that any field not given is not limited.
|
the advise given in the field description when the field is not avaliable.
|
||||||
|
|
||||||
**NOTE:** Reverse proxies may apply their own configuration.
|
**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.
|
Otherwise it should give the configuration applied globally to the server.
|
||||||
operationId: getConfig
|
operationId: getConfig
|
||||||
produces: ["application/json"]
|
produces: ["application/json"]
|
||||||
|
@ -293,7 +293,9 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
m.upload.size:
|
m.upload.size:
|
||||||
type: number
|
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:
|
examples:
|
||||||
application/json: {
|
application/json: {
|
||||||
"m.upload.size": 50000000
|
"m.upload.size": 50000000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue