列出MMA數(shù)據(jù)源內(nèi)的庫
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無授權(quán)信息透出。
請(qǐng)求語法
GET /api/v1/mms/datasources/{sourceId}/dbs HTTP/1.1
請(qǐng)求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
sourceId | long | 是 | 數(shù)據(jù)源 ID | 2000018 |
name | string | 否 | 數(shù)據(jù)源名稱 | demo |
status | string | 否 | 數(shù)據(jù)源狀態(tài) 枚舉值:
| STARTED |
sorter | object | 否 | 排序條件 | |
numRows | string | 否 | 庫中數(shù)據(jù)行數(shù) 枚舉值:
| desc |
size | string | 否 | 庫中數(shù)據(jù)的大小 枚舉值:
| asc |
updateTime | string | 否 | 更新時(shí)間 | 2024-12-17 15:44:17 |
pageNum | integer | 否 | 頁碼 | 1 |
pageSize | integer | 否 | 每頁記錄的數(shù)量 | 10 |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"requestId": "CF3F9978-260F-5204-94BE-30A4E6B54443",
"data": {
"total": 13,
"objectList": [
{
"id": 1530,
"name": "mms_test",
"description": "for mms test",
"owner": "System user",
"location": " hdfs://master-1-1.c-6fc187819ed6bae0.cn-shanghai.emr.aliyuncs.com:9000/user/hive/warehouse ",
"extra": "{}",
"tables": 100,
"tablesDoing": 20,
"tablesDone": 20,
"tablesPartDone": 20,
"tablesFailed": 20,
"partitions": 1000,
"partitionsDoing": 400,
"partitionsDone": 200,
"partitionsFailed": 200,
"sourceId": 2000015,
"sourceName": "demo",
"size": 2342342,
"numRows": 23232,
"updated": true,
"lastDdlTime": "2024-12-17 15:44:42\n",
"createTime": "2024-12-17 15:44:42\n",
"updateTime": "2024-12-17 15:44:42\n",
"status": "DOING",
"deleted": false
}
],
"pageNum": 1,
"pageSize": 10
}
}
錯(cuò)誤碼
訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。