{ "activeGroup": "Default", "apiParamGroup": {}, "childList": [], "description": "", "directory": "~.fastRequest~collections~Root~server~SchedulerController", "domain": "http://localhost:9999", "enableEnv": "local", "enableProject": "ProjectOctopus", "filePath": "~.fastRequest~collections~Root~server~SchedulerController~createScriptScheduler.rapi", "headerList": [], "id": "api_io.wdd.rpc.controller.SchedulerController.createScriptScheduler", "allCmiiImageName": "新增一个定时脚本任务", "paramGroup": { "bodyKeyValueListJson": "{\n \"schedulerUuid\": \"\",\n \"allCmiiImageName\": \"测试任务\",\n \"cronExpress\": \"30 */30 * * * ? *\",\n \"description\": \"这是注释内容\",\n \"scriptContent\": \"echo yes \\napt-get update \\necho no \\napt-get install nginx -y\",\n \"targetMachine\": \"Chengdu-amd64-98-98066f\",\n \"lastExecutionId\": null,\n \"lastExecutionResultKey\": \"\",\n \"lastExecutionStatus\": null ,\n \"createTime\": \"\",\n \"updateTime\": \"\",\n \"nextScheduleTime\": \"\",\n \"lastScheduleTime\": \"\"\n}", "className": "io.wdd.rpc.controller.SchedulerController", "jsonDocument": "{\n \"schedulerUuid\": \"No comment,Value =schedulerUuid_9dr3w\",\n \"allCmiiImageName\": \"No comment,Value =name_ucmeh\",\n \"cronExpress\": \"No comment,Value =cronExpress_qbwqm\",\n \"description\": \"No comment,Value =description_drj0c\",\n \"scriptContent\": \"脚本任务的内容\",\n \"targetMachine\": \"执行目标机器agent_topic_name列表,使用, 分隔\",\n \"lastExecutionId\": \"与 execution_log表的主键对应,方便查询执行日志\",\n \"lastExecutionResultKey\": \"与 execution_log表的 result_key 对应,方便查询执行日志\",\n \"lastExecutionStatus\": \"任务上次执行状态\",\n \"createTime\": \"定时脚本任务创建时间\",\n \"updateTime\": \"上次更新时间\",\n \"nextScheduleTime\": \"任务下次计划执行时间\",\n \"lastScheduleTime\": \"任务上次计划执行时间\"\n}", "method": "createScriptScheduler", "methodDescription": "新增一个定时脚本任务", "methodType": "POST", "multipartKeyValueListJson": "[]", "originUrl": "/octopus/server/scheduler/script/create", "pathParamsKeyValueListJson": "[]", "postScript": "", "postType": "json", "preScript": "", "returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}", "tempId": "", "url": "/octopus/server/scheduler/script/create", "urlEncodedKeyValueListJson": "[]", "urlEncodedKeyValueListText": "", "urlParamsKeyValueListJson": "[]", "urlParamsKeyValueListText": "" }, "tempId": "id_io.wdd.rpc.controller.SchedulerController.createScriptScheduler", "type": 2 }