メインコンテンツへスキップ
POST
Add workflow

ヘッダー

X-Workspace-Id
string

Workspace ID

パスパラメータ

id
string
必須

ボディ

application/json
name
string
template
string

File name of a default workflow to copy the jobs from

例:

"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"

レスポンス

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