根据条件查询查询基础数据源信息列表
POSThttps://your-envId.api.tcloudbasegateway.com/v1/model/datasource/prod/basicDataSourceList
Request
- application/json
Body
required
IdList string[]
数据源 IdList
NameList string[]
数据源标识 NameList
PageNum integer
Possible values: >= 1
Default value: 1
PageNum , default = 1
PageSize integer
Possible values: >= 1
Default value: 10
PageSize
QueryAll boolean
查询全部
QueryFilterList object[]
OnlyFlexDb boolean
仅查询flexdb类型
Responses
- 200
成功
- application/json
- Schema
- Example (from schema)
Schema
- DataSourceBasicListResponse
- ErrorResponse
oneOf
data object
requestId 请求唯一id (string)
code 错误码 (string)
message 错误信息 (string)
requestId 请求唯一id (string)
{}
Authorization: http
name: JWTAuthtype: httpscheme: bearerdescription: 环境 ID 所对应的 token,使用登录鉴权(v2)获取
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://your-envId.api.tcloudbasegateway.com/v1/model/datasource/prod/basicDataSourceList' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"IdList": [
"string"
],
"NameList": [
"string"
],
"PageNum": 1,
"PageSize": 10,
"QueryAll": false,
"QueryFilterList": [
{
"Name": "string",
"Values": [
"string"
],
"Match": true,
"Like": false
}
],
"OnlyFlexDb": true
}'
ResponseClear