Check a Flow without saving it
Runs the checks that a publish runs and saves nothing. The problems are in the response.
A body that names exactly one existing Flow is checked as that Flow’s next draft.
A name that breaks the naming rules is refused with 400, and a name that several Flows hold with 409, rather than listed as a problem.
Permissions for nested calls. This endpoint calls other Fynapse services with your token. Depending on the request, the token also needs:
data_structure_readorbulk_configurator_read, when the Flow uses an Entity.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Request
This endpoint expects an object.
name
Letters, digits, spaces and ()!_.-, starting with a letter, at most 64 characters, unique.
description
Description of the flow.
graph
The steps of a flow and how they connect. Node ids can change when a draft is saved, so read the draft again before you refer to a node.
Response
OK
valid
True when there are no problems.
persisted
Always false; the check saves nothing.
problems
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
5XX
Server Error