Apache Iceberg · JSON Structure

Rest Catalog Open Api O Auth Client Credentials Request Structure

The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint. OAuth2 client credentials request See https://datatracker.ietf.org/doc/html/rfc6749#section-4.4

Type: object Properties: 4 Required: 3
ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

OAuthClientCredentialsRequest is a JSON Structure definition published by Apache Iceberg, describing 4 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

grant_type scope client_id client_secret

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-structure/rest-catalog-open-api-o-auth-client-credentials-request-structure.json",
  "name": "OAuthClientCredentialsRequest",
  "description": "The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint.\n\nOAuth2 client credentials request\n\nSee https://datatracker.ietf.org/doc/html/rfc6749#section-4.4",
  "properties": {
    "grant_type": {
      "type": "string",
      "enum": [
        "client_credentials"
      ]
    },
    "scope": {
      "type": "string"
    },
    "client_id": {
      "type": "string",
      "description": "Client ID\n\nThis can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header."
    },
    "client_secret": {
      "type": "string",
      "description": "Client secret\n\nThis can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header."
    }
  },
  "required": [
    "grant_type",
    "client_id",
    "client_secret"
  ],
  "deprecated": true
}