GetCatalogSettings
Updated at:
Retrieves the configuration of a catalog. This operation requires the admin role or a higher role.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:GetCatalogSettings |
get |
*All Resource
|
None | None |
Request syntax
GET /api/metastore/catalogs/settings HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CatalogId |
string |
No |
The catalog ID. |
1344371 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
B7F4B621-E41E-4C84-B97F-42B5380A32BB |
| Code |
string |
The status code. |
OK |
| Message |
string |
The returned message. |
. |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
| CatalogSettings | CatalogSettings |
The data lake configurations. |
Examples
Success response
JSON format
{
"RequestId": "B7F4B621-E41E-4C84-B97F-42B5380A32BB",
"Code": "OK",
"Message": ".",
"Success": true,
"CatalogSettings": {
"Config": {
"key": "{\n\"auth.permission.check.enable\":\n\"true\",\n\"auth.super.principal\":\n\"acs:ram::[aliyunAccountId]:role/aliyundlfworkflowdefaultrole\"\n}"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?