Files
doc-exports/docs/apig/umn/apig_03_0047.html
Chen, Junjie 324aa7d3c4 APIG UMN 20240708 version
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-11-05 15:25:06 +00:00

10 KiB

Response Headers

The following table describes the response headers that APIG adds to the response returned when an API is called.

X-Apig-Mode: debug indicates API debugging information.

Response Header

Description

Remarks

X-Request-Id

Request ID.

Returned for all valid requests.

X-Apig-Latency

Duration from the time when APIG receives a request to the time when the backend returns a message header.

Returned only when the request header contains X-Apig-Mode: debug.

X-Apig-Upstream-Latency

Duration from the time when APIG sends a request to the backend to the time when the backend returns a message header.

Returned only when the request header contains X-Apig-Mode: debug and the backend type is not Mock.

X-Apig-RateLimit-api

API request limit information.

Example: remain:9,limit:10,time:10 second.

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called.

X-Apig-RateLimit-user

User request limit information.

Example: remain:9,limit:10,time:10 second.

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called by a user.

X-Apig-RateLimit-app

Credential request limit information.

Example: remain:9,limit:10,time:10 second.

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called by a credential.

X-Apig-RateLimit-ip

IP address request limit information.

Example: remain:9,limit:10,time:10 second.

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called by an IP address.

X-Apig-RateLimit-api-allenv

Default API request limit information.

Example: remain:199,limit:200,time:1 second.

Returned only when the request header contains X-Apig-Mode: debug.