Queries all tables of a data source. This operation is for internal use only.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only common request headers. For more information, see Common request parameters.

Request syntax

GET /v4/openapi/assist/data-sources/[dataSourceType]/tables HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
dataSourceType String Path Yes rds

The type of the data source. Valid values:

  • rds
  • polardb
  • odps
  • mysql
  • drds
params String Query Yes N/A

The parameters about the data source. The value of the params parameter is a JSON string. The value must be URL-encoded.

The parameters for different types of data sources are different. For more information, see the following sections of the DataSource topic:

Response parameters

Parameter Type Example Description
requestId String 0A6EB64B-B4C8-CF02-810F-E660812972FF

The ID of the request.

result List {}

The data tables.


Sample requests

GET /v4/openapi/assist/data-sources/rds/tables?params=%7B%22db_name%22%3A%22mysql57%22%2C%22db_user%22%3A%22mysql57%22%2C%22db_password%22%3A%22opensearch_Rw%22%2C%22instance_id%22%3A%22rm-bp155vthpb6s99m34%22%7D

Sample success responses

XML format


JSON format

    "requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
    "result": [

Error codes

For a list of error codes, visit the API Error Center.