Notification
This model represents a notification.
| Property | Type | Description | Information |
|---|---|---|---|
id | string | Identifier | Unique for single notification. |
type | string | Notification class | Read-only. |
data | array | Detail of notification | Read-only. |
read_at | DateTime or null | Notification read date and time | |
created_at | DateTime | Notification creation date and time | Read-only. |
updated_at | DateTime | Notification update date and time | Read-only. |
Example:
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "App\\Containers\\Tasks\\Notifications\\TaskPastDeadlineNotification",
"data": {
"id": "14443236-342a-4de1-acb9-fcabc0b19334",
"type": "notification.task_past_deadline",
"task_id": 1,
"task_name": "Collect client requirements"
},
"read_at": "2022-04-28T13:25:12+0200",
"created_at": "2022-04-28T13:25:12+0200",
"_links": [
{
"href": "/api/v0/notifications/123e4567-e89b-12d3-a456-426614174000",
"rel": "self",
"type": "GET"
}
]
}