v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14120262383.5 KB

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

get/restapis/{restapi_id}/gatewayresponses

Path parameters

restapi_idstring required

The string identifier of the associated RestApi.

Query parameters

positionstring

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

limitinteger

The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.

Response

Success

positionstring