Workflow action elements — part 1
Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.
action/abortSiteProcesses
Section titled “action/abortSiteProcesses”Aborts processes that were started by e.g. WorkflowActionBuildSite.
Input ports: default (any; Input).
Output ports: default (any; Output), event (any; Event), error (any; Error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
deployer | select | page-depot | not declared | Deployer Values: page-depot. |
identifier | text | null | not declared | Site identifier |
action/buildSite
Section titled “action/buildSite”Triggers the build of a site using a site builder.
Input ports: default (any; Input).
Output ports: default (any; Output), event (any; Event), error (any; Error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
builder | select | page-depot | not declared | Builder Values: page-depot. |
identifier | text | null | not declared | Identifier |
client | recipes | null | not declared | Client |
action/buildStaticSite
Section titled “action/buildStaticSite”Triggers the build of a static site using Hugo.
Input ports: default (any; Input).
Output ports: default (any; Output), success (any; success), error (any; error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
title | text | null | not declared | Title |
baseURL | text | null | not declared | Base URL |
env | text | local | not declared | Environment |
theme | text | null | not declared | Theme |
languageCode | text | en-us | not declared | Language code |
summaryLength | text | 5 | not declared | Summary length |
enableRobotsTXT | bool | true | not declared | Enable robots.txt |
action/callSite
Section titled “action/callSite”Send events to a site deployer like page-depot.
Input ports: default (any; Input).
Output ports: default (any; Output), event (any; Event), error (any; Error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
deployer | select | page-depot | not declared | Deployer Values: page-depot. |
identifier | text | null | not declared | Site identifier |
serviceAccountKey | text | null | not declared | The service account key to use. It will be used by the caller to authenticate with the service and trigger webhooks. |
event | text | null | not declared | Event |
payload | recipes | [] | not declared | Payload |
action/cancelSubscriptions
Section titled “action/cancelSubscriptions”Cancels the plan subscriptions of the incoming entities right away (Buyable), optionally refunding the unused part of the current period. Stripe reports the end afterwards, which fires subscriptionDeactivated as usual.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
refund | bool | false | not declared | Refund unused time |
action/comment
Section titled “action/comment”Adds a comment to the history of an entity.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
comment | text | null | not declared | Comment |
action/convert
Section titled “action/convert”Use the export service to convert files using pandoc.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
value | recipes | null | not declared | Content |
file | bool | false | not declared | File |
parse | bool | false | not declared | Parse |
from | select | html | not declared | From Values: html, latex. |
to | select | pdf | not declared | To Values: latex, pdf, docx. |
filename | text | null | not declared | Filename |
assets | text | null | not declared | Assets |
action/delete
Section titled “action/delete”Delete an entity. Behavior for File directories: - default: soft-delete the directory subtree in the DB and leave the filesystem untouched. - with `delete_file=true`: only delete files or empty directories from disk; non-empty directories are not recursively wiped from disk. - with `delete_file=true` and `force_delete=true`: recursively remove the whole directory subtree from both disk and DB.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
delete_file | bool | false | not declared | If any File entities where passed and this is enabled, the actual files on disk will be deleted as well! This is irreversible if no FILE backups of the /storage/ directory exist! |
force_delete | bool | false | not declared | This will bypass soft deletes and forcefully HARD-DELETE the Entity from the DB. This is NOT reversible, the data will be gone without a backup. If used together with ‘Delete files on disk’ on a directory, the whole directory including all children will be removed HARD from both disk and DB. Use with caution! |
action/deploySite
Section titled “action/deploySite”Deploy a site with a deployer like page-depot.
Input ports: default (any; Input).
Output ports: default (any; Output), event (any; Event), error (any; Error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
deployer | select | page-depot | not declared | Deployer Values: page-depot. |
hostnames | text | null | not declared | Hostnames |
serviceAccountKey | text | null | not declared | The API key that will be used by the deployer to authenticate with the service and trigger webhooks. |
action/downloadFile
Section titled “action/downloadFile”Causes the file to be downloaded on the client.
Input ports: default (any; Input).
Output ports: default (any; Output).
Options: none.
action/downloadSite
Section titled “action/downloadSite”Download the raw files needed from a site deployer like page-depot.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
deployer | select | page-depot | not declared | Deployer Values: page-depot. |
identifier | text | null | not declared | Site identifier |
store_module | module | files | not declared | Store Module |
filename | text | Site-download.zip | not declared | File Name |