Get a Space by Space ID
get
/ic/api/process/v1/dmn/spaces/{spaceId}
Gets the DMN space resource created in the Decision Model Service based on its space ID.
In Process, the resource ID of a DMN space is the same as that of the design time space in which it was created.
To retrieve the design time space ID, use the API /ic/api/process/v1/spaces.
Request
Path Parameters
-
spaceId(required): string
Identifies the Process space in which the decision model was created.
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":".Space",
"name":"0959b99e-b6cb-429e-b58f-94b7398463d0",
"lastChangedTime":"2017/02/27T12:26:40",
"lastChangedBy":"cdickens",
"createdTime":"2017/02/27T12:24:27",
"createdBy":"cdickens",
"decisionModels":{
"@class":".RestCollection",
"name":"decision-models",
"lastChangedTime":"2017/02/27T12:26:40",
"lastChangedBy":"cdickens",
"createdTime":"2017/02/27T12:24:27",
"createdBy":"cdickens"
},
"permissions":{
"@class":".RestCollection",
"name":"permissions",
"lastChangedTime":"2017/02/27T12:24:27",
"lastChangedBy":"cdickens",
"createdTime":"2017/02/27T12:24:27",
"createdBy":"cdickens",
"items":[
{
"@class":".Permission",
"name":"Public",
"lastChangedTime":"2017/02/27T12:24:27",
"lastChangedBy":"cdickens",
"createdTime":"2017/02/27T12:24:27",
"createdBy":"cdickens",
"read":false,
"write":false,
"execute":true,
"administer":false
}
]
}
}
401 Response
Unauthorized
403 Response
Forbidden (Expired or invalid token)
500 Response
Internal Server Error