capacity2.0

jiekou


3.模型审核查询接口

[TOC]

简要描述
  • 模型审核查询接口
接口维护负责人:陈谦
请求URL
  • http://172.17.10.52:8080/pyapi/model_review
请求方式
  • POST
请求参数
参数名 类型 说明
CheckStatus int 模型的审核状态:0:已拒绝 / 1:已通过 / 2:已申请/ 3:全部状态
page int 页数
limit int 每页显示的数量
OutPut bool 是否导出接口
请求示例-申请中
{
    "CheckStatus": 2,
    "page": 1,
    "limit": 10,
    "OutPut":false
}
返回示例
{
    "code": 200,
    "data": [
        {
            "CheckStatus": "申请中",
            "ModelName": "sx_lousy_Mx0",
            "TarinTime": "2022-07-26 16:46:55",
            "TarinUser": "HYNN"
        },
        {
            "CheckStatus": "申请中",
            "ModelName": "sx_lousy_Mx1",
            "TarinTime": "2022-07-25 14:34:05",
            "TarinUser": null
        },
        {
            "CheckStatus": "申请中",
            "ModelName": "sx_lousy_Mx2",
            "TarinTime": "2022-07-25 14:59:59",
            "TarinUser": null
        },
        {
            "CheckStatus": "申请中",
            "ModelName": "sx_lousy_Mx3",
            "TarinTime": "2022-07-26 16:27:48",
            "TarinUser": null
        }
    ],
    "msg": "success",
    "pageData": {
        "page": 1,
        "total": 4
    }
}
请求示例-已通过
{
    "CheckStatus": 1,
    "page": 1,
    "limit": 10,
    "OutPut":false
}
返回示例
{
    "code": 200,
    "data": [
        {
            "CheckStatus": "已通过",
            "ModelName": "sx_brs4K_M1",
            "TarinTime": "2022-06-28 19:26:16",
            "TarinUser": null
        },
        {
            "CheckStatus": "已通过",
            "ModelName": "sx_brs4K_M4",
            "TarinTime": "2022-07-14 13:24:36",
            "TarinUser": null
        },
        {
            "CheckStatus": "已通过",
            "ModelName": "sx_lousy_Mx0",
            "TarinTime": "2022-07-26 16:46:55",
            "TarinUser": "HYNN"
        }
    ],
    "msg": "success",
    "pageData": {
        "page": 1,
        "total": 3
    }
}
请求示例-已拒绝
{
    "CheckStatus": 0,
    "page": 1,
    "limit": 10,
    "OutPut":false
}
返回示例
{
    "code": 200,
    "data": [
        {
            "CheckStatus": "已拒绝",
            "ModelName": "sx_brs4K_M3",
            "TarinTime": "2022-07-02 13:24:36",
            "TarinUser": null
        },
        {
            "CheckStatus": "已拒绝",
            "ModelName": "sx_brs4K_M2",
            "TarinTime": "1905-07-07 00:00:00",
            "TarinUser": null
        }
    ],
    "msg": "success",
    "pageData": {
        "page": 1,
        "total": 2
    }
}
返回参数说明
参数名 类型 说明
CheckStatus nvarhar 模型的审核状态
ModelName nvarchar 模型的名称
TarinTime nvarchar 训练时间
TarinUser nvarchar 训练用户
请求示例-导出接口
{
    "CheckStatus": 2,
    "page": 1,
    "limit": 10,
    "OutPut":true
}
返回示例
{
    "code": 200,
    "data": "http://172.17.10.52:8080/output/模型状态数据.csv",
    "msg": "success"
}
备注

页面列表

ITEM_HTML