Deploy a Decision Model Snapshot

put

/ic/api/process/v1/dmn/spaces/{spaceId}/decision-models/{decisionModelName}/tags/{tagId}

Deploys a decision model snapshot. A runtime ID version is the version ID assigned by the user when a snapshot is deployed. Runtime versions IDs are the tag name in the tag resource path. Tag is a child resource of the decision model resource. The request body MUST contain the json representation of a tag resource, in which the ref attribute contains the snapshot name.

Request

Supported Media Types
Path Parameters
Header Parameters
  • Authorization header MUST be set to type Bearer and an access token must be provided i.e. 'Bearer '
    Default Value: Bearer XXXXX.XXXXX.XXXXX
Body ()
json description of the runtime version ID.
Root Schema : DecisionModelTag
Match All
Show Source
Example:
{
    "application/json":{
        "@class":".DecisionModelTag",
        "name":"1.0",
        "ref":{
            "@class":".DecisionModelTag$VersionReference",
            "name":"SampleDecisionModelSnapshot1"
        }
    }
}
Nested Schema : RestObject
Type: object
Show Source
Nested Schema : DecisionModelTag-allOf[1]
Type: object
Show Source
Back to Top

Response

Supported Media Types

204 Response

No Content (Operation successful)

401 Response

Unauthorized

403 Response

Forbidden (Expired or invalid token)

404 Response

Not Found

500 Response

Internal Server Error
Back to Top