Skip to main content

Parameters

See plugin common configurations for configuration options available to all plugins.

  • phase

    string


    default: access


    vaild vaule:

    rewrite, access, header_filter, body_filter, log, and before_proxy


    Phase before which the serverless function is executed.

  • functions

    array[string]


    required


    List of functions that are executed sequentially.

    Only Lua functions are allowed and not other Lua code. For example, anonymous functions and closures are legal, whereas other code not in a function will not be allowed. See tips for writing functions for more details.


API7.ai Logo

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

Product

API7 Cloud

SOC2 Type IRed Herring

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

Apache Software Foundation