更新时间:2021-12-17 GMT+08:00
分享

查询联邦实例多版本信息

功能介绍

查询联邦实例多版本信息

URI

URI格式

GET https://{{Federal-IP}}/federated/v1/instances/{instanceId}? version={version}
参数说明,如表1所示。
表1 参数说明

参数

是否必选

类型

说明

instanceId

Y

String

联邦实例ID

version

N

String

联邦实例版本。如果不传,表示删除实例的所有版本

请求

请求样例

GET https://{{Federal-IP}}/federated/v1/instances/lfzad3kl

响应

成功响应样例如下所示,返回的是实例对象。样例代码中的参数说明,请参考“创建联邦实例”章节。

 [
    {
        "version": "0.0.2",
        "name": "test1129",
        "description": null,
        "type": "fault",
        "serverType": "cloud",
        "status": "DRAFT",
        "consoleStatus": "Draft",
        "baseAlgorithm": {
            "remote": {
                "projectId": "3c93079c85174014a969b94a04d35a4b",
                "projectName": "fl_z00511000",
                "modelId": null
            },
            "local": null,
            "modelEvaluationIndex": [
                "accuracy"
            ],
            "localRunEnv": 1
        },
        "aggregateAlgorithm": {
            "type": "AVG",
            "superArgs": {}
        },
        "taskId": null,
        "federatedTimes": null,
        "currentSubTaskId": null,
        "creator": "ai_train_s00453560",
        "createTime": "2019-11-29 09:09:42",
        "updateTime": "2019-11-29 09:09:42",
        "projectId": "050698b9de00d5e82f1dc0057ca15e62",
        "operationResult": null,
        "accuracy": null,
        "recallRate": null,
        "precision": null,
        "f1Score": null,
        "csbUserId": null,
        "csbAppId": null,
        "isPublic": false,
        "clients": [],
        "owner": true,
        "id": "lfzad3kl"
    },
    {
        "version": "0.0.1",
        "name": "test1129",
        "description": null,
        "type": "fault",
        "serverType": "cloud",
        "status": "DRAFT",
        "consoleStatus": "Draft",
        "baseAlgorithm": {
            "remote": {
                "projectId": "3c93079c85174014a969b94a04d35a4b",
                "projectName": "fl_z00511000",
                "modelId": null
            },
            "local": null,
            "modelEvaluationIndex": [
                "accuracy"
            ],
            "localRunEnv": 1
        },
        "aggregateAlgorithm": {
            "type": "AVG",
            "superArgs": {}
        },
        "taskId": null,
        "federatedTimes": null,
        "currentSubTaskId": null,
        "creator": "ai_train_s00453560",
        "createTime": "2019-11-29 09:05:50",
        "updateTime": "2019-11-29 09:05:50",
        "projectId": "050698b9de00d5e82f1dc0057ca15e62",
        "operationResult": null,
        "accuracy": null,
        "recallRate": null,
        "precision": null,
        "f1Score": null,
        "csbUserId": null,
        "csbAppId": null,
        "isPublic": false,
        "clients": [],
        "owner": true,
        "id": "lfzad3kl"
    }
]       
分享:

    相关文档

    相关产品

close