{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"CreateFactorySupplementDataInstanceRequestBody":{"properties":{"depend_jobs":{"description":"依赖作业信息","items":{"properties":{"job_name":{"description":"依赖的作业名称","example":"作业DLI-SQL-测试22","type":"string"},"workspace_id":{"description":"依赖的作业名称的空间ID","example":"0aa37090b4dc4ee8abd0cec3d3117a90","type":"string"}}},"type":"array"},"end_date":{"description":"补数据结束时间","example":"2023-09-05T23:59:59 +08","type":"string"},"force":{"description":"当前有补数据实例在运行时,是否强制补数据","example":true,"type":"string"},"is_day_granularity":{"description":"是否按天粒度补数据","example":true,"type":"boolean"},"is_stop_when_fail":{"description":"失败时作业是否停止","example":true,"type":"boolean"},"job_name":{"description":"作业名称","example":"job_0087","type":"string"},"name":{"description":"补数据实例名称","example":"P_job_4230_20230905_1549471","type":"string"},"parallel":{"description":"并行周期数","example":1,"format":"int32","type":"integer"},"priority":{"description":"优先级","example":2,"format":"int32","type":"integer"},"reverse_order":{"description":"按照时间倒序补跑","example":0,"format":"int32","type":"integer"},"start_date":{"description":"补数据开始时间","example":"2023-09-05T00:00:00 +08","type":"string"},"supplement_data_instance_time":{"description":"离散的日期补数据","properties":{"days":{"description":"离散的天","example":["2023/09/05-2023/09/05"],"items":{"type":"string"},"type":"array"},"time_of_day":{"description":"指定天中的时间段","example":"00:00-23:59","type":"string"}}},"supplement_data_run_time":{"description":"运行时间段","properties":{"day_of_month":{"description":"每个月的哪几天可以补数据,如每月1号,3号,表示:1,3","type":"string"},"day_of_week":{"description":"每周的星期几可以补数据,如:每周一,周三的每天10点15分到23点30分。","type":"string"},"time_of_day":{"description":"每天的可补数据时间段,如:每天的10点15分到23点30分,表示:10:15-23:30","example":"01:03-02:00","type":"string"}}}},"required":["name","job_name","start_date","end_date","parallel"],"type":"object"},"ErrorRsp":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"8ae6c2ab09e34f3cb77cb328e5d7b430","info_version":"v1","method":"post","name":"CreateFactorySupplementDataInstance","parameters":{},"paths":{"/v2/{project_id}/factory/supplement-data":{"post":{"description":"创建补数据实例","operationId":"CreateFactorySupplementDataInstance","parameters":[{"description":"项目编号名称","in":"path","name":"project_id","required":true,"type":"string"},{"description":"补数据实例请求参数体","in":"body","name":"CreateFactorySupplementDataInstanceRequestBody","required":true,"schema":{"$ref":"#/definitions/CreateFactorySupplementDataInstanceRequestBody"}},{"description":"当前作业的空间ID","in":"header","name":"workspace","required":false,"type":"string"},{"description":"用户认证信息","in":"header","name":"X-Auth-Token","required":false,"type":"string"},{"description":"定义消息体类型的请求头","in":"header","name":"Content-Type","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"","headers":{"X-request-id":{"description":"This field is the request ID number for task tracking. Format is request_uuid-timestamp-hostname.","type":"string"}}},"400":{"description":"Error response","headers":{"X-request-id":{"description":"This field is the request ID number for task tracking. Format is request_uuid-timestamp-hostname.","type":"string"}},"schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"创建补数据实例","tags":["作业开发接口"],"x-apiexplorer-hide":"false","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"创建补数据实例","tags":"作业开发接口","uri":null,"version":"2.0"}