feat(recommendations): collect demographics and advance age cohorts
ci / ts / ts (packages + web) (push) Successful in 3m19s
ci / db / db (push) Successful in 53s
ci / module boundaries / boundaries (push) Successful in 7s
ci / api / api (push) Successful in 51s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m3s
ci / recommender / recommender (push) Failing after 16s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m15s
ci / ts / ts (packages + web) (push) Successful in 3m19s
ci / db / db (push) Successful in 53s
ci / module boundaries / boundaries (push) Successful in 7s
ci / api / api (push) Successful in 51s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m3s
ci / recommender / recommender (push) Failing after 16s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m15s
This commit is contained in:
1 parent
e158558da3
commit
fff91c446b
24 files changed
+778
-324
No files matched your search
+18
-2
@@ -1427,9 +1427,10 @@ paths:
|
||||
get:
|
||||
operationId: getOnboarding
|
||||
tags: [wave]
|
||||
summary: Онбординг вкуса — исполнители и жанры библиотеки для выбора
|
||||
summary: Анкета рекомендаций — варианты, сохранённые ответы и необходимость заполнения
|
||||
description: |
|
||||
`required` — показать онбординг: пользователь его не проходил и не пропускал, а своей истории почти нет.
|
||||
`required` — пользователь не проходил и не пропускал анкету либо администратор сбросил рекомендации.
|
||||
`choice` содержит ответы с текущей приблизительной возрастной группой; исходная группа и год хранятся на сервере.
|
||||
responses:
|
||||
"200":
|
||||
description: Варианты и состояние
|
||||
@@ -1819,6 +1820,8 @@ components:
|
||||
properties:
|
||||
required:
|
||||
type: boolean
|
||||
choice:
|
||||
$ref: "#/components/schemas/OnboardingChoice"
|
||||
artists:
|
||||
type: array
|
||||
items:
|
||||
@@ -1854,6 +1857,19 @@ components:
|
||||
type: object
|
||||
required: [artist_ids, genres]
|
||||
properties:
|
||||
gender:
|
||||
type: string
|
||||
nullable: true
|
||||
enum: [male, female, other]
|
||||
age_group:
|
||||
type: string
|
||||
nullable: true
|
||||
enum: [under_13, "13_19", "20_29", "30_39", "40_49", "50_59", 60_plus]
|
||||
description: Текущая приблизительная возрастная группа. Сервер хранит год выбора и учитывает прошедшие годы.
|
||||
age_group_year:
|
||||
type: integer
|
||||
readOnly: true
|
||||
description: Год последнего выбора возрастной группы.
|
||||
artist_ids:
|
||||
type: array
|
||||
maxItems: 50
|
||||
|
||||
Reference in new issue
Block a user