Skip to content

Validates one Wait Event source against the current workspace without changing the Workflow document.

POST
/api/workspace/workflow/configuration/workflow-definitions/{workflowDefinitionId}/wait-event-authoring/validate
curl --request POST \
--url https://example.com/api/workspace/workflow/configuration/workflow-definitions/example/wait-event-authoring/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "SourceKind": 0, "Identities": [ { "Resource": 0, "DefinitionId": "example", "ObjectId": "example" } ], "Path": [ "example" ], "Filter": "example", "EventTypes": [ 0 ], "Facet": 0, "BoardId": "example", "WorkflowDefinitionId": "example", "Changes": [ 0 ] }'
workflowDefinitionId
required
string
access_token
string

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

object
SourceKind
integer format: int32
Allowed values: 0 1 2
Identities
Array<object>
nullable
object
Resource
integer format: int32
Allowed values: 0 1
DefinitionId
string
nullable
ObjectId
string
nullable
Path
Array<string>
nullable
Filter
string
nullable
EventTypes
Array<integer>
nullable
Allowed values: 0 1 2 3 4 5
Facet
integer format: int32
Allowed values: 0 1
BoardId
string
nullable
WorkflowDefinitionId
string
nullable
Changes
Array<integer>
nullable
Allowed values: 0 1 2

OK

Media typeapplication/json
object
Data
object
CanSave
boolean
CanPublish
boolean
Diagnostics
Array<object>
nullable
object
Code
string
nullable
Path
string
nullable
Message
string
nullable
Line
integer format: int32
nullable
Column
integer format: int32
nullable
ExpressionStart
integer format: int32
nullable
ExpressionEnd
integer format: int32
nullable
PublicationDiagnostics
Array<object>
nullable
object
Code
string
nullable
Path
string
nullable
Message
string
nullable
Line
integer format: int32
nullable
Column
integer format: int32
nullable
ExpressionStart
integer format: int32
nullable
ExpressionEnd
integer format: int32
nullable
Boards
Array<object>
nullable
object
Id
string
nullable
DisplayName
string
nullable
WorkflowDefinitions
Array<object>
nullable
object
Id
string
nullable
DisplayName
string
nullable
RelatedTargetKind
integer format: int32
Allowed values: 0 1
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": {
"RelatedTargetKind": 0
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}