Italiano
cURL
curl --request PUT \ --url https://app.aegister.com/api/v1/notifications/{id} \ --header 'X-Aegister-Token: <api-key>'
{ "error": 0, "messages": "<array>", "data": { "id": 123, "organization": { "id": 123, "name": "<string>", "logo": "<string>" }, "title": "<string>", "message": "<string>", "type": "info", "action": "link", "read": true, "datetime": "2023-11-07T05:31:56Z", "icon": "<string>", "extra": { "href": "<string>" } } }
Edit current authenticated user’s Notification.
This endpoint doesn’t actually edits Notification content, just sets it to read.
Any value different from 0 indicates an error. More details can be found in messages.
messages
0 <= x <= 0
If error is 1, contains zero or more details on the error.
error
1
Mostra attributi figli
Unique identifier for the notification.
Unique identifier for the Organization.
Organization common name.
Organization logo URL.
Subject of the notification.
Content of the notification.
Specify the level of priority of the notification
info
warning
The notification action type.
link
Specify if the notification has been read.
Timestamp of creation of the notification.
Notification icon classes. Classes are defined in FontAwesome.
Extra informations and details of the notification.
Redirect page on action.