|
|
|
@ -55,7 +55,6 @@ paths:
|
|
|
|
|
"content": {
|
|
|
|
|
"msgtype": "m.text",
|
|
|
|
|
"body": "I'm floating in a most peculiar way."
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"counts": {
|
|
|
|
|
"unread" : 2,
|
|
|
|
@ -73,11 +72,14 @@ paths:
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
required: ["notification", "counts", "devices"]
|
|
|
|
|
}
|
|
|
|
|
required: ["notification"]
|
|
|
|
|
properties:
|
|
|
|
|
notification:
|
|
|
|
|
type: object
|
|
|
|
|
title: Notification
|
|
|
|
|
description: Information about the push notification
|
|
|
|
|
required: ["devices"]
|
|
|
|
|
properties:
|
|
|
|
|
event_id:
|
|
|
|
|
type: string
|
|
|
|
@ -138,6 +140,7 @@ paths:
|
|
|
|
|
event had no content field, this field is omitted.
|
|
|
|
|
counts:
|
|
|
|
|
type: object
|
|
|
|
|
title: Counts
|
|
|
|
|
description: |-
|
|
|
|
|
This is a dictionary of the current number of unacknowledged
|
|
|
|
|
communications for the recipient user. Counts whose value is
|
|
|
|
@ -160,6 +163,7 @@ paths:
|
|
|
|
|
This is an array of devices that the notification should be sent to.
|
|
|
|
|
items:
|
|
|
|
|
type: object
|
|
|
|
|
title: Device
|
|
|
|
|
properties:
|
|
|
|
|
app_id:
|
|
|
|
|
type: string
|
|
|
|
|