Skip to content

Notification Data

Defines the structure of the notification data resource.

Utilized by:

Schema

{
"user_avatar": "string",
"notification_message": [
{
"id": 0,
"value": "string",
"type": 0
},
{
"id": 0,
"value": "string",
"type": 0
},
{
"id": 57,
"value": "string",
"type": 0
}
]
}

Example

{
"user_avatar": "http://localhost:8080/api/account/avatar/2?version=8",
"notification_message": [
{
"id": 16,
"value": "Jane Doe",
"type": 2
},
{
"id": 225,
"value": "commented on the photo you uploaded in the",
"type": 5
},
{
"id": 43,
"value": "Sample Outing",
"type": 1
}
]
}

Properties

user_avatar

Description: The URL of the user’s avatar
Data Type: Integer
Nullable: No

notification_message

Description: The parts of the notification message
Data Type: Array of objects
Nullable: No
Resource: Notification Message