Skip to content

Publish App

The Publish App service publishes an application that is added into Volt MX Foundry Engagement Services. The service accepts App ID as an input parameter to publish an application.

URL

The HTTP URL for Publish App API is:

http://<host>:<port>/api/v1/applications/id/publish

This service implements Gateway Filter for Authentication/Basic Authentication to authenticate access of the service by a user.

Note: Provide the unique appId assigned to an app to publish it.

Method

POST

The payload's request header includes Content-Type as application/json;charset=UTF-8.

Input Parameters

The following fields are input parameters:

Input Parameter Required Type Description
Application ID Yes long The unique ID assigned to the application.

Output Parameters

The following fields are output parameters:

Output Parameter Type Description
id long Unique app ID assigned to an app
message string Response status message

Sample Response

{
"id" : "300966548262167",
"message" : "Application published successfully"
}

Response Status

Code Description
Status 200 Application published successfully
Status 400 Application not found for publishing/unpublishing
Status 401 Unauthorized request.
Status 500 Server failure to process request.