mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 22:14:10 +01:00
Add missing path params
This commit is contained in:
parent
d4b1f1eaa7
commit
2ce83195a5
|
|
@ -109,6 +109,20 @@ paths:
|
||||||
operationId: uploadContentToMXC
|
operationId: uploadContentToMXC
|
||||||
x-addedInMatrixVersion: "1.7"
|
x-addedInMatrixVersion: "1.7"
|
||||||
parameters:
|
parameters:
|
||||||
|
- in: path
|
||||||
|
type: string
|
||||||
|
name: serverName
|
||||||
|
x-example: matrix.org
|
||||||
|
required: true
|
||||||
|
description: |
|
||||||
|
The server name from the `mxc://` URI returned by `POST /_matrix/media/v1/create` (the authoritory component).
|
||||||
|
- in: path
|
||||||
|
type: string
|
||||||
|
name: mediaId
|
||||||
|
x-example: ascERGshawAWawugaAcauga
|
||||||
|
required: true
|
||||||
|
description: |
|
||||||
|
The media ID from the `mxc://` URI returned by `POST /_matrix/media/v1/create` (the path component).
|
||||||
- in: header
|
- in: header
|
||||||
name: Content-Type
|
name: Content-Type
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue