Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /api/metastore/auth/permissions/list
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Body | object | No | ||
CatalogId | string | No | CatalogId | 1344371 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "OK",
"Message": ".",
"RequestId": "745EAAE2-5010-5C9F-A95C-B8FC5C1B03BF",
"Success": true,
"NextPageToken": "token!",
"TotalCount": 0,
"PrincipalResourcePermissionsList": [
{
"Principal": {
"PrincipalArn": "acs:ram::[AliyunAccountId]:user/username_abc"
},
"MetaResource": {
"ResourceType": "TABLE",
"CatalogResource": {
"CatalogId": "1344371"
},
"DatabaseResource": {
"DatabaseName": "default",
"DatabaseWildcard": "*"
},
"TableResource": {
"DatabaseName": "database_test",
"TableName": "test_parquet"
},
"FunctionResource": {
"DatabaseName": "default",
"FunctionName": "default"
},
"ColumnResource": {
"DatabaseName": "default",
"TableName": "test",
"ColumnNames": [
"name"
]
}
},
"Accesses": [
"ALTER/SELECT/CREATE, etc."
],
"DelegateAccesses": [
"ALTER/SELECT/CREATE, etc."
]
}
]
}
Error codes
For a list of error codes, visit the Service error codes.