测试计划 CODEARTS TESTPLAN-仪表盘根据测试服务ID获取MsgInfo详细信息:响应示例

时间:2025-04-30 10:53:30

响应示例

状态码:200

OK

{
  "list" : [ {
    "id" : "d0c909aeee594422bb4f0f74bd786557",
    "task_id" : "taskConfigOperationNoticeTaskId",
    "alert_channels" : "EMAIL",
    "alert_type" : 7,
    "send_alert_type" : "OPERATION_NOTICE",
    "test_suite_type" : 1,
    "alert_time" : 1745827846000,
    "location_names" : "cn-north-7",
    "content" : "[操作通知]服务名称:xxx 操作内容:用户xxx在2025-xx-xx xx:xx:xx GMT+08:00修改了任务配置,任务最长执行时间由长期运行更改为长期运行",
    "link" : "https://{hosturl}/echotest/project/1234567890/echotest/configurations/clearTask",
    "alert_num" : 1,
    "alert_level" : 0
  } ],
  "page_num" : 1,
  "page_size" : 5,
  "total_page" : 1,
  "total_size" : 2
}

状态码:401

Unauthorized

{
  "error_code" : "DEV.00000003",
  "error_msg" : "认证信息过期"
}
support.huaweicloud.com/api-testman/ListMsgInfosUsing.html