Redesign social conversations and shared music
ci / api / api (push) Successful in 19m12s
ci / ts / ts (packages + web) (push) Successful in 2m44s
ci / module boundaries / boundaries (push) Successful in 18m23s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 59s
ci / db / db (push) Failing after 18s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m18s
ci / api / api (push) Successful in 19m12s
ci / ts / ts (packages + web) (push) Successful in 2m44s
ci / module boundaries / boundaries (push) Successful in 18m23s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 59s
ci / db / db (push) Failing after 18s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m18s
This commit is contained in:
1 parent
11a16cd023
commit
1a693848f2
23 files changed
+1145
-579
No files matched your search
@@ -194,6 +194,10 @@ paths:
|
||||
- in: query
|
||||
name: q
|
||||
schema: {type: string, maxLength: 100}
|
||||
- in: query
|
||||
name: music
|
||||
description: Only non-deleted track and playlist attachments, with the same history pagination.
|
||||
schema: {type: boolean, default: false}
|
||||
responses:
|
||||
'200':
|
||||
description: Message page
|
||||
@@ -2361,6 +2365,18 @@ components:
|
||||
relationship: {type: string, enum: [none, incoming, outgoing, friend, blocked]}
|
||||
unread: {type: integer}
|
||||
activity: {$ref: '#/components/schemas/ListeningActivity'}
|
||||
last_message: {$ref: '#/components/schemas/SocialMessagePreview'}
|
||||
SocialMessagePreview:
|
||||
type: object
|
||||
description: Latest message in a current friendship, without marking it read. Deleted content is never returned.
|
||||
required: [id, sender_id, text, attachment_kind, created_at, deleted]
|
||||
properties:
|
||||
id: {type: string, format: uuid}
|
||||
sender_id: {type: string, format: uuid}
|
||||
text: {type: string}
|
||||
attachment_kind: {type: string, enum: [none, track, playlist]}
|
||||
created_at: {type: string, format: date-time}
|
||||
deleted: {type: boolean}
|
||||
SocialNotification:
|
||||
type: object
|
||||
required: [id, actor_id, actor_name, kind, created_at, read]
|
||||
|
||||
Reference in new issue
Block a user