curl --request GET \
--url https://apix.us.amity.co/api/v1/markers/user-message-feed \
--header 'Authorization: Bearer <token>'
{
"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"
}
],
"feedMarkers": [
{
"entityId": "<string>",
"feedId": "<string>",
"lastSegment": 123,
"isDeleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
Query Latest 100 user feed marker by a list of entity Id (channel id)
curl --request GET \
--url https://apix.us.amity.co/api/v1/markers/user-message-feed \
--header 'Authorization: Bearer <token>'
{
"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"
}
],
"feedMarkers": [
{
"entityId": "<string>",
"feedId": "<string>",
"lastSegment": 123,
"isDeleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
list of channel id (internal)
list of channel id (internal)
Get marker user message feed
The response is of type object
.