Vai al contenuto principale
POST
Add workflow

Intestazioni

X-Workspace-Id
string

Workspace ID

Parametri del percorso

id
string
obbligatorio

Corpo

application/json
name
string
template
string

File name of a default workflow to copy the jobs from

Esempio:

"vulnerability_scan_basic.yaml"

tools
object[]
copyFromProjectWorkflowId
string

Project workflow (binding) of any project to copy

on
object

When the workflow runs on its own: schedules and "assets added"

Risposta

200 - application/json
id
string
obbligatorio
createdAt
string<date-time>
obbligatorio
updatedAt
string<date-time>
obbligatorio
projectId
string
obbligatorio
workflow
object
obbligatorio
workflowId
string
obbligatorio
triggers
object[]
lastRun
object | null