https://github.com/opensource-socialnetwork/unreadmessagescountapi
A example of extension of WebServices. This example will show count for unread messages based on each user.
https://github.com/opensource-socialnetwork/unreadmessagescountapi
Last synced: 17 days ago
JSON representation
A example of extension of WebServices. This example will show count for unread messages based on each user.
- Host: GitHub
- URL: https://github.com/opensource-socialnetwork/unreadmessagescountapi
- Owner: opensource-socialnetwork
- Created: 2020-11-08T17:43:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-12T17:25:14.000Z (over 4 years ago)
- Last Synced: 2025-12-12T21:35:48.837Z (6 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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=&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"
}
```