Get Export
| apigateway_get_export | R Documentation |
Exports a deployed version of a RestApi in a specified format¶
Description¶
Exports a deployed version of a RestApi in a specified format.
Usage¶
Arguments¶
restApiId[required] The string identifier of the associated RestApi.
stageName[required] The name of the Stage that will be exported.
exportType[required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.
parametersA key-value map of query string parameters that specify properties of the export, depending on the requested
exportType. ForexportTypeoas30andswagger, any combination of the following parameters are supported:extensions='integrations'orextensions='apigateway'will export the API with x-amazon-apigateway-integration extensions.extensions='authorizers'will export the API with x-amazon-apigateway-authorizer extensions.postmanwill export the API with Postman extensions, allowing for import to the Postman toolacceptsThe content-type of the export, for example
application/json. Currentlyapplication/jsonandapplication/yamlare supported forexportTypeofoas30andswagger. This should be specified in theAcceptheader for direct API requests.
Value¶
A list with the following syntax: