{
  "name": "ListIntegrations",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudGateway.ListIntegrations",
    "service": "gateway"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "apiId": {
        "type": "string"
      }
    },
    "required": [
      "apiId"
    ],
    "title": "ListIntegrationsRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "IntegrationSummary": {
        "properties": {
          "integrationId": {
            "type": "string"
          },
          "integrationType": {
            "$ref": "#/definitions/IntegrationType"
          },
          "invocationMode": {
            "$ref": "#/definitions/InvocationMode"
          }
        },
        "required": [
          "integrationId",
          "integrationType",
          "invocationMode"
        ],
        "type": "object"
      },
      "IntegrationType": {
        "enum": [
          "FUNCTION",
          "EVENTS_PUT",
          "CLOUD_SERVICE"
        ],
        "type": "string"
      },
      "InvocationMode": {
        "enum": [
          "REQUEST_RESPONSE",
          "EVENT"
        ],
        "type": "string"
      }
    },
    "properties": {
      "items": {
        "items": {
          "$ref": "#/definitions/IntegrationSummary"
        },
        "type": "array"
      }
    },
    "required": [
      "items"
    ],
    "title": "ListIntegrationsResponse",
    "type": "object"
  }
}
