List notifications
GET
/notificationsContract
Parameter | Value |
|---|---|
| Section | notifications |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| after_id | query | no | integer | Return only notifications with an ID greater than this value (cursor) |
| limit | query | no | integer | Maximum number of notifications (1–200; otherwise defaults to 50) |
Responses
3 responses
Status | Description | Type |
|---|---|---|
200 | Response: {notifications: []database.Notification, readAt: timestamp} | object |
401 | Unauthorized | object |
500 | Internal server error | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }