接口请求域名: bi.intl.tencentcloudapi.com 。
查询数据源列表
默认接口请求频率限制:100次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribeDatasourceList。 |
| Version | 是 | String | 公共参数,本接口取值:2022-01-05。 |
| Region | 否 | String | 公共参数,此参数为可选参数。 |
| ProjectId | 是 | Integer | 无 |
| AllPage | 否 | Boolean | 返回所有页面,默认false |
| DbName | 否 | String | 数据库名称检索 |
| PageNo | 否 | Integer | 无 |
| PageSize | 否 | Integer | 无 |
| Keyword | 否 | String | 搜索关键词 |
| PermissionType | 否 | Integer | 过滤无权限列表的参数(0 全量,1 使用权限,2 编辑权限) |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| ErrorInfo | ErrorInfo | 自定义错误信息对象 注意:此字段可能返回 null,表示取不到有效值。 |
| Data | DatasourceInfoData | 列表详情 注意:此字段可能返回 null,表示取不到有效值。 |
| Extra | String | 信息 |
| Msg | String | 信息 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
示例
POST / HTTP/1.1
Host: bi.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDatasourceList
<公共请求参数>
{
"ProjectId": 1982493789748932,
"AllPage": false,
"DbName": "DbName",
"PageNo": 1982493789748932,
"PageSize": 1982493789748932,
"Keyword": "Keyword",
"PermissionType": 1982493789748932
}
{
"Response": {
"Data": {
"List": null,
"Total": 0,
"TotalPages": 0
},
"Extra": "",
"Msg": "success",
"RequestId": "3a66482b-7460-4d22-95bc-eae8c28568e4"
}
}
查询数据源列表
POST / HTTP/1.1
Host: bi.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDatasourceList
<公共请求参数>
{
"ProjectId": 11
}
{
"Response": {
"RequestId": "b8116ab8-92e8-4370-b3d5-6cb464b83609",
"Extra": "",
"Data": {
"List": null,
"Total": 0,
"TotalPages": 0
},
"Msg": "success"
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码。
| 错误码 | 描述 |
|---|---|
| AuthFailure | CAM签名/鉴权错误。 |
| FailedOperation | 操作失败。 |
| InternalError | 内部错误。 |
| InternalError.Internal | 内部错误。 |
| InvalidParameter | 参数错误。 |
| InvalidParameterValue | 参数取值错误。 |
| LimitExceeded | 超过配额限制。 |
| MissingParameter | 缺少参数错误。 |
| MissingParameter.MissingParam | 必填参数缺失。 |
| OperationDenied | 操作被拒绝。 |
| RequestLimitExceeded | 请求的次数超过了频率限制。 |
| UnauthorizedOperation | 未授权操作。 |
| UnauthorizedOperation.Authorize | 权限错误。 |
| UnauthorizedOperation.Inactive | 用户未启用。 |
| UnauthorizedOperation.UserNotExist | 用户不存在。 |
| UnknownParameter | 未知参数错误。 |
| UnsupportedOperation | 操作不支持。 |
| UnsupportedOperation.BIError | 默认业务异常。 |
文档反馈