From 4c440cedcc19a97f38356de67388bbaab65ab997 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 11 May 2021 21:44:27 +0200 Subject: [PATCH] add rating field for video like endpoint in openapi spec closes #4080 --- support/doc/api/openapi.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index c201b52ba..20790faaa 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -2957,6 +2957,17 @@ paths: - Video Rates parameters: - $ref: '#/components/parameters/idOrUUID' + requestBody: + content: + application/json: + schema: + type: object + properties: + rating: + type: string + enum: + - like + - dislike responses: '204': description: successful operation