Get a List of Runtime Version IDs of a Decision Model
get
/ic/api/process/v1/dmn/spaces/{spaceId}/decision-models/{decisionModelName}/tags
Gets a list of runtime version IDs of a decision model. A runtime ID version is the version ID assigned by the user when a snapshot is deployed. Runtime version IDs are the tag name in the tag resource path. Tag is a child resource of the decision model resource. The response body contains a reference to the snapshot name.
Request
Path Parameters
-
decisionModelName(required): string
Name of the Decision Model
-
spaceId(required): string
Identifies the Process space in which the decision model was created.
Query Parameters
-
levels(required): number
Maximum resource depth to expand. Set to 2 for this requestDefault Value:
2
Header Parameters
-
Authorization(required): 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
Example Response (application/json)
{
"@class":".RestCollection",
"name":"tags",
"lastChangedTime":"2017/02/01T15:49:47",
"lastChangedBy":"jlondon",
"createdTime":"2017/01/17T11:35:08",
"createdBy":"jlondon",
"items":[
{
"@class":".DecisionModelTag",
"name":"1.0",
"lastChangedTime":"2017/02/01T15:49:47",
"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