From df5449fc9e338d878f82eafba8e03ae6befcfc8f Mon Sep 17 00:00:00 2001 From: ariesclark Date: Mon, 15 Apr 2024 22:06:17 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20vrchatap?= =?UTF-8?q?i/specification@e637b33b8633c5b89d17d72898f9f6336818057a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/openapi.yaml | 19 +++++++++++++++++++ openapi.yaml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dist/openapi.yaml b/dist/openapi.yaml index 551ab084..fb4fd5be 100644 --- a/dist/openapi.yaml +++ b/dist/openapi.yaml @@ -1363,6 +1363,8 @@ paths: responses: '200': $ref: '#/components/responses/NotificationResponse' + '400': + $ref: '#/components/responses/FriendBadRequestError' '401': $ref: '#/components/responses/MissingCredentialsError' '404': @@ -8890,6 +8892,23 @@ components: details: '{}' seen: false created_at: 2021-01-01T00:00:00.000Z + FriendBadRequestError: + description: Bad request error response when sending a friend request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + examples: + Users Already Friends: + value: + error: + message: Users are already friends + status_code: 400 + Already Sent a Friend Request: + value: + error: + message: This user has already been sent a friend request + status_code: 400 UserDoesntExistError: description: >- Error response when trying to send a friend request to a user which diff --git a/openapi.yaml b/openapi.yaml index 551ab084..fb4fd5be 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1363,6 +1363,8 @@ paths: responses: '200': $ref: '#/components/responses/NotificationResponse' + '400': + $ref: '#/components/responses/FriendBadRequestError' '401': $ref: '#/components/responses/MissingCredentialsError' '404': @@ -8890,6 +8892,23 @@ components: details: '{}' seen: false created_at: 2021-01-01T00:00:00.000Z + FriendBadRequestError: + description: Bad request error response when sending a friend request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + examples: + Users Already Friends: + value: + error: + message: Users are already friends + status_code: 400 + Already Sent a Friend Request: + value: + error: + message: This user has already been sent a friend request + status_code: 400 UserDoesntExistError: description: >- Error response when trying to send a friend request to a user which