Tüm Ürünler
Search
Belge Merkezi

:ListDataSource

Son Güncelleme:Oct 01, 2026

Belirtilen çalışma alanı altındaki tüm veri kaynaklarını sorgular.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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.