auth.v1.ProfileService
GetUsernameHistory
Get recent username history for the caller, newest first. Returns at most 20 entries.
Method
POST
Path
auth.v1.ProfileService/GetUsernameHistory
Service
auth.v1.ProfileService
Visibility
Authentication
Session token
MFA Requirement
Not required
POST
auth.v1.ProfileService/GetUsernameHistory Request
Testnet
curl --request POST \ \
--url 'https://api.testnet.polyester.com/auth.v1.ProfileService/GetUsernameHistory' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{}'Responses
{
"history": [
{
"setAt": "2025-01-01T00:00:00Z",
"username": "trader_alpha"
}
]
}Request
auth.v1.GetUsernameHistoryRequestResponse
auth.v1.GetUsernameHistoryResponse 2 fields
username string
Username value that was set.
setAt string (date-time)
Time in UTC when this username was set.
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |