user sync in marker
curl --request GET \
--url https://apix.us.amity.co/realtime/marker.marker.user-sync{
"userMarkers": [
{
"userId": "<string>",
"lastSyncAt": "2023-11-07T05:31:56Z",
"unreadCount": 123,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"userFeedMarkers": [
{
"userId": "<string>",
"entityId": "<string>",
"feedId": "<string>",
"readToSegment": 123,
"deliveredToSegment": 123,
"unreadCount": 123,
"lastMentionSegment": 123,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"userEntityMarkers": [
{
"userId": "<string>",
"entityId": "<string>",
"unreadCount": 123,
"isDeleted": true,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Realtime event
user sync in marker
GET
/
realtime
/
marker.marker.user-sync
user sync in marker
curl --request GET \
--url https://apix.us.amity.co/realtime/marker.marker.user-sync{
"userMarkers": [
{
"userId": "<string>",
"lastSyncAt": "2023-11-07T05:31:56Z",
"unreadCount": 123,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"userFeedMarkers": [
{
"userId": "<string>",
"entityId": "<string>",
"feedId": "<string>",
"readToSegment": 123,
"deliveredToSegment": 123,
"unreadCount": 123,
"lastMentionSegment": 123,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"userEntityMarkers": [
{
"userId": "<string>",
"entityId": "<string>",
"unreadCount": 123,
"isDeleted": true,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}⌘I