Get my Functions role
Returns whether the caller is a platform administrator, and their Functions role (admin, editor or viewer) in each of their teams. Takes no parameter and reads nobody else. Needs a signed-in user: team API keys are refused (PERMISSION_DENIED).
Required scopes: functions:functions:read
Authorization
BearerAuth A team API key, created by a team admin in the console and presented as
Authorization: Bearer xk_…. Xeonr Auth issues and verifies it; the
secret is shown once at creation and stored only as a hash, and a
revoked key stops working within 30 seconds. An existing fnt_… token
is accepted the same way.
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://functions.xeonr.io/xeonr.functions.v2.MeService/GetFunctionsMe" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"admin": true,
"teams": [
{
"id": "string",
"slug": "string",
"role": "string"
}
]
}xeonr.functions.v2.MeService
MeService is the Functions console's own view of the signed-in person. The shared console's GetMe says who they are and which teams they belong to; what it cannot say is their standing in this product. Needs a signed-in user: no method here carries allow_api_keys.
Repositories
The repository a function deploys from. Reachable with a team API key.