+

Search Tips | Advanced Search

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


Keystore (POST)

Deploy a keystore for a runtime.


Description

A deployable is a keystore.

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

This transaction can run synchronously or asynchronously. If the transaction is 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/keystore


Example


Path Parameters


Query Parameters

Query parameters are optional.


Consumes

multipart/form-data


Produces

application/json, application/xml, text/xml


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