Plugins

Create a JsonThreatProtection plugin

Changed on

Create a JsonThreatProtection plugin

post/{workspace}/plugins#JsonThreatProtection

Request

  • Base URL
    http://localhost:8001
  • Auth
    API key in header Kong-Admin-Token

Path parameters

workspace, string required
Example:team-payments

The name of the workspace

Request body

JsonThreatProtectionPlugin required

Response

Created JsonThreatProtection plugin

JsonThreatProtectionPlugin required

Changes

    • info

      added the new optional request property allOf[#/components/schemas/JsonThreatProtectionPluginConfig]/config/allow_non_json_requests

    • info

      added the new optional request property allOf[#/components/schemas/PluginBase]/condition

    • info

      added the optional property allOf[#/components/schemas/JsonThreatProtectionPluginConfig]/config/allow_non_json_requests to the response with the status

    1 more change in this revision