v1

latestSwagger 2.02026-07-17958153.6 KB
v2

获取 job

get job by group and id

get/v2/job/{id}/group/{group}

Path parameters

groupstring string required

group name

idstring string required

job id

Response

{"id":"","kind":0,"name":"aac","group":"default","user":"","cmd":"echo "hello ">/tmp/aac.txt","pause":true,"parallels":0,"timeout":0,"interval":0,"retry":0,"rules":[{"id":"NEW0.5930536330436825","nids":["172.16.0.118"],"timer":"* 5 * * * *","exclude_nids":["172.16.0.131"]}],"fail_notify":false,"to":[]}