Authorization: ********************
{
"datasource_names": [
"string"
],
"datasource_type": "DATASOURCE_TYPE_UNSPECIFIED"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/explorer/explorer/listdatasourceschemas' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"datasource_names": [
"string"
],
"datasource_type": "DATASOURCE_TYPE_UNSPECIFIED"
}'
{
"schemas": [
{
"name": "string",
"datasource_type": "DATASOURCE_TYPE_UNSPECIFIED",
"fields": [
{
"name": "string",
"column_type": "SCHEMA_TYPE_UNSPECIFIED",
"is_primary_key": true,
"is_low_cardinality": true,
"column_description": "string",
"is_time_filter": true,
"is_default_time_filter": true,
"is_join_column": true
}
],
"table_description": "string",
"category": "string",
"sub_category": "string"
}
]
}