List MatrixOne destination table names¶
With a MatrixOne connector and database, returns destination table-name strings. Successful reads do not establish that exported data was written.
POST https://api.moi.matrixorigin.cn/v5/connectors/mo/database/table/list
Before you call this API¶
Set BASE_URL to the product API prefix https://api.moi.matrixorigin.cn/v5. For private deployments, use the corresponding product API URL.
Prepare the connector and identity in the same environment. Example IDs/databases/results are fixed illustrative values. Current source does not mark these six paths deprecated; public scope and actual deployment still require verification.
Request¶
curl --request POST \
"$BASE_URL/connectors/mo/database/table/list" \
--header "X-API-Key: $MOI_KEY" \
--header "X-Workspace-ID: $WORKSPACE_ID" \
--header "Content-Type: application/json" \
--data '{"connector_id": "target-connector", "database": "target_db"}'
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Saved connector ID usable by the current identity. |
|
string |
Yes |
Selected database name. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"tables": [
"orders_target"
]
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
OK on success. Do not check HTTP200 alone. |
|
string |
Response description. |
|
object |
Errors and protocol selection¶
Choose the call path after Comparing metadata protocols. Parameter locations and response shapes are not interchangeable. See Errors and empty results for error handling.