Skip to content

Endpoint

  • Method: GET
  • Path: /profile/{username}/followings
  • Edition: PRO
  • Controller: FollowController@getFollowings
  • Route source: fluent-community-pro/app/Http/Routes/api.php:123
  • Controller source: fluent-community-pro/app/Http/Controllers/FollowController.php

GET List Profile Followings

GET
/profile/{username}/followings

List Profile Followings for the FluentCommunity Profile API.

Controller: FollowController@getFollowings
Route source: fluent-community-pro/app/Http/Routes/api.php:123

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
string
Required

Query Parameters

search

Search read via $request->getSafe() in getFollowings().

Type
string
sort_by

Sort By read via $request->getSafe() in getFollowings().

Type
string
Default
"id"

Responses

Successful response

application/json
JSON
{
  
"followings": {
  
  
"data": [
  
  
  
{
  
  
  
  
"additionalProperties": "string"
  
  
  
}
  
  
],
  
  
"current_page": 0,
  
  
"per_page": 0,
  
  
"from": 0,
  
  
"to": 0,
  
  
"total": 0,
  
  
"last_page": 0,
  
  
"has_more": true
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation