job

创建JOB

post/jobs

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/jobs
  • Auth
    none declared. Required headers: Devops-Token

Headers

Devops-Tokenstring required

凭证信息

Request body

activeDeadlineSecondsinteger

Job存活时间

commandstring[]

启动命令

envobject

环境变量

imagestring required

镜像

namestring required

唯一名称

Response

任务ID

Changes

No recorded changes to this operation across all 2 revisions of this API.