Note: For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.

Export application environment (GET)

Retrieves a compressed binary file that contains all or selected application environment-specific resources for this runtime.

Description

The method supports range requests to deliver only a range of the bytes of the binary file. Clients can use this feature to resume a download after an interruption.

Roles

Users in the following roles are authorized to perform this operation:

  • mfpadmin
  • mfpdeployer
  • mfpmonitor
  • mfpoperator

Method

GET

Path

/management-apis/2.0/runtimes/runtime-name/export/applications/application-name/application-env

Example

https://www.example.com/mfpadmin/management-apis/2.0/runtimes/myruntime/export/applications/myapplication/android?include=APP_DESCRIPTOR&locale=de_DE

Path Parameters

runtime-name
The name of the runtime. This is the context root of the runtime web application, without the leading slash.
application-name
The name of the application.
application-env
The application environment.

Query Parameters

Query parameters are optional.

include
Optional query parameter to get selected resources.
locale
The locale used for error messages.

Produces

application/octet-stream

Response

The compressed file containing all or selected application environment-specific resources for this runtime.

Errors

400
The request is invalid.
403
The user is not authorized to call this service.
404
One or more of the corresponding binary files were not found.
416
The requested range of bytes is not valid.
500
An internal error occurred.