Kong · Schema

CreateGitHubAppInstallationCredential

Payload used to create an `GitHub App Installation` credential for an integration instance.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
type string
config object
View JSON Schema on GitHub

JSON Schema

kong-creategithubappinstallationcredential-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateGitHubAppInstallationCredential",
  "title": "CreateGitHubAppInstallationCredential",
  "description": "Payload used to create an `GitHub App Installation` credential for an integration instance.",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "github_app_installation"
    },
    "config": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "installation_id": {
          "description": "The GitHub App installation ID.",
          "type": "string",
          "example": "46952218"
        },
        "code": {
          "description": "The authorization code used to exchange for a GitHub user-scoped access token.",
          "type": "string",
          "example": "Yzk5ZDczMzRlNDEwY"
        },
        "app_installed_by": {
          "description": "The GitHub user who installed the app",
          "type": "string"
        }
      },
      "required": [
        "installation_id",
        "code"
      ],
      "title": "CreateGitHubAppInstallationCredentialConfig"
    }
  },
  "additionalProperties": false,
  "required": [
    "type",
    "config"
  ]
}