Get the Snapshot Name Associated with a Runtime Version ID

get

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

Gets the snapshot name associated with a runtime version ID. 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 response contains the json representation of a tag resource, of which the resource name is the runtime version ID, in which the ref attribute contains the snapshot name.

Request

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
Back to Top

Response

Supported Media Types

200 Response

Successful Response
Body ()
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
Example Response (application/json)
{
    "@class":".DecisionModelTag",
    "name":"2.0",
    "lastChangedBy":"jlondon",
    "createdTime":"2017/02/01T15:49:47",
    "createdBy":"jlondon",
    "ref":{
        "@class":".DecisionModelTag$VersionReference",
        "name":"SampleDecisionModelSnapshot1"
    }
}

401 Response

Unauthorized

403 Response

Forbidden (Expired or invalid token)

404 Response

Not Found

500 Response

Internal Server Error
Back to Top