Endpoint
- Method:
POST - Path:
/profile/{username} - Edition: Core
- Controller:
ProfileController@updateProfile - Route source:
fluent-community/app/Http/Routes/api.php:85 - Controller source:
fluent-community/app/Http/Controllers/ProfileController.php
POST Update Profile
POST
/profile/{username}
Update Profile for the FluentCommunity Profile API.
Controller: ProfileController@updateProfile
Route source: fluent-community/app/Http/Routes/api.php:85
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
Request Body
application/json
JSON "data": { "is_verified": "string", "status": "string", "username": "string", "badge_slugs": [ "string" ], "first_name": "string", "last_name": "string", "short_description": "string", "website": "string", "social_links": [ "string" ], "email": "string" }
{
}
Responses
Successful response
application/json
JSON "message": "string", "profile": { "user_id": 0, "badge": "string", "permalink": "string", "meta": { "website": "string", "cover_photo": "string", "badge_slug": [ "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" } } }
{
}