Followings
Follow User
POST
/v1/users/{uuid}/follow
UUID represents the user you want to follow.
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
List User Followings
GET
/v1/users/{uuid}/followings
UUID represents the user you want to receive its followings.
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Request
Empty
Response
Empty
List User Followers
GET
/v1/users/{uuid}/followers
UUID parameter represents the user you want to receive its followers.
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Query name | Required | Description |
---|---|---|
search | No | String value filter by user first name and last name. |
Request
Empty
Response
Empty
List User Followings Info
GET
/v1/users/{uuid}/followings_info
UUID represents the user you want to receive its followings info.
Request
Empty
Response
Empty
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
List User Followers Info
GET
/v1/users/{uuid}/followers_info
UUID represents the user you want to receive its followers info.
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Request
Empty
Response
Empty
Unfollow User
POST
/v1/users/{uuid}/unfollow
UUID represents the user you want to unfollow.
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Get User Followers and Following Handler
GET
/v1/users/{uuid}/all_followings_info
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Query parameters
Name | Description |
---|---|
page_size | Number value that represents number of returned results |
current_page | Number value that represents offset of returned results |
search | String value filter by user first name and last name |
retrieve_all | Boolean value that when equal to true returns all results |
Request
Empty
Response
{
"payload": {
"userFollowing": [
{
"uuid": "6f862c1d-1317-4fe7-bdcd-64caa0dbb088",
"firstName": "Benjamin",
"lastName": "Johns",
"profileImage": "",
"nickname": "Ben",
"nameSuffix": "",
"dateCreated": "",
"country": "United States",
"state": "Maryland",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "8E0CD40B-3934-46D6-9B00-04B54C6A369D",
"firstName": "Kraig",
"lastName": "Smith",
"profileImage": "",
"nickname": "",
"nameSuffix": "",
"dateCreated": "",
"country": "United States",
"state": "Alabama",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "9F56537A-3C8C-463B-B8E6-175A891065E2",
"firstName": "Kenan",
"lastName": "H.Hasanovic",
"profileImage": "https://pickleballbrackets.com/uploads/profile/https://images.pickleball.com/AtUaHXhxW4yCp7PGAnKb5phEeA3bdo.png",
"nickname": "Nick name",
"nameSuffix": "Sr.",
"dateCreated": "",
"country": "Bosnia and Herzegovina",
"state": "Federacija Bosna i Hercegovina",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "b2a1e687-4578-47ec-b69c-8f7419c2ec1c",
"firstName": "Aakash",
"lastName": "Raj",
"profileImage": "",
"nickname": "",
"nameSuffix": "",
"dateCreated": "",
"country": "United States",
"state": "Arizona",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "bcab8680-cc66-40e4-bd55-73127433496b",
"firstName": "A. Frederick",
"lastName": "Stauffer",
"profileImage": "",
"nickname": "Fred",
"nameSuffix": "",
"dateCreated": "",
"country": "United States",
"state": "Pennsylvania",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "BD49B56C-EAC9-4653-8A71-59BD961BABBE",
"firstName": "Jasmina",
"lastName": "Zahirovic",
"profileImage": "https://images.pickleball.com/player/1687517511413",
"nickname": "Jaca",
"nameSuffix": "I",
"dateCreated": "",
"country": "Bosnia and Herzegovina",
"state": "Republika Srpska",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "D8A6D087-3033-49CB-9E5B-0009A18EBAC0",
"firstName": "Scott",
"lastName": "Piper",
"profileImage": "",
"nickname": "KP-Duty",
"nameSuffix": "",
"dateCreated": "",
"country": "Canada",
"state": "British Columbia",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "DBEB3335-72B3-4EF0-B66F-030A1ABBEB71",
"firstName": "Nansen",
"lastName": "Smith",
"profileImage": "",
"nickname": "",
"nameSuffix": "",
"dateCreated": "",
"country": "Canada",
"state": "Alberta",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "ed1214b1-31be-45f0-b3b1-4a1d0d7b4693",
"firstName": "A.",
"lastName": "Alomran",
"profileImage": "",
"nickname": "Al",
"nameSuffix": "",
"dateCreated": "",
"country": "United States",
"state": "Oregon",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "F4B4431C-1CA8-4825-A882-001688BA5B22",
"firstName": "Sharon",
"lastName": "Goshorn",
"profileImage": "",
"nickname": "",
"nameSuffix": "",
"dateCreated": "",
"country": "Canada",
"state": "British Columbia",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "X9F56537A-3C8C-463B-B8E6-175A891065E2",
"firstName": "Bernad",
"lastName": "Delic",
"profileImage": "",
"nickname": "",
"nameSuffix": "",
"dateCreated": "",
"country": "Bosnia and Herzegovina",
"state": "Federacija Bosna i Hercegovina",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
}
],
"userFollowed": [
{
"uuid": "X9F56537A-3C8C-463B-B8E6-175A891065E2",
"firstName": "Bernad",
"lastName": "Delic",
"profileImage": "",
"nickname": "",
"nameSuffix": "",
"dateCreated": "",
"country": "Bosnia and Herzegovina",
"state": "Federacija Bosna i Hercegovina",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": true
},
{
"uuid": "5b19f54d-b146-4205-b683-bce7c14a8610",
"firstName": "John",
"lastName": "Doed",
"profileImage": "path.com/image.jpg",
"nickname": "Kenex",
"nameSuffix": "JR",
"dateCreated": "",
"country": "Australia",
"state": "Andaman and Nicobar Islands",
"showStateToPublic": false,
"showOnlyFirstInitialOfLastNameToPublic": false,
"isFollowedByUser": false
}
]
}
}