mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Add notification counts to doc
This commit is contained in:
parent
5c1bc0eb80
commit
a78dff3981
|
|
@ -146,6 +146,22 @@ paths:
|
||||||
this room.
|
this room.
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "definitions/event_batch.yaml"
|
- $ref: "definitions/event_batch.yaml"
|
||||||
|
"unread_notifications":
|
||||||
|
title: Unread Notification Counts
|
||||||
|
type: object
|
||||||
|
description: |-
|
||||||
|
Counts of unread notifications for this room
|
||||||
|
properties:
|
||||||
|
highlight_count:
|
||||||
|
title: Highlighted notification count
|
||||||
|
type: integer
|
||||||
|
description: The number of unread notifications
|
||||||
|
for this room with the highlight flag set
|
||||||
|
notification_count:
|
||||||
|
title: Total notification count
|
||||||
|
type: integer
|
||||||
|
description: The total number of unread notifications
|
||||||
|
for this room
|
||||||
invite:
|
invite:
|
||||||
title: Invited Rooms
|
title: Invited Rooms
|
||||||
type: object
|
type: object
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue