me
Get a notification's details.
Changed onThis endpoint will retrieve the details of a notification.
get/me/notifications/{notificationUUID}
Request
- Base URLhttps://api.kurozora.app/v1
- URLhttps://api.kurozora.app/v1/me/notifications/{notificationUUID}
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
notificationUUIDstring required
UUID of the notification to be retrieved.
Response
Successful POST Notifications Details JSON response
object required
Example response
{
"data": {
"id": "1094845f-c175-462d-8aec-9bbad4af232f",
"type": "notifications",
"href": "/v1/me/notifications/1094845f-c175-462d-8aec-9bbad4af232f",
"attributes": {
"type": "NewSession",
"isRead": true,
"data": {
"id": 2,
"ip": "127.0.0.1"
},
"string": "A new client has logged in to your account. (IP: 127.0.0.1)",
"createdAt": 1524009600
}
}
}Changes
- info
the endpoint scheme security
apiKeywas added to the API
- info
- info
added the non-success response with the status
- info