GraphQL Proxy Cache API

v1.0.0OAS 3.0

API for managing cached GraphQL queries in Kong via the GraphQL Proxy Cache Advanced plugin.

API Base URL
  • Server 1:{protocol}://{hostname}:{port}{path}

    Default Admin API URL

Security
personalAccessToken (http)

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123

Purge All GraphQL Cache Entities

Deletes all cached GraphQL query responses across all GraphQL Proxy Cache plugins.

delete
{protocol}://{hostname}:{port}{path}/graphql-proxy-cache-advanced

Response

Cache successfully purged.

 
Error initializing code snippet
Cache successfully purged.

Retrieve a Cached GraphQL Query

Retrieves a cached GraphQL query response by its cache key.

get
{protocol}://{hostname}:{port}{path}/graphql-proxy-cache-advanced/{cache_key}

Path Parameters

cache_keystringrequired

The cache key of the GraphQL query response to retrieve.

Response

Cache entry found.

 
Error initializing code snippet
Cache entry found.

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!