Saltar al contenido principal
POST
Create workflow

Encabezados

X-Workspace-Id
string

Workspace ID

Cuerpo

application/json
name
string
requerido

Name of the workflow

Ejemplo:

"Group Workflow"

content
object
requerido

Content of the workflow in JSON format

filePath
string

File path for the workflow

Ejemplo:

"workflows/vulnerability-scan.yaml"

Respuesta

200 - application/json

Created workflow object

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