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
-
decisionModelName: string
Name of the Decision Model
-
spaceId: string
Identifies the Process space in which the decision model was created.
-
tagId: number
Tag ID, this is usually the runtime version ID (e.g. 1.0, 2.0)
Header Parameters
-
Authorization: string
Authorization header MUST be set to type Bearer and an access token must be provided i.e. 'Bearer
' Default Value:Bearer XXXXX.XXXXX.XXXXX
Response
Supported Media Types
- application/json
- text/plain
200 Response
Successful Response
Root Schema : DecisionModelTag
Match All
Show Source
Example:
{
"application/json":{
"@class":".DecisionModelTag",
"name":"1.0",
"ref":{
"@class":".DecisionModelTag$VersionReference",
"name":"SampleDecisionModelSnapshot1"
}
}
}
Nested Schema : DecisionModelTag-allOf[1]
Type:
Show Source
object
-
class(optional):
string
Default Value:
.DecisionModelTag
-
ref(optional):
string
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