Merge pull request #284 from matrix-org/dbkr/notification_counts

Add notification counts to doc
pull/977/head
David Baker 9 years ago
commit 39fe9e3896

@ -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…
Cancel
Save