Skip to content

Returns the fixed state matrix and configured actor grants.

GET
/api/workspace/tasks/configuration/task-definitions/{taskDefinitionId}/transition-matrix
curl --request GET \
--url https://example.com/api/workspace/tasks/configuration/task-definitions/example/transition-matrix \
--header 'Authorization: Bearer <token>'
taskDefinitionId
required
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

OK

Media typeapplication/json
object
Data
object
TaskDefinitionId
string
nullable
ExecutionMode
integer format: int32
Allowed values: 0 1
QueueResponsibleRequired
boolean
DefinitionRowVersion
string format: uuid
States
Array<integer>
nullable
Allowed values: 0 1 2 3 4 5
AvailableActors
Array<integer>
nullable
Allowed values: 0 1 2 3 4
Rules
Array<object>
nullable
object
RuleId
string
nullable
FromState
integer format: int32
Allowed values: 0 1 2 3 4 5
ToState
integer format: int32
Allowed values: 0 1 2 3 4 5
Supported
boolean
Enabled
boolean
ActorGrants
Array<integer>
nullable
Allowed values: 0 1 2 3 4
RowVersion
string format: uuid
Actions
object
CanUpdate
boolean
Diagnostics
Array<object>
nullable
object
Code
string
nullable
Message
string
nullable
Severity
string
nullable
Field
string
nullable
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"ExecutionMode": 0,
"States": [
0
],
"AvailableActors": [
0
],
"Rules": [
{
"FromState": 0,
"ToState": 0,
"ActorGrants": [
0
]
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}