v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1472221377.0 KB

Creates an API mapping.

post/v2/domainnames/{domainName}/apimappings

Path parameters

domainNamestring required

The domain name.

Request body

apiIdstring required

The identifier.

apiMappingKeystring

After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">Selection Expressions</a> for a list of expressions and each expression's associated selection key type.

stagestring required

A string with a length between [1-128].

Response

Success

ApiIdstring

The API identifier.

ApiMappingIdstring

The API mapping identifier.

ApiMappingKeystring

The API mapping key.

Stagestring

The API stage.