{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ListScheduledTasksResp":{"properties":{"job_count":{"description":"**参数解释**:\n任务总数。\n**取值范围**:\n不涉及。","type":"string"},"jobs":{"description":"**参数解释**:\n任务列表。\n**取值范围**:\n不涉及。","items":{"$ref":"#/definitions/ScheduledTaskEntity"},"type":"array"}},"type":"object"},"ScheduledTaskEntity":{"properties":{"created_at":{"description":"**参数解释**:\n创建时间。\n**取值范围**:\n不涉及。","type":"string"},"id":{"description":"**参数解释**:\n任务ID。\n**取值范围**:\n不涉及。","type":"string"},"name":{"description":"**参数解释**:\n任务名称。\n**取值范围**:\n不涉及。","type":"string"},"params":{"description":"**参数解释**:\n任务参数。\n**取值范围**:\n不涉及。","type":"string"},"schedule_at":{"description":"**参数解释**:\n定时执行时间。\n**取值范围**:\n不涉及。","type":"string"},"status":{"description":"**参数解释**:\n任务状态。\n**取值范围**:\n- CREATED:定时任务状态为创建成功。\n- SUCCESS:定时任务状态为成功。\n- FAILED:定时任务状态为失败。\n- DELETED:定时任务状态为已删除。\n- EXECUTING:定时任务状态为执行中。\n- CANCELLED:定时任务状态为取消。","type":"string"},"updated_at":{"description":"**参数解释**:\n更新时间。\n**取值范围**:\n不涉及。","type":"string"},"user_id":{"description":"**参数解释**:\n用户ID。\n**取值范围**:\n不涉及。","type":"string"},"user_name":{"description":"**参数解释**:\n用户名称。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"}},"description":null,"group_id":"01d11699e8074781a7ab0fb1c8d994e7","host":"dms.cn-north-4.myhuaweicloud.com","id":"700749f5cadc48d59fc5a8eae0586137","info_version":"v2","method":"get","name":"ListScheduledTasks","parameters":{},"paths":{"/v2/{project_id}/instances/{instance_id}/scheduled-tasks":{"get":{"description":"查询实例的定时任务列表。","operationId":"ListScheduledTasks","parameters":[{"description":"**参数解释**:\n项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n实例ID。获取方法如下:调用[查询所有实例列表](ListInstancesDetails.xml)接口,从响应体中获取实例ID。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"instance_id","required":true,"type":"string"},{"description":"**参数解释**:\n开启查询的定时任务编号。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"start","required":false,"type":"string"},{"description":"**参数解释**:\n查询的定时任务个数。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"limit","required":false,"type":"string"},{"description":"**参数解释**:\n查询定时任务的最小时间,格式为YYYYMMDDHHmmss。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"begin_time","required":false,"type":"string"},{"description":"**参数解释**:\n查询定时任务的最大时间,格式为YYYYMMDDHHmmss。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"end_time","required":false,"type":"string"}],"responses":{"200":{"description":"查询实例的定时任务列表成功。","examples":{"application/json":{"job_count":2,"jobs":[{"created_at":"2023-06-09T03:23:12.702Z","id":"ff808082889e267601889e2df7be0013","name":"jobName","params":"{\"reassignment_topics\":\"[topic-1]\"}","schedule_at":"2023-06-08T05:08:26.000Z","status":"SUCCESS","updated_at":"2023-06-09T03:35:00.067Z","user_id":"0b01fbb53600d4671fa8c00673c71260","user_name":"paas_dms_03"}]}},"schema":{"$ref":"#/definitions/ListScheduledTasksResp"}}},"schemes":["https"],"summary":"查询实例的定时任务列表","tags":["后台任务管理"],"x-api-type":"open-api","x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-ratelimit":"dms02","x-apigateway-request-type":"public","x-hybridcloud":true,"x-is-registered":"Y","x-name":"查询实例的定时任务列表","x-open-region-cloud":"hws,hws_hk","x-produc-type":"rabbitmq","x-request-examples-description-1":"分页查询1970.01.01.000000到2024.01.01.000000之间的定时任务。","x-request-examples-url-1":"/v2/{{project_id}}/instances/{instance_id}/schedule-tasks?start=0&limit=10&beginTime=19700101000000&endTime=20240101000000","x-support-sdk":"Y"}}},"product_short":"RabbitMQ","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询实例的定时任务列表","tags":"后台任务管理","uri":null,"version":"2.0"}