Skip to content

A example of extension of WebServices. This example will show count for unread messages based on each user.

Notifications You must be signed in to change notification settings

opensource-socialnetwork/UnreadMessagesCountAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UnreadMessagesCountAPI

A example of extension of WebServices. This example will show count for unread messages based on each user.

Endpoint

CURL https://www.yourwebsite.com/api/v1.0/unread_mesages_count_custom?api_key_token=<token>&guid=<user guid>

Response

{
    "merchant": "Open Source Social Network",
    "url": "https:\/\/local.opensource-socialnetwork.org\/",
    "time_token": 1604857576,
    "payload": [
        {
            "total": 2,
            "message_from": 3
        },
        {
            "total": 1,
            "message_from": 2
        }
    ],
    "code": "100",
    "message": "Request successfully executed"
}

About

A example of extension of WebServices. This example will show count for unread messages based on each user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages