From 2ce83195a5e18e1618f5a4468b2207d332e5cd18 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 25 Apr 2023 15:48:55 +0100 Subject: [PATCH] Add missing path params --- data/api/client-server/content-repo.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/data/api/client-server/content-repo.yaml b/data/api/client-server/content-repo.yaml index c9696f6c..f80d9e8f 100644 --- a/data/api/client-server/content-repo.yaml +++ b/data/api/client-server/content-repo.yaml @@ -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