mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 22:14:10 +01:00
Apply suggestions from code review
Co-authored-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
13cbb1c50e
commit
898e3f18b4
|
|
@ -106,7 +106,7 @@ paths:
|
||||||
summary: Upload content to an `mxc://` URI that was created earlier.
|
summary: Upload content to an `mxc://` URI that was created earlier.
|
||||||
description: |-
|
description: |-
|
||||||
This endpoint permits uploading content to an `mxc://` URI that was created
|
This endpoint permits uploading content to an `mxc://` URI that was created
|
||||||
earlier via [POST /_matrix/media/v1/create](/client-server-api/#post_matrixmediav3create).
|
earlier via [POST /_matrix/media/v1/create](/client-server-api/#post_matrixmediav1create).
|
||||||
operationId: uploadContentToMXC
|
operationId: uploadContentToMXC
|
||||||
x-addedInMatrixVersion: "1.7"
|
x-addedInMatrixVersion: "1.7"
|
||||||
parameters:
|
parameters:
|
||||||
|
|
@ -157,7 +157,7 @@ paths:
|
||||||
- The server does not permit the file type.
|
- The server does not permit the file type.
|
||||||
- The user has reached a quota for uploaded content.
|
- The user has reached a quota for uploaded content.
|
||||||
- The request comes from a different user than the one that called
|
- The request comes from a different user than the one that called
|
||||||
[POST /_matrix/media/v1/create](/client-server-api/#post_matrixmediav3create).
|
[POST /_matrix/media/v1/create](/client-server-api/#post_matrixmediav1create).
|
||||||
|
|
||||||
A [standard error response](/client-server-api/#standard-error-response)
|
A [standard error response](/client-server-api/#standard-error-response)
|
||||||
will be returned with the `errcode` `M_FORBIDDEN`.
|
will be returned with the `errcode` `M_FORBIDDEN`.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue