Belirtilen çalışma alanı altındaki tüm veri kaynaklarını sorgular.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:ListDataSource |
list |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
Çalışma alanı kimliği. |
95296e95-******c7d-8af9-dedf0ad0**** |
| DsType |
string |
No |
Veri kaynağı türü. |
mysql |
Veri kaynağı türü kodları:
garuda -- garuda veri kaynağı
adb -- ADB 3.0
oracle -- Oracle veri kaynağı
mysql -- MySQL veri kaynağı
mysql_hybrid -- HybridDB for MySQL veri kaynağı
odps -- ODPS veri kaynağı
sqlserver -- SQL Server veri kaynağı
greenplum -- Greenplum veri kaynağı
postgresql -- PostgreSQL veri kaynağı
ppas -- RDS PPAS veri kaynağı
oscar -- Shentong veri kaynağı
hive -- Hive veri kaynağı
vertica -- Vertica veri kaynağı
db2 -- IBM DB2 veri kaynağı (LUW)
sybase -- SAP SYBASE IQ veri kaynağı
hana -- SAP HANA veri kaynağı
dla -- DataLake Analytics veri kaynağı
oss -- OSS veri kaynağı
drds -- DRDS veri kaynağı
clivia -- süper motor
presto -- Presto veri kaynağı
polardb -- PolarDB veri kaynağı
tsdb -- TSDB veri kaynağı
lindorm_tsdb -- LindormTSDB veri kaynağı
lindorm_wide_table_engine -- Lindorm geniş tablo motoru veri kaynağı
lindorm_multi_mode -- Lindorm çoklu mod SQL veri kaynağı
hbase -- HBase veri kaynağı
phoenix_thin -- PHOENIX THIN veri kaynağı
dataphin -- DataPhin veri kaynağı çoklu motor
dataphin_odps -- DataPhin veri kaynağı ODPS motoru
dataphin_hive -- DataPhin veri kaynağı Hive motoru
dataphin_v2_odps -- Yeni DataPhin veri kaynağı ODPS motoru
dataphin_v2_hive -- Yeni DataPhin veri kaynağı Hive motoru
kbase -- KingBase veri kaynağı
clickhouse -- ClickHouse veri kaynağı
tdsql -- TDSQL-H veri kaynağı
gbase -- Gbase veri kaynağı
polardb_pg -- Polardb for PG veri kaynağı
hologres -- Hologres veri kaynağı
impala -- Impala veri kaynağı
impala_v3 -- Impala 3.x veri kaynağı
dingtalk -- DingTalk akıllı rapor veri kaynağı
snowflake -- Snowflake veri kaynağı
kylin -- Kylin veri kaynağı
multiDatasource -- Çapraz kaynak
oceanbase_mysql -- OceanBase MySQL modu veri kaynağı
oceanbase_oracle -- OceanBase Oracle modu veri kaynağı
spark_sql -- Spark SQL veri kaynağı
starrocks -- StarRocks veri kaynağı
apache_doris -- Apache Doris veri kaynağı
selectdb -- SelectDB veri kaynağı
mongodb -- MongoDB veri kaynağı
dm -- DM7 veri kaynağı
Dameng - unicorn -- Unicorn veri kaynağı
sls -- SLS veri kaynağı
gaussdb_dws -- GaussDB DWS veri kaynağı
gaussdb -- GaussDB veri kaynağı
elasticsearch -- Elasticsearch
dms -- DMS mantıksal veri ambarı
yida -- Yida uygulama veri kaynağı
relyt -- Relyt
Lark_bitable -- Lark bitable
Lark_spreadsheet -- Lark elektronik tablosu
tidb -- TiDB veri kaynağı
mariadb -- MariaDB veri kaynağı
adb_spark -- ADB veri kaynağı Spark motoru
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
7FC9A6A6-****-5CED-B*****E891E4075 |
| Result |
array<object> |
Veri kaynağı bilgileri dizisi. |
|
|
object |
Veri kaynağı bilgileri. |
||
| CreatorId |
string |
Oluşturanın Quick BI kullanıcı kimliği. |
281*****-485******-8 |
| CreatorName |
string |
Sahibinin takma adı. |
system |
| DatasourceId |
string |
Veri kaynağı kimliği. |
7FC9A6A6-****-5CED-B*****E891E4075 |
| GmtCreate |
string |
Veri kaynağının oluşturma zamanı, yyyy-MM-dd HH:mm:ss biçiminde. |
2024-04-16 13:17:39 |
| GmtModified |
string |
Değişiklik zamanı. |
2024-08-15 10:06:31 |
| ShowName |
string |
Veri kaynağının görünen adı. |
0327 |
| DsType |
string |
Veri kaynağı türü. |
odps |
| ParentDsType |
string |
Çoklu motor veri kaynakları için birincil veri kaynağı türü. |
dataphin |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. |
true |
Examples
Success response
JSON format
{
"RequestId": "7FC9A6A6-****-5CED-B*****E891E4075",
"Result": [
{
"CreatorId": "281*****-485******-8",
"CreatorName": "system",
"DatasourceId": "7FC9A6A6-****-5CED-B*****E891E4075",
"GmtCreate": "2024-04-16 13:17:39",
"GmtModified": "2024-08-15 10:06:31",
"ShowName": "0327",
"DsType": "odps",
"ParentDsType": "dataphin"
}
],
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.Workspace | The workspace is not owned by the organization. | |
| 400 | Workspace.Operation.LackRole | Only the %s role can perform this operation. Contact the administrator to add this role. | |
| 400 | Internal.System.Error | An internal system error occurred. | |
| 400 | Invalid.Param.Error | The parameter is invalid. | |
| 400 | Invalid.Parameter | An error occurred while verifying parameters. | |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | |
| 400 | Parameter.Length.Exceed | Parameter length exceeds maximum limit: [%s]. | |
| 400 | Parameter.Error | The input parameter is invalid. | |
| 400 | User.Not.In.Organization | The specified user is not in the organizational unit. | |
| 400 | Invalid.User.Admin | You are not an administrator of this organization. | |
| 400 | Invalid.Organization | The specified organizational unit does not exist. | |
| 400 | Invalid.User.Organization | The user is not in your organization. | |
| 400 | System.Param.Empty | You must specify the %s parameter. | |
| 400 | Workspace.Not.Exist | The group workspace does not exist. | |
| 400 | User.NotIn.Workspace | The user is not in this workspace. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.