Get notifications
GET/notifications
Get notifications
Request
Query Parameters
type string
Notification type
importance integer
Minimum importance level
startDate date-time
Search by start date
endDate date-time
Search by end date
page integer
Possible values: >= 1
Default value: 1
Specify the page number for pagination (default is 1).
limit integer
Default value: 10
Specify the number of results per page (default is 10, 0 gets all results).
sortBy string
Possible values: [createdAt
, type
]
Field to order the results by (e.g., 'createdAt'). Default is 'createdAt'.
sortOrder string
Possible values: [asc
, desc
]
Default value: desc
'asc' for ascending or 'desc' for descending order. Default is 'desc'.
Responses
- 200
- 403
- 500
- default
Notifications successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
type string
owner address (string)
importance integer
id notificationId (string)
Unique identifier for notfication
[
{
"type": "string",
"owner": "string",
"importance": 0,
"id": "string"
}
]
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...