Add missing path params

This commit is contained in:
Richard van der Hoff 2023-04-25 15:48:55 +01:00
parent d4b1f1eaa7
commit 2ce83195a5

View file

@ -109,6 +109,20 @@ paths:
operationId: uploadContentToMXC
x-addedInMatrixVersion: "1.7"
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
name: Content-Type
type: string