Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

AutomationVersion

AutomationVersion

One saved version of an automation's flow.

View as Markdown
Summary view
AutomationVersionList, 9 fields. What a list returns by default.
Detail view
AutomationVersion, 11 fields. The default for a single read and for every write.

Every save of the flow adds a version and makes it the current one; a version never changes afterwards. The flow is a set of steps (nodes) and the lines between them (edges).

Used by

GETRead a version of an automation's flow/automation-versions/{automation_version}AutomationVersion
GETList an automation's versions/automations/{automation}/versionsAutomationVersionList

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

automation_idinteger

The automation whose flow this is.

versioninteger

Version number within its automation, counting from 1.

is_currentboolean

Whether this is the version whose flow runs.

saved_by_idinteger or null

Who saved this version. null once that user is gone.

created_attimestamp (YYYY-MM-DDThh:mm:ssZ) or null

When the version was saved.

definitionobjectDetail only

The flow as it is stored and as the builder draws it.

Show 2 child fields
definition.nodesarray of object

Every step, the trigger included.

Show 4 child fields
definition.nodes.keystring≤ 36

The step's own key, a UUID. Lines and data tags such as {{ steps.<key>.count }} name a step by it.

definition.nodes.typestring≤ 100

The step type, such as action.notify. See GET /api/v2/automation-node-types.

definition.nodes.configobject

The step's settings. Their schema is config_schema at GET /api/v2/automation-node-types/{slug}, where the slug is the type with . replaced by -. A secret, such as a token for another system, appears only as the id of where it is stored, never as its value.

definition.nodes.uiobject

Where the step sits on the builder's canvas.

Show 2 child fields
definition.nodes.ui.xinteger

Horizontal position on the canvas, in pixels.

definition.nodes.ui.yinteger

Vertical position on the canvas, in pixels.

definition.edgesarray of object

The lines between steps, in the order steps on the same lane run.

Show 3 child fields
definition.edges.fromstring≤ 36

Key of the step the line leaves.

definition.edges.lanestring≤ 40

Which way out of that step: next, a condition's yes or no, a path's key or otherwise, a loop's each or after.

definition.edges.tostring≤ 36

Key of the step the line leads to.

outlinearray of objectDetail only

The steps in the order people read the flow, each with what it does and where its lines lead. Lets a reader explain a flow without decoding definition.

Show 7 child fields
outline.numberinteger

The step's number as people count the flow; the trigger is step 1.

outline.keystring≤ 36

The step's key.

outline.typestring≤ 100

The step type.

outline.labelstring≤ 255

The step type's name.

outline.lanesarray of object

The ways out of the step and where each leads.

outline.kindstring or null

What kind of step it is; null for a step type plnnrly no longer has.

triggerconditionactionflow

New values may be added.

outline.summarystring or null

What the step does with its settings, as its card on the canvas says it.

automationRef or AutomationSummary

The automation whose flow this is.

saved_byRef or UserSummary or null

Who saved this version.

Variants

AutomationVersionList 9 fields

What a collection returns, and what ?view=summary returns on a single record.

Leaves out: definition, outline

AutomationVersionSummary 2 fields

The embedded form: what you get when another resource carries this one and you did not include it.

Leaves out: automation_id, is_current, saved_by_id, created_at, definition, outline, automation, saved_by, links