Get the notifications that belong to the current user
GET/notifications.json
Get the notifications that belong to the current user
Responses
- 200
notifications
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
notifications object[]
id integerrequired
user_id integerrequired
notification_type integerrequired
read booleanrequired
created_at stringrequired
post_number integernullrequired
topic_id integernullrequired
slug stringnullrequired
data object
badge_id integerrequired
badge_name stringrequired
badge_slug stringrequired
badge_title booleanrequired
username stringrequired
total_rows_notifications integerrequired
seen_notification_id integerrequired
load_more_notifications stringrequired
{
"notifications": [
{
"id": 0,
"user_id": 0,
"notification_type": 0,
"read": true,
"created_at": "string",
"data": {
"badge_id": 0,
"badge_name": "string",
"badge_slug": "string",
"badge_title": true,
"username": "string"
}
}
],
"total_rows_notifications": 0,
"seen_notification_id": 0,
"load_more_notifications": "string"
}
Loading...