The Export Endpoint is deprecated. Instead, call the Pull App Configuration Files endpoint with an Accept: application/zip header.
Export an application as a zip file.
Parámetros de path
-
An Atlas Project/Group ID.
-
El ObjectID de tu aplicación. La sección de ID de Proyecto y ID de la aplicación de App Services API muestra cómo encontrar este valor.
Parámetros de query
-
The
_idof a specific deployment to export. If not specified, export the latest deployment. -
Si
true, el directorio exportado es adecuado para la implementación automática desde GitHub u otro control de versiones.Cannot be used with the
templatequery parameter.El valor por defecto es
false. -
If
true, the exported directory does not include any identifiers or other data that would tie the app to a specific deployment instance.Cannot be used with the
source_controlquery parameter.El valor por defecto es
false. -
The configuration file schema version to export. This value corresponds to
config_versioninroot_config.json.
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/export' \
--header "Authorization: Bearer $ACCESS_TOKEN"