简要描述:

查询机器人详情信息

接口版本:

版本号 制定人 制定日期 修订日期
1.0 王力 2019-04-23 2019-04-23

接口说明:

请求方式 接口地址 Content-Type
GET /bot/one none

请求参数说明:

名称 提交 必填 数据类型 参数说明
id /bot/one/xxx N String 机器人ID

请求参数示例:

/bot/one/4b30611b-87c0-4b0e-9fa4-9441bfad715c

返回参数说明:

参数名 必填 类型 说明
errorCode int 错误码(0表示成功)
errorMsg string 描述信息
data 数组 数据内容,内容参考数据设置表AppModel

返回示例:

正确时返回

{
    "errorCode": 0,
    "data": {
        "actionTimeoutTime": 3600,
        "defaultResponses": [],
        "autoIntentParamConfig": false,
        "customerId": "1234",
        "headUrl": "",
        "terminal": true,
        "appLevel": "PRIVATE",
        "description": "智能问答机器44444444444人",
        "_id": "4b30611b-87c0-4b0e-9fa4-9441bfad715c",
        "appName": "智能问答机器1号",
        "wechatAuth": false,
        "createTime": "2019-04-23 13:59:35",
        "status": "Normal",
        "botId": "c794f6a0-b4fd-4402-b1fb-0880b7be7e9b",
        "sessionResetTime": 3600,
        "robotType": "INTEL_ROBOT",
        "appKey": "cff0c2a4-479a-4a65-9825-5f08cf349ac4",
        "faqId": "",
        "intentDetectionThreshold": 1,
        "attribute": {}
    },
    "errorMsg": "请求成功"
}

错误时返回

{
    "errorCode": 100,
    "errorMsg": "系统错误"
}

备注:

  • 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2019-04-25 14:36   作者:彭湃