Last active
August 1, 2022 15:08
-
-
Save MyFRA/b1a4d71d154b2f0ace93aa89e7eebfea to your computer and use it in GitHub Desktop.
Api Notification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"total": 153, | |
"notifications": [ | |
{ | |
"id": 253, | |
"icon": "http://some-picture.png", | |
"title": "Notification Title", | |
"description": "lorem ipsum dolor sit amet", | |
"is_open": false, | |
"type": "private", | |
"created_at": "2022-09-21 23:59:59", | |
"target_screen": Tbd | |
} | |
] | |
} | |
} |
QueryParam: {
page: number (number of page),
size: number (size of page)
}
Response:
- [1] total: contains amount total of notifications
- [1] notifications: array of object, contain all notifications
- [2] id: identity of notification
- [2] icon: image icon url
- [2] title: notification title
- [2] description: description of notification
- [2] is_open: boolean status notification, is open or not
- [2] type: contain type of notification enum [private, public]
- [2] created_at: when notification is created, format Y-m-d H:i:s
- [2] target_screen: Tbd (To be discussed)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Headers: {
Authorization: 'Bearer ' + token
}