Plugins

Create a AiMcpOauth2 plugin

Create a AiMcpOauth2 plugin

post/{workspace}/plugins#AiMcpOauth2

Request body

conditionstring nullable

An expression used for conditional control over plugin execution. If the expression evaluates to true during the request flow, the plugin is executed; otherwise, it is skipped.

created_atinteger nullable

Unix epoch when the resource was created.

enabledboolean nullable

Whether the plugin is applied.

idstring nullable

A string representing a UUID (universally unique identifier).

instance_namestring nullable

A unique string representing a UTF-8 encoded name.

name'ai-mcp-oauth2' required

The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.

tagsstring[] nullable

An optional set of strings associated with the Plugin for grouping and filtering.

updated_atinteger nullable

Unix epoch when the resource was last updated.

protocolsstring[]

A set of strings representing HTTP protocols.

Response

Created AiMcpOauth2 plugin

conditionstring nullable

An expression used for conditional control over plugin execution. If the expression evaluates to true during the request flow, the plugin is executed; otherwise, it is skipped.

created_atinteger nullable

Unix epoch when the resource was created.

enabledboolean nullable

Whether the plugin is applied.

idstring nullable

A string representing a UUID (universally unique identifier).

instance_namestring nullable

A unique string representing a UTF-8 encoded name.

name'ai-mcp-oauth2' required

The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.

tagsstring[] nullable

An optional set of strings associated with the Plugin for grouping and filtering.

updated_atinteger nullable

Unix epoch when the resource was last updated.

protocolsstring[]

A set of strings representing HTTP protocols.

Changes

Changed in 3 of the 11 revisions of this API.3240

  • 9555cbb8b259337See the full diff
    • the request property allOf[AiMcpOauth2PluginConfig]/config became required

      request-property-became-required

    • the response property allOf[AiMcpOauth2PluginConfig]/config/client_id became optional for the status 201

      response-property-became-optional

    • the response property allOf[AiMcpOauth2PluginConfig]/config/introspection_endpoint became optional for the status 201

      response-property-became-optional

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/consumer_by

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/consumer_claim

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/consumer_groups_claim

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/consumer_groups_optional

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/consumer_optional

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/credential_claim

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/jwks_cache_ttl

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/jwks_endpoint

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/jwt_claims_leeway

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/metadata_cache_ttl

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/metadata_discovery_endpoint

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/metadata_discovery_retry

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/passthrough_credentials

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/token_exchange

      new-optional-request-property

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/config/upstream_headers

      new-optional-request-property

    • added the new optional request property allOf[PluginBase]/condition

      new-optional-request-property

    • the request property allOf[AiMcpOauth2PluginConfig]/config/client_id became optional

      request-property-became-optional

    • the request property allOf[AiMcpOauth2PluginConfig]/config/introspection_endpoint became optional

      request-property-became-optional

    • the max_request_body_size request property default value changed from 8192 to 1048576

      request-property-default-value-changed

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/consumer_by to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/consumer_claim to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/consumer_groups_claim to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/consumer_groups_optional to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/consumer_optional to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/credential_claim to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/jwks_cache_ttl to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/jwks_endpoint to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/jwt_claims_leeway to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/metadata_cache_ttl to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/metadata_discovery_endpoint to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/metadata_discovery_retry to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/passthrough_credentials to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/token_exchange to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[AiMcpOauth2PluginConfig]/config/upstream_headers to the response with the 201 status

      response-optional-property-added

    • added the optional property allOf[PluginBase]/condition to the response with the 201 status

      response-optional-property-added

    • the response property allOf[AiMcpOauth2PluginConfig]/config became required for the status 201

      response-property-became-required

    • the max_request_body_size response's property default value changed from 8192 to 1048576 for the status 201

      response-property-default-value-changed

  • 65f3141f166222See the full diff
    • removed the request property name

      request-property-removed

    • removed the optional property name from the response with the 201 status

      response-optional-property-removed

    • added the new optional request property allOf[AiMcpOauth2PluginConfig]/name

      new-optional-request-property

    • added the optional property allOf[AiMcpOauth2PluginConfig]/name to the response with the 201 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 11 revisions, 1 has no diff computed.