Notifications

Operations related to the notifications

Get notifications

get
/notifications

Get notifications by user

Authorizations
Query parameters
lastDaysintegerOptional

The number of last days to fetch notifications from

sortstringOptional

The sort by field

Example: {"value":"createdAt"}
limitintegerOptional

The limit of per page

Default: 10
pageintegerOptional

The current page

Default: 1
Responses
200

OK

application/json
Responseall of
and
get
/notifications
GET /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?