Skip to content

Reads Definition-owned assignment configuration metadata; no Instance permissions are granted.

GET
/api/workspace/tasks/configuration/task-definitions/{taskDefinitionId}/roles-assignments
curl --request GET \
--url https://example.com/api/workspace/tasks/configuration/task-definitions/example/roles-assignments \
--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
RoleMappings
Array<object>
nullable
object
MappingId
string
nullable
WorkspaceRoleId
string
nullable
InternalRoleKey
string
nullable
RowVersion
string format: uuid
ParticipantAdmissions
Array<object>
nullable
object
AdmissionId
string
nullable
Participant
integer format: int32
Allowed values: 0 1 2
SourceKind
integer format: int32
Allowed values: 0 1
SourceId
string
nullable
Sources
Array<object>
nullable
object
SourceKind
integer format: int32
Allowed values: 0 1
Id
string
nullable
DisplayName
string
nullable
AssignmentPolicy
object
InitialOwner
required
integer format: int32
Allowed values: 0 1 2 4
InitialResponsible
required
integer format: int32
Allowed values: 0 1 2 4
ChangeOwner
required
integer format: int32
Allowed values: 0 1 2 4
ChangeResponsible
required
integer format: int32
Allowed values: 0 1 2 4
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": {
"ParticipantAdmissions": [
{
"Participant": 0,
"SourceKind": 0
}
],
"Sources": [
{
"SourceKind": 0
}
],
"AssignmentPolicy": {
"InitialOwner": 0,
"InitialResponsible": 0,
"ChangeOwner": 0,
"ChangeResponsible": 0
}
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}