List Pending Binding Requests
The approvals inbox: every client and service-account binding request, across all applications the caller administers, that is waiting on a decision. That is a new request, or an approved binding whose requested scopes have grown. An organisation administrator sees every application's; anyone else sees those of applications owned by a team they own.
Required scopes: auth:apps:edit (organisation-wide) or auth:apps:edit:own (applications owned by a team you belong to)
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
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://auth.xeonr.io/xeonr.auth.private.v1.ApplicationsService/ListPendingBindingRequests" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"requests": [
{
"principalType": "BINDING_PRINCIPAL_TYPE_UNSPECIFIED",
"principalId": "string",
"principalName": "string",
"principalApplicationId": "string",
"approved": true,
"requestedAt": "2023-01-15T01:30:15.01Z",
"mode": "CLIENT_APPLICATION_BINDING_MODE_UNSPECIFIED",
"requestedScopes": [
"string"
],
"approvedScopes": [
"string"
],
"state": "APPLICATION_BINDING_STATE_UNSPECIFIED",
"decisionPending": true,
"targetApplicationId": "string",
"targetApplicationName": "string",
"targetOwnerTeamSlug": "string",
"autoApprovedScopes": [
"string"
]
}
]
}List Pending Approvals POST
The Approvals inbox: binding requests and access requests into every application the caller administers (an organisation administrator: all of them; anyone else: those owned by a team they own), and applications asking to be enabled on teams the caller owns. Each is decided with its own RPC: DecideApplicationBindingRequest, DecideApplicationAccessRequest, TeamsService.DecideTeamApplicationRequest. **Required scopes:** `auth:apps:edit` (organisation-wide), `auth:apps:edit:own` or `auth:teams:manage`
List Team Application Requests POST
Lists the teams this application has asked to be enabled on, from the application's side: waiting, and with include_decided the approved and rejected ones. **Required scopes:** `auth:apps:read` (organisation-wide) or `auth:apps:read:own` (applications owned by a team you belong to)