Skip to Content
Xeonr Developer Docs
API SpecificationPRIVATEApplications

List Bindable Applications

POST
/xeonr.auth.private.v1.ApplicationsService/ListBindableApplications

Lists the applications a client or service account could be bound to, with the scopes it could ask for on each, derived from scope tiers: PUBLIC and REQUIRES_APPROVAL scopes of every application, plus PLATFORM_ONLY scopes when the principal belongs to a platform application. APP_ONLY scopes, applications with nothing requestable and the principal's own application are left out. This is what a binding picker shows; ListApplications lists only what the caller administers.

Required scopes: one of auth:clients:edit, auth:apps:edit, auth:apps:edit:own, auth:service-accounts:edit

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

clientId?string

An existing client's client_id.

Length1 <= length <= 64
serviceAccountId?string

An existing service account, as its URN or bare id.

Length1 <= length <= 128
applicationId?string

The application that owns (or will own) the client or service account being created, for a principal that does not exist yet.

Length1 <= length <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.ApplicationsService/ListBindableApplications" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "applications": [
    {
      "applicationId": "string",
      "name": "string",
      "slug": "string",
      "ownerTeamSlug": "string",
      "platform": true,
      "applicationCustomConfig": {
        "jsonSchema": {
          "property1": {},
          "property2": {}
        },
        "uiSchema": {
          "property1": {},
          "property2": {}
        }
      },
      "scopes": [
        {
          "name": "string",
          "description": "string",
          "tier": "SCOPE_TIER_UNSPECIFIED",
          "isSensitive": true,
          "isServiceAccountOnly": true,
          "role": {
            "name": "admin",
            "iacManaged": true,
            "roleType": "ROLE_TYPE_UNSPECIFIED",
            "description": "string",
            "defaultOwnerRole": true,
            "displayName": "Administrator",
            "teamRank": 0,
            "ownerInherited": true
          },
          "requiresApproval": true
        }
      ]
    }
  ]
}