获取数据目录详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
dlf:GetCatalogById |
get |
*全部资源
|
无 | 无 |
请求语法
GET /dlf/v1/catalogs/id/{id} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| id |
string |
是 |
数据目录 ID。 |
clg-paimon-xxxx |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
| Catalog |
数据目录。 |
示例
正常返回示例
JSON格式
{
"owner": "acs:ram::[accountId]:root",
"createdAt": 1744970111419,
"updatedBy": "acs:ram::[accountId]:root",
"createdBy": "acs:ram::[accountId]:root",
"name": "test_catalog",
"id": "clg-paimon-xxxx",
"type": "",
"updatedAt": 1744970111419,
"status": "NEW\nINITIALIZING\nINITIALIZE_FAILED\nRUNNING\nTERMINATED\nDELETING\nDELETE_FAILED \nDELETED\nSTORAGE_RESTRICTED ",
"shareId": "",
"options": {
"key": "{\\\"comment\\\":\\\"test\\\"}"
},
"isShared": true
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?