Imports an API.
put/v2/apis
Query parameters
basepathstring
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html">Set the OpenAPI basePath Property</a>. Supported only for HTTP APIs.
failOnWarningsboolean
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
Request body
Response
Success