versions
Creates, updates, deletes, gets or lists a versions resource.
Overview
| Name | versions |
| Type | Resource |
| Id | cloudflare.workflows.versions |
Fields
The following fields are returned by SELECT queries:
- get
- list
Get specific version details.
| Name | Datatype | Description |
|---|---|---|
id | string (uuid) | |
workflow_id | string (uuid) | |
class_name | string | |
created_on | string (date-time) | |
has_dag | boolean | |
language | string | The programming language of the workflow implementation (javascript, python) |
limits | object | |
modified_on | string (date-time) |
List deployed workflow versions.
| Name | Datatype | Description |
|---|---|---|
id | string (uuid) | |
workflow_id | string (uuid) | |
class_name | string | |
created_on | string (date-time) | |
has_dag | boolean | |
language | string | The programming language of the workflow implementation (javascript, python) |
limits | object | |
modified_on | string (date-time) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | workflow_name, version_id, account_id | Retrieves details for a specific deployed workflow version. | |
list | select | workflow_name, account_id | per_page, page | Lists all deployed versions of a workflow. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
version_id | string (uuid) | |
workflow_name | string | The Workflow name. |
page | number | |
per_page | number |
SELECT examples
- get
- list
Retrieves details for a specific deployed workflow version.
SELECT
id,
workflow_id,
class_name,
created_on,
has_dag,
language,
limits,
modified_on
FROM cloudflare.workflows.versions
WHERE workflow_name = '{{ workflow_name }}' -- required
AND version_id = '{{ version_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;
Lists all deployed versions of a workflow.
SELECT
id,
workflow_id,
class_name,
created_on,
has_dag,
language,
limits,
modified_on
FROM cloudflare.workflows.versions
WHERE workflow_name = '{{ workflow_name }}' -- required
AND account_id = '{{ account_id }}' -- required
AND per_page = '{{ per_page }}'
AND page = '{{ page }}'
;