Ana içeriğe atla

Documentation Index

Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt

Use this file to discover all available pages before exploring further.

Response Status

EnumStatus

Response status values used in all API responses.
ValueDescription
SUCCESSOperation completed successfully
FAILUREOperation failed

Usage

All API responses include a status field with one of these values.

Example

{
  "status": "SUCCESS",
  "resultList": [...],
  "resultCount": 1
}

API Types

EnumApiType

Type of API Proxy.
ValueDescription
RESTRESTful API
SOAPSOAP Web Service
GRPCgRPC Service
WEBSOCKETWebSocket Service

Usage

Used in API Proxy objects to indicate the API type.

HTTP Methods

EnumHttpRequestMethod

HTTP request methods supported by the API.
ValueDescription
GETRetrieve resource
POSTCreate resource or submit data
PUTUpdate resource (full replacement)
PATCHUpdate resource (partial update)
DELETEDelete resource
HEADRetrieve headers only
OPTIONSRetrieve allowed methods
TRACEEcho request for debugging
ALLAll HTTP methods

Usage

Used in endpoint definitions, client routes, and policy target specifications.

Policy Scope

EnumPolicyTargetScope

Scope where a policy applies.
ValueDescription
ALLPolicy applies to all endpoints in the API Proxy
ENDPOINTPolicy applies only to a specific endpoint

Usage

Used in policy operation metadata (operationMetadata.targetScope). Note: When targetScope is ENDPOINT, both targetEndpoint and targetEndpointHTTPMethod must be provided.

Policy Pipeline

EnumPolicyTargetPipeline

Pipeline where a policy executes.
ValueDescription
REQUESTExecutes before forwarding request to backend
RESPONSEExecutes after receiving response from backend
ERRORExecutes when an error occurs

Usage

Used in policy operation metadata (operationMetadata.targetPipeline).

Access Type

EnumAccessType

Type of resource that can be accessed.
ValueDescription
API_PROXYAPI Proxy resource
API_PROXY_GROUPAPI Proxy Group resource

Usage

Used in credential access management to specify which type of resource access is granted.

Variable Types

EnumVariableType

Type of variable used in policies and conditions.
ValueDescription
HEADERExtract value from HTTP header
PARAMETERExtract value from URL parameter (query, path, or form)
BODYExtract value from request/response body
CONTEXT_VALUESExtract value from context (e.g., current time, IP address)
CUSTOMCustom variable defined with script

Usage

Used in VariableDTO to specify how to extract data. See Variable Definition for complete documentation.

Variable Parameter Types

EnumVariableParameterType

Type of parameter when VariableDTO.type is PARAMETER.
ValueDescription
QUERYQuery parameter (e.g., ?param=value)
PATHPath parameter (e.g., /users/{id})
FORMForm parameter (from form data)

Usage

Used in VariableDTO.paramType when type is PARAMETER.

Message Content Types

EnumMessageContentType

Content type of message body.
ValueDescription
JSONJSON format
XMLXML format
FORMForm data format

Usage

Used in VariableDTO.messageContentType when extracting data from body (type=BODY).

Script Types

EnumScriptType

Script language for custom variables and script policies.
ValueDescription
GROOVYGroovy script
JAVASCRIPTJavaScript (Nashorn) script

Usage

Used in VariableDTO.scriptLanguage and script-based policies.

API Proxy Spec Types

EnumApiProxySpecType

Type of API specification used to create an API Proxy.
ValueDescription
WSDLWSDL (Web Services Description Language) for SOAP APIs
SWAGGERSwagger 2.0 specification
OPEN_APIOpenAPI 3.0 specification
REVERSE_PROXYReverse proxy (no specification file)

Usage

Used when importing or creating API Proxies from specification files.

Condition Value Comparison Operators

EnumConditionValueComparisonOperator

Comparison operators used in policy conditions and RLCL conditions for value comparisons.
ValueDescription
LTLess than
LELess than or equal to
GTGreater than
GEGreater than or equal to
EQEqual to
NENot equal to
EQ_IGNORE_CASEEqual to (case insensitive, string only)
NE_IGNORE_CASENot equal to (case insensitive, string only)
STARTS_WITHStarts with (string only)
NOT_STARTS_WITHDoes not start with (string only)
STARTS_WITH_IGNORE_CASEStarts with (case insensitive, string only)
NOT_STARTS_WITH_IGNORE_CASEDoes not start with (case insensitive, string only)
ENDS_WITHEnds with (string only)
NOT_ENDS_WITHDoes not end with (string only)
ENDS_WITH_IGNORE_CASEEnds with (case insensitive, string only)
NOT_ENDS_WITH_IGNORE_CASEDoes not end with (case insensitive, string only)
CONTAINSContains (string only)
NOT_CONTAINSDoes not contain (string only)
CONTAINS_IGNORE_CASEContains (case insensitive, string only)
NOT_CONTAINS_IGNORE_CASEDoes not contain (case insensitive, string only)
IS_EXISTSVariable exists (regardless of value)
IS_NOT_EXISTSVariable does not exist
IS_NOT_EMPTYVariable exists and is not empty
IS_EMPTYVariable does not exist or is empty
EXISTS_AND_EMPTYVariable exists but is empty
INValue is in list
NOT_INValue is not in list
IN_IGNORE_CASEValue is in list (case insensitive, string only)
NOT_IN_IGNORE_CASEValue is not in list (case insensitive, string only)

Usage

Used in ConditionRuleDTO.valueComparisonOperator for policy conditions and RLCL conditions to specify how values should be compared. Note:
  • Numeric operators (LT, LE, GT, GE, EQ, NE) work with numeric data types.
  • String operators (STARTS_WITH, ENDS_WITH, CONTAINS, NOT_CONTAINS and their IGNORE_CASE/NOT_ variants) work with string data types only.
  • Existence operators (IS_EXISTS, IS_NOT_EXISTS, IS_EMPTY, IS_NOT_EMPTY, EXISTS_AND_EMPTY) check for variable existence and emptiness. These do not require a second value.
  • List operators (IN, NOT_IN and their IGNORE_CASE variants) check if a value is present in a list. List values are separated by # character.
  • Positive operators (EQ, CONTAINS, IN, STARTS_WITH, ENDS_WITH, etc.) return false when the variable is null. Negative operators (NE, NOT_CONTAINS, NOT_IN, NOT_STARTS_WITH, NOT_ENDS_WITH, etc.) return true when the variable is null.

Body Read Behavior

EnumBodyReadBehavior

Controls when the gateway reads the request or response body.
ValueDescription
ALWAYS_READAlways read the body (default)
READ_IF_POLICY_EXISTSRead the body only if a policy that needs body access exists
NEVER_READNever read the body

Usage

Used in API Proxy metadata and creation to control body reading behavior:
  • requestBodyReadBehavior - Controls request body reading
  • responseBodyReadBehavior - Controls response body reading

Performance Note

Using READ_IF_POLICY_EXISTS can improve gateway performance by skipping unnecessary body reads for requests/responses that don’t need body processing.