Skip to main content

What is Plugin

In API7 Cloud, a plugin is a rule that defines how the gateway instance will handle the requests. By saying handled, it means requests might be:

  1. transformed (headers, query parameters, body);
  2. protected (authentication, authorization, rate-limiting, etc.);
  3. recorded (logging, metrics, etc.);

A plugin can be attached on a specific service, route, consumer, or cluster. The effective rules of the plugin are as follows:

  • Plugins attached to the route only work for this route and will override the same ones on the service (instead of running them twice).
  • Plugins attached to the service will affect all routes in this Service.
  • Plugins attached to the consumer only work for this consumer and will override the same ones on the service and route (instead of running them twice).
  • Plugins attached to the cluster will be effective for all API requests. Care must be taken that these plugins won't override the same ones on the service, route, and consumer, i.e. same plugins will be run twice (the one on cluster runs first).

What's Next

API7 Cloud provides several plugins for different purposes. Please refer to the table of contents below to learn the details.


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation