GET /api/v1/whoamiTest authentication and list key permissions.
/whoamihttps://dev.mcrental.minercore.online/api/v1/whoamiExample response
{
"success": true,
"data": {
"authed": true,
"userid": "…",
"username": "alice",
"api_key": "rh_…",
"api_nonce": "1710000000123456",
"permissions": { "withdraw": "yes", "rent": "yes", "rigs": "yes" },
"permission_levels": {
"permAccount": "write",
"permRental": "write",
"permRig": "write"
}
}
}