List Team Events
Ordered feed of successful state-changing events for teams entitled to the calling application, for cache invalidation. At-least-once by construction: poll with the previous next_cursor. Membership additions are visible here immediately, whereas token claims only reflect them after a refresh.
Required scopes: auth:teams:read
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Exclusive cursor: the next_cursor of the previous response. Empty starts from the oldest retained event.
length <= 64Maximum events to return; clamped to 500.
int320 <= value <= 500Restrict to a single team (URN or slug). Default: every team entitled to the calling application.
length <= 128Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.TeamsService/ListTeamEvents" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"events": [
{
"eventId": "string",
"teamId": "string",
"type": "string",
"actor": "string",
"occurredAt": "2023-01-15T01:30:15.01Z"
}
],
"nextCursor": "string"
}List Assignable Application Roles POST
Lists the team-typed ApplicationRoles each named application defines, so a UI can offer what is assignable before calling SetMemberApplicationRoles. Only applications the team is entitled to are returned; application-typed roles (enrollments, admin checks, scope gates) are never listed here because they are not assignable within a team. Read `role_options`, not `applications`: a role's name is the slug tokens match on, and `role_options` carries the display name to show beside it. `applications` is the same set as names alone, kept for callers that want nothing more. Slugs are restricted as in SetMemberApplicationRoles. With no `applications`, the calling client's own application is described. **Required scopes:** `auth:teams:read`
List Team Invitations POST
Lists a team's pending invitations. Requires team owner. **Required scopes:** `auth:teams:app-roles` or `auth:teams:manage`