Notifications
Operations related to the notifications
Get notifications by user
Authorizations
Query parameters
lastDaysintegerOptional
The number of last days to fetch notifications from
sortstringOptionalExample:
The sort by field
{"value":"createdAt"}
limitintegerOptionalDefault:
The limit of per page
10
pageintegerOptionalDefault:
The current page
1
Responses
200
OK
application/json
Responseall of
and
401
Unauthorized
application/json
403
Forbidden
application/json
get
/notificationsGET /api/notifications HTTP/1.1
Host: abp-api.akinon.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"totalDocs": 100,
"limit": 10,
"page": 1,
"totalPages": 10,
"pagingCounter": 1,
"hasPrevPage": false,
"hasNextPage": true,
"prevPage": 1,
"nextPage": 3,
"docs": []
}
Last updated
Was this helpful?