Xeonr Developer Docs

Validate an OAuth client for integration

POST
/uplim.api.v1.IntegrationAdminService/ValidateIntegrationClient

Checks the OAuth client is configured correctly for upl integration.

Authorization

OAuth2 upl:private
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:private

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
Formatuuid
ownerScope?|null

Validate the client for registration under this owner. In team scope the client must belong to an auth application that team owns, and the caller must hold the upl admin role there. Omitted or personal: the caller must own the client, as before.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/ValidateIntegrationClient" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "ok": true,
  "isInternalDelegator": true,
  "issues": [
    {
      "code": "INTEGRATION_CLIENT_ISSUE_CODE_UNSPECIFIED",
      "severity": "INTEGRATION_CLIENT_ISSUE_SEVERITY_UNSPECIFIED",
      "message": "string",
      "delegatorClientId": "string"
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}