Apache Iceberg · JSON Structure

Rest Catalog Open Api O Auth Token Response Structure

The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint.

Type: object Properties: 6 Required: 2
ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

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

Properties

access_token token_type expires_in issued_token_type refresh_token scope

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-token-response-structure.json",
  "name": "OAuthTokenResponse",
  "description": "The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint.",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The access token, for client credentials or token exchange"
    },
    "token_type": {
      "type": "string",
      "enum": [
        "bearer",
        "mac",
        "N_A"
      ],
      "description": "Access token type for client credentials or token exchange\n\nSee https://datatracker.ietf.org/doc/html/rfc6749#section-7.1"
    },
    "expires_in": {
      "type": "integer",
      "description": "Lifetime of the access token in seconds for client credentials or token exchange"
    },
    "issued_token_type": {
      "$ref": "#/components/schemas/TokenType"
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token for client credentials or token exchange"
    },
    "scope": {
      "type": "string",
      "description": "Authorization scope for client credentials or token exchange"
    }
  },
  "required": [
    "access_token",
    "token_type"
  ],
  "deprecated": true
}