Plugins

List all Plugins

Changed on

List all Plugins

get/{workspace}/plugins

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

Query parameters

size, integer

Number of resources to be returned.

offset, string

Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources

tags, string

A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR.

Response

A successful response listing Plugins

object required
data, Plugin[]
next, string

URI to the next page (may be null)

offset, string

Offset is used to paginate through the API. Provide this value to the next list operation to fetch the next page

Example response

{
  "data": [
    {
      "config": {
        "anonymous": null,
        "hide_credentials": false,
        "key_in_body": false,
        "key_in_header": true,
        "key_in_query": true,
        "key_names": [
          "apikey"
        ],
        "run_on_preflight": true
      },
      "enabled": true,
      "id": "3fd1eea1-885a-4011-b986-289943ff8177",
      "name": "key-auth",
      "partials": [
        {
          "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
          "name": "foo-partial",
          "path": "config.redis"
        },
        {
          "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
          "name": "bar-partial",
          "path": "config.redis"
        }
      ],
      "protocols": [
        "grpc",
        "grpcs",
        "http",
        "https"
      ]
    }
  ]
}

Changes