Get a user's profile
Profile lookup by id, reachable by any caller with a resolvable security context (a real user's token, or the anonymous-browsing service token a logged-out visitor's client attaches automatically) - used to resolve content authorship (e.g. blog post bylines) to a real account, and to serve as the admin user-detail view. A caller with global access additionally receives keycloak_id/email/is_admin/is_publisher/is_active/created_at; every other caller, including an anonymous visitor, sees only the public fields.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
user_id*User Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueResponse Body
application/json
application/json
curl -X GET "https://example.com/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "display_name": "string", "avatar_url": "string", "bio": "string", "website_url": "string", "github_handle": "string", "keycloak_id": "string", "email": "string", "is_admin": true, "is_publisher": true, "is_active": true, "created_at": "2019-08-24T14:15:22Z"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}