任务中心

创建任务模板

创建新的任务模板

post/api/v1/template/add

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

Request body

contentstring

任务内容

createdAtstring

创建时间

createdBystring

创建人

idinteger
namestring

任务名称

remarkstring

备注信息

typeinteger

1=shell模板, 2=python模板, 3=ansible模板

updatedAtstring

更新时间

updatedBystring

更新人

Response

OK

codeinteger

状态码

dataunknown
messagestring

提示信息

Changes

No recorded changes to this operation across all 1 revision of this API.