Ir al contenido

Notifications

NotificationsController_findAll

GET
/notifications
curl --request GET \
--url 'https://api.inspow.tech/api/v1/notifications?limit=10&offset=0&sortBy=createdAt&sortOrder=asc&sort=%7B%22lastName%22%3A%20-1%2C%20%22email%22%3A%201%7D'
limit
required
number
Example
10

Number of items to return

offset
required
number
Example
0

Number of items to skip

sortBy
string
Example
createdAt

Field to sort the results (Deprecated, use sort instead)

sortOrder
string
Example
asc

Sort direction, either asc or desc (Deprecated, use sort instead)

searchQuery
string

Query search to filter items

query
string

Query to filter items in MongoDB query format

sort
string
Example
{"lastName": -1, "email": 1}

JSON string specifying sorting fields and order (e.g. { “lastName”: -1, “email”: 1 })