跳到主要内容

查询环境下所有数据源Schema

GET 

https://your-envId.api.tcloudbasegateway.com/v1/model/datasource/prod/schemaList

Request

Query Parameters

    dataSourceNameList string[]

    数据源名称列表

Responses

成功

Schema
    oneOf
    data object
    DataSourceRelationInfoList object[]
  • Array [
  • Id 数据源ID (string)
    Name 数据源名称 (string)
    RelatedFieldKey 关联字段Key (string)nullable
    RelatedType 关联类型 (string)nullable
    RelationViewList object[]nullable
    Schema 数据源Schema定义 (string)
    Title 数据源标题 (string)
  • ]
  • requestId 请求唯一id (string)

Authorization: http

name: JWTAuthtype: httpscheme: bearerdescription: 环境 ID 所对应的 token,使用登录鉴权(v2)获取
curl -L 'https://your-envId.api.tcloudbasegateway.com/v1/model/datasource/prod/schemaList' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://your-envId.api.tcloudbasegateway.com
Auth
Parameters
— query
ResponseClear

Click the Send API Request button above and see the response here!