# 功能描述

监控服务状态列表

# 请求

# 请求示例

GET /monitor/service/list

# 请求参数_ _

# 请求头

名称 描述 类型 必填
Authorization 用户token信息 string

# 请求体

# 响应

# 响应头

此接口无特殊响应头。

# 响应体

请求成功的响应体为

{
    "code": 0,
    "message": "success",
    "data": [
        {
            "id": 7,
            "url": "http://testeditor.meishesdk.com:9999/job/service/info",
            "type": "TASK_SCHEDULER",
            "status": "NORMAL",
            "lastDate": 1656036218000
        },
        {
            "id": 8,
            "url": "http://localhost:8092",
            "type": "AUDIO_COMPARE",
            "status": "NORMAL",
            "lastDate": 1656036200000,
            "executeCount": 0,
            "maxExecuteCount": 2
        },
        {
            "id": 9,
            "url": "http://localhost:8090",
            "type": "COMPILE",
            "status": "NORMAL",
            "lastDate": 1656036214000,
            "executeCount": 0,
            "maxExecuteCount": 3
        },
        {
            "id": 10,
            "url": "http://172.22.147.205:8095",
            "type": "SPLIT_VIDEO",
            "status": "NORMAL",
            "lastDate": 1656036210000,
            "executeCount": 0,
            "maxExecuteCount": 4
        },
        {
            "id": 11,
            "url": "http://localhost:8093",
            "type": "SPLIT_WORD",
            "status": "NORMAL",
            "lastDate": 1656036219000,
            "executeCount": 0,
            "maxExecuteCount": 10
        },
        {
            "id": 12,
            "url": "http://172.22.147.205:8096",
            "type": "TAG_RECOGNITION",
            "status": "NORMAL",
            "lastDate": 1656036217000,
            "executeCount": 0,
            "maxExecuteCount": 2
        },
        {
            "id": 13,
            "url": "http://localhost:8091",
            "type": "TRANSCODE",
            "status": "NORMAL",
            "lastDate": 1656036211000,
            "executeCount": 0,
            "maxExecuteCount": 3
        },
        {
            "id": 14,
            "url": "https://testeditor.meishesdk.com:7443/app/test",
            "type": "AUTH_SERVER",
            "status": "NORMAL",
            "lastDate": 1656036230000
        }
    ]
}
名称 描述 类型 必填
type 服务的类型
鉴权服务 auth_server
任务调度服务 task_scheduler
合成服务 compile
转码服务 transcode
分词服务 split_word
音频对齐服务 audio_compare | string | 是 |

| status | 状态 正常 normal 异常 error | string | 是 | | lastDate | 最后通信时间,毫秒 | string | 是 |

请求失败的响应体为

{
    "code": <errorCode>,
    "message": <errorMessage>,          
    "data": null
}