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

Add notification counts to doc
This commit is contained in:
David Baker 2016-03-10 14:10:44 +00:00
commit 39fe9e3896

View file

@ -146,6 +146,22 @@ paths:
this room.
allOf:
- $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:
title: Invited Rooms
type: object