Get my role
Returns whether the calling subject is a platform administrator, their teams with the namespace role each grants them, and every namespace they can see with its owning team and their role in it. It takes no parameter and reads nobody else. Namespace API keys are refused.
Access: any authenticated person.
Authorization
BearerAuth A namespace-scoped API key (cpk_…) for machines, or a Xeonr Auth OIDC
token for humans. The key's namespace and role are pinned server-side.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://containers.xeonr.io/containers.api.v1.NamespaceService/GetContainersMe" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"admin": true,
"teams": [
{
"id": "string",
"slug": "string",
"role": "ROLE_UNSPECIFIED"
}
],
"namespaces": [
{
"namespace": "string",
"displayName": "string",
"ownerTeam": "string",
"ownerTeamSlug": "string",
"role": "ROLE_UNSPECIFIED"
}
]
}EnsureManagedTeamNamespace POST
Establishes the one immutable namespace owned by a product for a team. The product is resolved from the configured verified service principal; callers cannot select it or adopt an existing unmanaged namespace.
Get Namespace POST
Returns a namespace record. A namespace the caller cannot see is reported as NotFound. **Access:** any role in the namespace, or a platform admin.