GatewayScript APIs for API management

GatewayScript APIs for API management can access and manipulate the variables in the API context during assembly processing.

GatewayScript programming in the API gateway follows the guidelines of the traditional DataPower® GatewayScript programming model. The GatewayScript APIs are used by the GatewayScript assembly action of the API gateway.

The API gateway emulates the behavior of the session object and the header-metadata module that traditional DataPower GatewayScript processing supports. GatewayScript APIs that include this object and module can be used in the GatewayScript assembly action without modification.

The context object is designed to access and manipulate the variables in the API context, request and response headers, and payloads in the GatewayScript assembly action.