Fetch follow requests
Please use this (https://www.dailysportsupdated.com/mobile_api/follow_requests) API for accessing endpoint of user (follow requests) list
Get parameters
Field | Value | Remarks |
---|---|---|
offset | Last user offset ID | This is only needed when loading users of the pagination system. |
session_id | Access token ID (Optional) | E.g. de25cc16eb00960f076... |
page_size | Total users limit for each request | Recommended: 20 |
Success response
{
"code": 200,
"message": "Follow requiests fetched successfully",
"data": [
{
"offset_id": 43,
"id": 18,
"about": "",
"posts": 1,
"avatar": "http://colibri.loc/upload/avatars/xxx/xxx/rddNMSoS6S7cEgHO49Ch_20_45...b8_thumbnail_512x512.jpg",
"last_active": "21 Jun, 21 02:06 PM",
"username": "@john_smith",
"fname": "John",
"lname": "Smith",
"email": "john_smith@gmail.com",
"verified": "0",
"name": "John Smith",
"url": "http://colibri.loc/@john_smith",
"pending_req": true
},
{...}
]
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 204,
"message": "No data found",
"data": []
}
Approve follow requests
Please use this (https://www.dailysportsupdated.com/mobile_api/accept_follow) API for accessing endpoint of user (follow requests) accepting
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID (Optional) | E.g. de25cc16eb00960f076... |
req_id | Follow request int ID | E.g. 34 |
Success response
{
"message": "Subscription request successfully accepted",
"code": 200,
"data": {
"total": 0
}
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 400,
"message": "Follow request ID is missing or invalid",
"data": []
}
Delete follow requests
Please use this (https://www.dailysportsupdated.com/mobile_api/ignore_follow) API for accessing endpoint of user (follow requests) deleting. I.e. Ignoring requests
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID (Optional) | E.g. de25cc16eb00960f076... |
req_id | Follow request int ID | E.g. 34 |
Success response
{
"message": "Subscription request successfully deleted",
"code": 200,
"data": {
"total": 0
}
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 400,
"message": "Follow request ID is missing or invalid",
"data": []
}