Endpoint
- Method:
GET - Path:
/profile/{username}/followers - Edition: PRO
- Controller:
FollowController@getFollowers - Route source:
fluent-community-pro/app/Http/Routes/api.php:122 - Controller source:
fluent-community-pro/app/Http/Controllers/FollowController.php
GET List Profile Followers
GET
/profile/{username}/followers
List Profile Followers for the FluentCommunity Profile API.
Controller: FollowController@getFollowers
Route source: fluent-community-pro/app/Http/Routes/api.php:122
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Parameters
Path Parameters
username*
Username extracted from the URL path.
Type
Requiredstring
Query Parameters
search
Search read via $request->getSafe() in getFollowers().
Type
string
sort_by
Sort By read via $request->getSafe() in getFollowers().
Type
string
Default
"id"Responses
Successful response
application/json
JSON "followers": { "data": [ { "additionalProperties": "string" } ], "current_page": 0, "per_page": 0, "from": 0, "to": 0, "total": 0, "last_page": 0, "has_more": true }
{
}