All Products
Search
Document Center

DataWorks:ListTables

Last Updated:Aug 20, 2026

Mengambil tabel berbagai tipe sumber data dalam penyewa per halaman.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

PageSize

integer

No

Jumlah entri per halaman. Nilai default: 10. Nilai maksimum: 100.

10

DataSourceType

string

Yes

Tipe sumber data. Nilai valid: ODPS, emr, mysql, holo, analyticdb_for_mysql, oracle, postgresql, sqlserver, clickhouse, dan starrocks.

odps

NextToken

string

No

Token paginasi yang menentukan titik awal pembacaan saat ini.

12222

Elemen respons

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

E25887B7-579C-54A5-9C4F-83A****

Data

object

The returned data.

Total

integer

The total number.

100

TableEntityList

array<object>

An array of entities.

array<object>

The information about the table.

EntityQualifiedName

string

The unique identifier of the table entity.

maxcompute-table.project.table

EntityContent

object

The information about the table.

TableName

string

The name of the table.

table

DataSourceQualifiedName

string

The unique identifier of the data source.

accountId:cn-shanghai:odps:project

DataSourceUniqueId

string

The unique ID of the data source identifier.

e70f92239d491057f6a2563b545bdaf8cc6b537d9dc55ec84c55f7cfefg

DatabaseName

string

The name of the database.

database

ProjectName

string

The name of the ODPS project.

project

InstanceId

string

The ID of the data source instance.

rm-uf6rn0123

NextToken

string

Pagination information, which specifies the starting point of the next read.

AAAAAVY3rYiv9VoUJQSiCitgjgSwg+byk0FIjirFkm4zfM4G0xYwM/FQvOhgrTHsCPIZ5yqXYu2NG6qRCRC52HvwbOA=

Contoh

Respons sukses

JSONformat

{
  "RequestId": "E25887B7-579C-54A5-9C4F-83A****",
  "Data": {
    "Total": 100,
    "TableEntityList": [
      {
        "EntityQualifiedName": "maxcompute-table.project.table",
        "EntityContent": {
          "TableName": "table",
          "DataSourceQualifiedName": "accountId:cn-shanghai:odps:project",
          "DataSourceUniqueId": "e70f92239d491057f6a2563b545bdaf8cc6b537d9dc55ec84c55f7cfefg",
          "DatabaseName": "database",
          "ProjectName": "project",
          "InstanceId": "rm-uf6rn0123"
        }
      }
    ],
    "NextToken": "AAAAAVY3rYiv9VoUJQSiCitgjgSwg+byk0FIjirFkm4zfM4G0xYwM/FQvOhgrTHsCPIZ5yqXYu2NG6qRCRC52HvwbOA="
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.