Retrieves a list of data tables for a specified instance and data source.
Operation description
Description
Provide the instance ID (InstanceId) and data source ID (ResourceId) to retrieve a list of data tables from the specified data source. Use the optional MaxcomputeSchema parameter to filter the results by a MaxCompute schema.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/instances/{InstanceId}/resources/{ResourceId}/tables HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID. |
pairec-cn-xxx |
| ResourceId |
string |
No |
The data source ID. |
reso-********* |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MaxcomputeSchema |
string |
No |
The MaxCompute schema. |
jackal |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
01D22D08-BA20-5F35-8302-99115F288220 |
| TotalCount |
string |
The total count of data tables. |
30 |
| Tables |
array<object> |
A list of data tables. |
|
|
object |
The details of a data table. |
||
| TableName |
string |
The table name. |
table-1 |
Examples
Success response
JSON format
{
"RequestId": "01D22D08-BA20-5F35-8302-99115F288220",
"TotalCount": "30",
"Tables": [
{
"TableName": "table-1"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.