+

Search Tips | Advanced Search

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


Application (POST)

Deploys an application.


Description

A deployable application

It first checks whether the input deployable is valid. Then, it transfers the deployable to the database and to the runtime.

This transaction can run synchronously or asynchronously. If processed asynchronously, the REST service returns before the transaction is completed. In this case, we can query the transaction result later by using the transaction REST service.


Roles

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


Method

POST


Path

/management-apis/2.0/runtimes/runtime-name/applications


Example


Path Parameters


Query Parameters

Query parameters are optional.


Consumes

application/json


Produces

application/json, application/xml, text/xml


Payload


JSON Example


Payload Properties

The payload has the following properties:

The applicationKey has the following properties:

The scopeTokenMapping has the following properties:

The securityCheckConfigurations has the following properties:

The expirationSec has the following properties:

The usernamePassword has the following properties:


Response

The metadata of the deployable.


JSON Example


XML Example


Response Properties

The response has the following properties:

The transaction has the following properties:

The description has the following properties:

The error has the following properties:

The project has the following properties:


Errors

400

403

404

500

Parent topic: REST API for the MobileFirst Server administration service