Vai al contenuto principale
POST
Create workflow

Intestazioni

X-Workspace-Id
string

Workspace ID

Corpo

application/json
name
string
obbligatorio

Name of the workflow

Esempio:

"Group Workflow"

content
object
obbligatorio

Content of the workflow in JSON format

filePath
string

File path for the workflow

Esempio:

"workflows/vulnerability-scan.yaml"

Risposta

200 - application/json

Created workflow object

id
string
obbligatorio
createdAt
string<date-time>
obbligatorio
updatedAt
string<date-time>
obbligatorio
name
string
obbligatorio
content
object
obbligatorio
filePath
string
obbligatorio
isCanDelete
boolean
obbligatorio
isCanEdit
boolean
obbligatorio