Skip to content

Endpoint

  • Method: GET
  • Path: /profile/{username}
  • Edition: Core
  • Controller: ProfileController@getProfile
  • Route source: fluent-community/app/Http/Routes/api.php:84
  • Controller source: fluent-community/app/Http/Controllers/ProfileController.php

GET Get Profile

GET
/profile/{username}

Get Profile for the FluentCommunity Profile API.

Controller: ProfileController@getProfile
Route source: fluent-community/app/Http/Routes/api.php:84

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

Responses

Successful response

application/json
JSON
{
  
"profile": {
  
  
"user_id": 0,
  
  
"is_verified": true,
  
  
"display_name": "string",
  
  
"username": "string",
  
  
"avatar": "string",
  
  
"cover_photo": "string",
  
  
"total_points": 0,
  
  
"badge_slugs": [
  
  
  
"string"
  
  
],
  
  
"status": "string",
  
  
"is_restricted": true,
  
  
"canViewUserSpaces": true,
  
  
"last_activity": "string",
  
  
"website": "string",
  
  
"created_at": "string",
  
  
"social_links": {
  
  
  
"instagram": "string",
  
  
  
"twitter": "string",
  
  
  
"youtube": "string",
  
  
  
"linkedin": "string",
  
  
  
"fb": "string",
  
  
  
"blue_sky": "string",
  
  
  
"tiktok": "string",
  
  
  
"pinterest": "string",
  
  
  
"telegram": "string",
  
  
  
"snapchat": "string",
  
  
  
"reddit": "string",
  
  
  
"twitch": "string",
  
  
  
"vk": "string",
  
  
  
"github": "string",
  
  
  
"mastodon": "string"
  
  
},
  
  
"compilation_score": 0,
  
  
"short_description_rendered": "string",
  
  
"email": "string",
  
  
"first_name": "string",
  
  
"last_name": "string",
  
  
"short_description": "string",
  
  
"can_change_username": true,
  
  
"can_change_email": true,
  
  
"profile_navs": [
  
  
  
{
  
  
  
  
"slug": "string",
  
  
  
  
"title": "string",
  
  
  
  
"url": "string",
  
  
  
  
"wrapper_class": "string",
  
  
  
  
"route": {
  
  
  
  
  
"name": "string"
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"profile_nav_actions": [
  
  
  
{
  
  
  
  
"additionalProperties": "string"
  
  
  
}
  
  
]
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation