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

Export resources (GET)

Retrieves a compressed file (.zip) that contains all the specified resources.

Description

It 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 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

Example

https://www.example.com/mfpadmin/management-apis/2.0/runtimes/myruntime/export?locale=de_DE&resourceInfos=newAdapter||ADAPTER_CONTENT

Path Parameters

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

Query Parameters

Query parameters are optional.

locale
The locale used for error messages.
resourceInfos
The information to uniquely identify a resource. Format resourceName||resourceType. For Adapter: {adapterName}||ADAPTER_CONTENT For Application Descriptor: {appName${platform}${version}||APP_DESCRIPTOR For Licence Configuration: {appName}||APP_LICENSE_CONFIG For Application Configuration: {appName${platform}${version}||APP_USER_CONFIGURATION For Keystore: keystore||KEYSTORE For Web Resource: {appName${platform}${version}||APP_WEB_CONTENT

Produces

application/octet-stream

Response

The compressed file of the specified deployables.

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 satisfiable.
500
An internal error occurred.