getDeploymentProgress

This API operation and its parameters support the request to get SAP Commerce Cloud deployment progress.

Command

GET https://portalapi.commerce.ondemand.com/v2/subscriptions/{subscriptionCode}/deployments/{deploymentCode}/progress

Parameters

Name Required Description

subscriptionCode

string

(path)

Yes The code of the subscription associated to the build that was deployed.

You can find the subscription code in the Cloud Portal URL. It appears after subscription/ in the URL.

deploymentCode

string

(path)

Yes The code of a specific deployment.

You can find the deployment code in the Cloud Portal URL. It appears after deployments/ in the URL.

deploymentStatus

string

(path)

Yes The current situation of the current deployment. Possible values are as follows:
  • SCHEDULED
  • DEPLOYING
  • DEPLOYED
  • UNDEPLOYED
  • FAIL

Responses

The response content type is application/json.

Code Description
200 OK

Example Value | Model

{
  "subscriptionCode": "string",
  "deploymentCode": "string",
  "deploymentStatus": "string",
  "percentage": 0,
  "stages": [
    {
      "name": "string",
      "type": "string",
      "startTimestamp": "2020-02-06T17:56:40.080Z",
      "endTimestamp": "2020-02-06T17:56:40.080Z",
      "status": "string",
      "logLink": "string",
      "steps": [
        {
          "code": "string",
          "name": "string",
          "startTimestamp": "2020-02-06T17:56:40.080Z",
          "endTimestamp": "2020-02-06T17:56:40.080Z",
          "message": "string",
          "status": "string",
          "children": [
            null
          ]
        }
      ]
    }
  ]
}
401 Unauthorized
403 Forbidden
404 Not Found