查询环境下所有数据源Schema
GEThttps://your-envId.api.tcloudbasegateway.com/v1/model/datasource/prod/schemaList
Request
Query Parameters
dataSourceNameList string[]
数据源名称列表
Responses
- 200
成功
- application/json
- Schema
- Example (from schema)
Schema
- DataSourceSchemaResultResponse
- 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/schemaList' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear