From 592f10d191c36efa088a4e09214574191cbd69f2 Mon Sep 17 00:00:00 2001 From: kirill Date: Tue, 25 Feb 2025 14:03:41 +0600 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=81=D0=BC=D0=B5=D0=BD=D1=8B=20=D0=B0=D0=BD?= =?UTF-8?q?=D0=BE=D0=BD=D0=B8=D0=BC=D0=BD=D0=BE=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2/swagger.yaml | 59 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) diff --git a/v2/swagger.yaml b/v2/swagger.yaml index 2fd2c45..3fc1018 100644 --- a/v2/swagger.yaml +++ b/v2/swagger.yaml @@ -4245,13 +4245,13 @@ paths: - name: survey_type_id in: query description: > - Тип опроса + Тип опроса, можно перечислять через запятую * `1` - Обычный * `2` - ICSI * `360` - ICSI * `6` - Обратная связь schema: - type: number + type: string enum: - 1 - 2 @@ -4260,7 +4260,7 @@ paths: - name: survey_assignment_status_id in: query description: > - Статус прохождения опроса + Статус прохождения опроса, можно перечислять через запятую * `1` - Завершен * `2` - Не пройден" * `3` - В процессе" @@ -4314,6 +4314,59 @@ paths: 500: description: Server Error. + /survey-assignment/set-anonymous: + post: + tags: + - survey + summary: Смена анонимности в назначенном опросе. Можно менять если в survey.is_choice_anonymous = true + operationId: /survey-assignment/set-anonymous + parameters: + - name: id + in: query + description: id назначения + schema: + type: string + format: uuid + requestBody: + required: true + content: + application/json: + schema: + type: boolean + responses: + 200: + content: + application/json: + schema: + type: object + properties: + success: + description: Result status. + type: boolean + example: true + message: + type: object + default: null + properties: + type: string + text: string + errors: + description: Array of validation errors. + type: array + default: null + data: + type: object + 400: + description: Bad Request. + 401: + description: Unauthorized. + 403: + description: Forbidden. + 404: + description: Not found. + 500: + description: Server Error. + /survey-report/360: get: tags: