feat: описание смены анонимности
This commit is contained in:
+56
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user