Retrieve Cube Permissions
GET/org/:orgId/permissions/project/:projectId/cube/:cubeId
Retrieve Cube Permissions
Request
Path Parameters
orgId stringrequired
The Organization ID (UUID) for which you are querying.
projectId stringrequired
The Project ID for which you are querying
cubeId stringrequired
The Cube ID for which you are querying
Responses
- 200
- 401
- 404
- 500
- 503
Success.
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"response": {
"designtime_permissions": {
"designtime_permission_matrix": {
"568a4ab9-f7a4-4ac2-5162-9a496453d161": [
"cube.read",
"cube.update",
"cube.delete"
],
"admin1234": [
"cube.read",
"cube.update",
"cube.delete"
],
"f1edfca6-7f8a-4a4d-7952-4660580c67a2": [
"cube.read",
"cube.update",
"cube.delete"
]
},
"permissions": [
{
"name": "cube.read",
"id": "cube.read"
},
{
"name": "cube.update",
"id": "cube.update"
},
{
"name": "cube.delete",
"id": "cube.delete"
}
],
"users": [
{
"user_id": "admin1234",
"auth_username": "admin",
"name": "admin user",
"super_user": true,
"api_super_user": true,
"email": "admin@atscale.com"
},
{
"user_id": "568a4ab9-f7a4-4ac2-5162-9a496453d161",
"auth_username": "gaurav1",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gaurav1@gaurav.com"
},
{
"user_id": "f1edfca6-7f8a-4a4d-7952-4660580c67a2",
"auth_username": "gauravshetti4",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gauravshetti4@gmail.com"
}
]
},
"object_properties": {
"exclusive_access": false,
"author_user_id": "admin1234",
"object_type": "cube",
"object_id": "default.58e262f8-3ec6-4835-4890-60e8ab51e76b.3eac167c-6dfd-4487-5876-38a039618e82"
},
"runtime_permissions": {
"permissions": [
{
"name": "cube.query",
"id": "cube.query"
},
{
"name": "cube.ctas",
"id": "cube.ctas"
}
],
"user_permission_matrix": {
"568a4ab9-f7a4-4ac2-5162-9a496453d161": [
"cube.query",
"cube.ctas"
],
"admin1234": [
"cube.query",
"cube.ctas"
],
"f1edfca6-7f8a-4a4d-7952-4660580c67a2": [
"cube.query",
"cube.ctas"
]
},
"users": [
{
"user_id": "admin1234",
"auth_username": "admin",
"name": "admin user",
"super_user": true,
"api_super_user": true,
"email": "admin@atscale.com"
},
{
"user_id": "568a4ab9-f7a4-4ac2-5162-9a496453d161",
"auth_username": "gaurav1",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gaurav1@gaurav.com"
},
{
"user_id": "f1edfca6-7f8a-4a4d-7952-4660580c67a2",
"auth_username": "gauravshetti4",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gauravshetti4@gmail.com"
}
]
},
"admins": [
"admin1234"
]
},
"status": {
"i18n_message": "response.ok",
"message": "OK"
}
}
{
"response": {
"designtime_permissions": {
"designtime_permission_matrix": {
"568a4ab9-f7a4-4ac2-5162-9a496453d161": [
"cube.read",
"cube.update",
"cube.delete"
],
"admin1234": [
"cube.read",
"cube.update",
"cube.delete"
],
"f1edfca6-7f8a-4a4d-7952-4660580c67a2": [
"cube.read",
"cube.update",
"cube.delete"
]
},
"permissions": [
{
"name": "cube.read",
"id": "cube.read"
},
{
"name": "cube.update",
"id": "cube.update"
},
{
"name": "cube.delete",
"id": "cube.delete"
}
],
"users": [
{
"user_id": "admin1234",
"auth_username": "admin",
"name": "admin user",
"super_user": true,
"api_super_user": true,
"email": "admin@atscale.com"
},
{
"user_id": "568a4ab9-f7a4-4ac2-5162-9a496453d161",
"auth_username": "gaurav1",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gaurav1@gaurav.com"
},
{
"user_id": "f1edfca6-7f8a-4a4d-7952-4660580c67a2",
"auth_username": "gauravshetti4",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gauravshetti4@gmail.com"
}
]
},
"object_properties": {
"exclusive_access": false,
"author_user_id": "admin1234",
"object_type": "cube",
"object_id": "default.58e262f8-3ec6-4835-4890-60e8ab51e76b.3eac167c-6dfd-4487-5876-38a039618e82"
},
"runtime_permissions": {
"permissions": [
{
"name": "cube.query",
"id": "cube.query"
},
{
"name": "cube.ctas",
"id": "cube.ctas"
}
],
"user_permission_matrix": {
"568a4ab9-f7a4-4ac2-5162-9a496453d161": [
"cube.query",
"cube.ctas"
],
"admin1234": [
"cube.query",
"cube.ctas"
],
"f1edfca6-7f8a-4a4d-7952-4660580c67a2": [
"cube.query",
"cube.ctas"
]
},
"users": [
{
"user_id": "admin1234",
"auth_username": "admin",
"name": "admin user",
"super_user": true,
"api_super_user": true,
"email": "admin@atscale.com"
},
{
"user_id": "568a4ab9-f7a4-4ac2-5162-9a496453d161",
"auth_username": "gaurav1",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gaurav1@gaurav.com"
},
{
"user_id": "f1edfca6-7f8a-4a4d-7952-4660580c67a2",
"auth_username": "gauravshetti4",
"name": "gaurav",
"super_user": false,
"api_super_user": false,
"email": "gauravshetti4@gmail.com"
}
]
},
"admins": [
"admin1234"
]
},
"status": {
"i18n_message": "response.ok",
"message": "OK"
}
}
This error will occur if calling user does not have access right for the API.
This error will occur if calling user does not have access right for the API.
A server error occurred. Check the logs for more details.
This error will occur if Design Center APIs are not enabled.
Loading...