Skip to content

Reads Definition-level Activation settings, independently of revision YAML.

GET
/api/workspace/workflow/configuration/workflow-definitions/{workflowDefinitionId}/activation
curl --request GET \
--url https://example.com/api/workspace/workflow/configuration/workflow-definitions/example/activation \
--header 'Authorization: Bearer <token>'
workflowDefinitionId
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
WorkflowDefinitionId
string
nullable
Mode
integer format: int32
Allowed values: 0 1
Precondition
string
nullable
ExplicitPermission

Portable authoring value for admission to an operation on its context.

object
Mode

The source of a context permission rule.

integer format: int32
Allowed values: 0 1 2
ResourcePath

Resource scope used by Responsible.

string
nullable
ResponsibilityKey

Responsibility definition key used by Responsible.

string
nullable
AnyOf

Any selected responsibility may grant admission. When present, scalar ResourcePath/ResponsibilityKey must be absent.

Array<object>
nullable

A responsibility definition in an exact context resource scope.

object
ResourcePath
string
nullable
ResponsibilityKey
string
nullable
Match

How selected context permissions are combined.

integer format: int32
Allowed values: 0 1
Permissions

Selections used by InheritPermission.

Array<object>
nullable

An existing permission and its optional transition selector.

object
Key
string
nullable
Transition
string
nullable
Expression

Security DSL source used by Dsl.

string
nullable
RowVersion
string format: uuid
CanUpdate
boolean
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": {
"Mode": 0,
"ExplicitPermission": {
"Mode": 0,
"Match": 0
}
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}