Retrieves a user's public profile by username (or the current user when omitted).
GET/profile
If username is null or the literal "null", the current authenticated user is used.
Returns a profile view tailored to the requester's visibility/relationship.
Request
Responses
- 200
- 401
- 403
OK
Unauthorized - missing or invalid credentials.
Forbidden - authenticated but missing required role or policy.