Skip to content

Reads stored comment/file configuration; does not authorize content access.

GET
/api/workspace/tasks/configuration/task-definitions/{taskDefinitionId}/collaboration
curl --request GET \
--url https://example.com/api/workspace/tasks/configuration/task-definitions/example/collaboration \
--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
Enabled
required
boolean
Comments
object
ReadSources
required
integer format: int32
Allowed values: 0 1 2 4
Owner
required
integer format: int32
Allowed values: 0 1 2
PublishTo
required
integer format: int32
Allowed values: 0 1 2 4
Files
object
ReadSources
required
integer format: int32
Allowed values: 0 1 2 4
Owner
required
integer format: int32
Allowed values: 0 1 2
PublishTo
required
integer format: int32
Allowed values: 0 1 2 4
Rules
Array<object>
nullable
object
Operation
integer format: int32
Allowed values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Grants
Array<object>
nullable
object
Actor
required
integer format: int32
Allowed values: 0 1 2 3 4 5
State
required
integer format: int32
Allowed values: 0 1 2 3 4 5
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": {
"Comments": {
"ReadSources": 0,
"Owner": 0,
"PublishTo": 0
},
"Files": {
"ReadSources": 0,
"Owner": 0,
"PublishTo": 0
},
"Rules": [
{
"Operation": 0,
"Grants": [
{
"Actor": 0,
"State": 0
}
]
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}