From 898e3f18b4e2618f8773806e680b3978a71a9a63 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Tue, 25 Apr 2023 17:21:00 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Sumner Evans --- data/api/client-server/content-repo.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/api/client-server/content-repo.yaml b/data/api/client-server/content-repo.yaml index 12bed2bf..1f336ec9 100644 --- a/data/api/client-server/content-repo.yaml +++ b/data/api/client-server/content-repo.yaml @@ -106,7 +106,7 @@ paths: summary: Upload content to an `mxc://` URI that was created earlier. description: |- 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 x-addedInMatrixVersion: "1.7" parameters: @@ -157,7 +157,7 @@ paths: - The server does not permit the file type. - The user has reached a quota for uploaded content. - 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) will be returned with the `errcode` `M_FORBIDDEN`.