getDeploymentModes

This API operation and its parameters retrieve a list of environments and allowed deployment modes for a subscription,

Command

GET https://portalapi.commerce.ondemand.com/v2/subscriptions/{subscriptionCode}/deploymentmodes

Parameters

Name Required Description

subscriptionCode

string

(path)

Yes

The code of the subscription associated to the build that you want to deploy.

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

Responses

The response content type is */*.

Code Description
200 OK

Example Value | Model

[
  {
    "deploymentModes": {
      "dataMigrationMode": [
        "NONE"
      ],
      "deploymentMode": [
        "ROLLING_UPDATE"
      ]
    },
    "environmentCode": "string"
  }
]
401 Unauthorized
403 Forbidden
404 Not Found