AppNotification

Request

Fields when send to the api inside a request.

Field Type Description
title String Title of the notification
message String Message
send_at DateTime When to send the notification in UTC

Response

Fields when returned by the api in a response.

Field Type Description
title String Title of the notification
message String Message
send_at DateTime When to send the notification in UTC
id Int Id of the notification
sent Bool A boolean value

Examples

Request

When used inside a request.

Example 1

{
    "title": "...",
    "message": "...",
    "send_at": "2019-01-31 12:00:00"
}

Response

When returned in a response.

Example 1

{
    "title": "...",
    "message": "...",
    "send_at": "2019-01-31 12:00:00",
    "id": 15,
    "sent": false
}
1.9.0 stable