Applying a Plugin with a variety of global and specific properties #505


#1

Currently a plugin can be applied per api_id, and optionally per api_id and consumer_id.

We want a more flexible schema to apply plugins, that will allow us to:

  1. Customize a global plugin for every API, without specifying any specific api_id.(Closed with #1369)
  2. Customize a global plugin for every consumer, without specifying api_id and consumer_id.(Closed with #1369)
  3. Customize a plugin per:
  • HTTP Method (method)
  • Endpoint (endpoint, with regex support)
  • By Request Header (Accept, Content-Type, User-Agent, etc…)

See GitHub Issue:
Applying a Plugin with a variety of global and specific properties #505