{
    "input": {   // input 参数同接口1
    },
    "runOptions": {
        "buildTag": "latest",
        "timeoutSecs": 600,
        "memoryMbytes": 2048
    },
    "title": "xxx 网站采集",  // 任务标题
    "scheduleCron": "0 0 0 */1 * ?",  // 调度周期,支持 cron 表达式
    "desc": "",  // 任务描述
    "scraperId": "", // 采集器的 ID,跟接口1一样,等待上线后会确定id
    "scheduleEnabled": true  // 是否启动调度
}curl --location --request PUT '/v1/tasks' \
--header 'beeize-api-token: xxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "input": {   // input 参数同接口1
    },
    "runOptions": {
        "buildTag": "latest",
        "timeoutSecs": 600,
        "memoryMbytes": 2048
    },
    "title": "xxx 网站采集",  // 任务标题
    "scheduleCron": "0 0 0 */1 * ?",  // 调度周期,支持 cron 表达式
    "desc": "",  // 任务描述
    "scraperId": "", // 采集器的 ID,跟接口1一样,等待上线后会确定id
    "scheduleEnabled": true  // 是否启动调度
}'{
  "code": 0,
  "msg": "",
  "data": {
    "id": "0k6ue1uo13g85fi4f",
    "name": "0k6ue1uo13g85fi4f",
    "scraperId": "mm5733d6hznnyyefr",
    "title": "微博贴文采集器-任务",
    "desc": "",
    "input": {},
    "proxyConfig": {
      "countryCode": "cn",
      "proxyType": "RESIDENTIAL"
    },
    "scheduleCron": "0 0 0 */1 * ?",
    "scheduleEnabled": true,
    "runOptions": {
      "buildTag": "latest",
      "timeoutSecs": 600,
      "memoryMbytes": 2048
    }
  }
}