diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/quickbi-public | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/quickbi-public')
| -rw-r--r-- | data/en_us/quickbi-public/2022-01-01/api-docs.php | 32501 |
1 files changed, 32501 insertions, 0 deletions
diff --git a/data/en_us/quickbi-public/2022-01-01/api-docs.php b/data/en_us/quickbi-public/2022-01-01/api-docs.php new file mode 100644 index 0000000..c2a44c8 --- /dev/null +++ b/data/en_us/quickbi-public/2022-01-01/api-docs.php @@ -0,0 +1,32501 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'quickbi-public', + 'version' => '2022-01-01', + ], + 'directories' => [ + [ + 'children' => [ + [ + 'children' => [ + 'CheckOrganizationMember', + 'BatchAddFeishuUsers', + 'QueryUserInfoByAccount', + ], + 'type' => 'directory', + 'title' => 'Organization User Management', + ], + [ + 'children' => [ + 'ListWorkspaceUserRolesByUserId', + 'ListOrganizationRoles', + ], + 'type' => 'directory', + 'title' => 'Role Management', + ], + ], + 'type' => 'directory', + 'title' => 'Organization Management', + ], + [ + 'children' => [ + [ + 'children' => [ + 'ListPortalMenuAuthorization', + 'ListWhitePortalMenu', + ], + 'type' => 'directory', + 'title' => 'DataPortal Menu Authorization Management', + ], + [ + 'children' => [ + 'SetDataLevelPermissionRuleConfig', + 'AddDataLevelPermissionRuleUsers', + 'AddDataLevelPermissionWhiteList', + 'DeleteDataLevelRuleConfig', + 'DeleteDataLevelPermissionRuleUsers', + 'UpdateDataLevelPermissionStatus', + 'SetDataLevelPermissionExtraConfig', + 'QueryDatasetSwitchInfo', + ], + 'type' => 'directory', + 'title' => 'Row-Level Permission Management', + ], + ], + 'type' => 'directory', + 'title' => 'Permission Management', + ], + [ + 'children' => [ + [ + 'children' => [ + 'UpdateEmbeddedStatus', + 'QueryWorksByOrganization', + 'QueryReadableResourcesListByUserIdV2', + ], + 'type' => 'directory', + 'title' => 'Report Resource Management', + ], + [ + 'children' => [ + 'CheckDatasetExisted', + 'CreateCubeBySql', + 'CreateDataset', + 'AddDataSource', + 'UpdateDataSource', + 'UpdateCubeBySql', + 'QueryLastAccelerationEngineJob', + 'QueryDatasetInfo', + 'QueryDatasetList', + 'ListAccelerationOfWorkspace', + 'QueryAccelerationLogByCubeId', + ], + 'type' => 'directory', + 'title' => 'Dataset Resource Management', + ], + [ + 'children' => [ + 'CreateWorkspace', + ], + 'type' => 'directory', + 'title' => 'Workspace Management', + ], + [ + 'children' => [ + 'ListCollections', + ], + 'type' => 'directory', + 'title' => 'Collection Management', + ], + [ + 'children' => [ + 'GetMailTaskList', + ], + 'type' => 'directory', + 'title' => 'Subscription Management', + ], + ], + 'type' => 'directory', + 'title' => 'Resource Management', + ], + [ + 'children' => [ + [ + 'children' => [ + 'QueryData', + 'QueryDataService', + ], + 'type' => 'directory', + 'title' => 'Data Service', + ], + ], + 'type' => 'directory', + 'title' => 'Data Management', + ], + [ + 'children' => [ + [ + 'children' => [ + 'QueryAuditLog', + ], + 'type' => 'directory', + 'title' => 'Resource Analysis', + ], + ], + 'type' => 'directory', + 'title' => 'Statistical Analysis', + ], + [ + 'children' => [ + [ + 'children' => [ + 'ModifyDashboardNl2sqlStatus', + 'QueryDashboardNl2sql', + 'SmartqAuthorize', + 'QueryLlmCubeWithThemeListByUserId', + 'QueryDatasetSmartqStatus', + 'SmartqQueryAbility', + ], + 'type' => 'directory', + 'title' => 'SmartQ Management', + ], + ], + 'type' => 'directory', + 'title' => 'SmartQ', + ], + [ + 'children' => [ + 'AddShareReport', + 'AddUser', + 'AddUserGroupMember', + 'AddUserGroupMembers', + 'AddUserTagMeta', + 'AddUserToWorkspace', + 'AddWorkspaceUsers', + 'AllotDatasetAccelerationTask', + 'AuthorizeMenu', + 'CancelAuthorizationMenu', + 'CancelCollection', + 'CancelReportShare', + 'ChangeVisibilityModel', + 'CheckReadable', + 'CreateTicket', + 'CreateTicket4Copilot', + 'CreateUserGroup', + 'DataSetBlood', + 'DataSourceBlood', + 'DelayTicketExpireTime', + 'DeleteTicket', + 'DeleteUser', + 'DeleteUserFromWorkspace', + 'DeleteUserGroup', + 'DeleteUserGroupMember', + 'DeleteUserGroupMembers', + 'DeleteUserTagMeta', + 'GetDataSourceConnectionInfo', + 'GetMailTaskStatus', + 'GetUserGroupInfo', + 'GetWorksEmbedList', + 'ListApiDatasource', + 'ListByUserGroupId', + 'ListCubeDataLevelPermissionConfig', + 'ListDataLevelPermissionWhiteList', + 'ListDataSource', + 'ListFavoriteReports', + 'ListOrganizationRoleUsers', + 'ListPortalMenus', + 'ListRecentViewReports', + 'ListSharedReports', + 'ListUserGroupsByUserId', + 'ListWorkspaceRoleUsers', + 'ListWorkspaceRoles', + 'ManualRunMailTask', + 'ModifyApiDatasourceParameters', + 'ModifyCopilotEmbedConfig', + 'QueryApprovalInfo', + 'QueryComponentPerformance', + 'QueryCopilotEmbedConfig', + 'QueryCubeOptimization', + 'QueryCubePerformance', + 'QueryDataRange', + 'QueryDataServiceList', + 'QueryDatasetDetailInfo', + 'QueryEmbeddedInfo', + 'QueryEmbeddedStatus', + 'QueryOrganizationRoleConfig', + 'QueryOrganizationWorkspaceList', + 'QueryReadableResourcesListByUserId', + 'QueryReportPerformance', + 'QueryShareList', + 'QuerySharesToUserList', + 'QuerySmartqPermissionByCubeId', + 'QueryTicketInfo', + 'QueryUserGroupListByParentId', + 'QueryUserGroupMember', + 'QueryUserInfoByUserId', + 'QueryUserList', + 'QueryUserRoleInfoInWorkspace', + 'QueryUserTagMetaList', + 'QueryUserTagValueList', + 'QueryWorks', + 'QueryWorksBloodRelationship', + 'QueryWorksByWorkspace', + 'QueryWorkspaceRoleConfig', + 'QueryWorkspaceUserList', + 'ResultCallback', + 'SaveFavorites', + 'SetDataLevelPermissionWhiteList', + 'SmartqAuthTransfer', + 'UpdateTicketNum', + 'UpdateUser', + 'UpdateUserGroup', + 'UpdateUserTagMeta', + 'UpdateUserTagValue', + 'UpdateWorkspaceUserRole', + 'UpdateWorkspaceUsersRole', + 'WithdrawAllUserGroups', + ], + 'title' => 'Others', + 'type' => 'directory', + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'AddDataLevelPermissionRuleUsers' => [ + 'summary' => 'Adds specified users and user groups to a row-level permission rule.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'AddUserModel', + 'in' => 'query', + 'schema' => [ + 'description' => '{'."\n" + .'"ruleId": "a5bb24da-***-a891683e14da", // The ID of the row-level permission rule.'."\n" + .'"cubeId": "7c7223ae-***-3c744528014b", // The ID of the dataset.'."\n" + .'"addModel": {'."\n" + .'"userGroups": \\['."\n" + .'"0d5fb19b-***-1248fc27ca51", // The IDs of the user groups to add.'."\n" + .'"3d2c23d4-***-f6390f325c2d"'."\n" + .'],'."\n" + .'"users": \\['."\n" + .'"4334***358", // The user IDs of the users to add.'."\n" + .'"Huang***3fa822"'."\n" + .']'."\n" + .'}'."\n" + .'}', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '{"ruleId":"a5bb24da-***-a891683e14da","cubeId":"7c7223ae-***-3c744528014b","addModel":{"userGroups":["0d5fb19b-***-1248fc27ca51","3d2c23d4-***-f6390f325c2d"],"users":["4334***358","Huang***3fa822"]}}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'description' => 'The result of the API operation. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request fails.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request fails.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + [ + 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The usergroup %s does not belong to the current organization.', + 'description' => 'Usergroup %s is not belong to current organization.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'AddDataLevelPermissionRuleUsers', + 'description' => '> This API operation supports only the new row-level permission model in Quick BI. If you are using the previous row-level permission model, you must migrate to the new model before you call this operation. To migrate, go to Organization Management > Security Settings > Upgrade Row-level Permissions, and then click **One-click Upgrade**.', + 'changeSet' => [ + [ + 'createdAt' => '2025-03-14T06:35:33.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddDataLevelPermissionRuleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddDataLevelPermissionRuleUsers', + ], + ], + ], + ], + 'AddDataLevelPermissionWhiteList' => [ + 'summary' => 'Modifies the whitelist for row-level and column-level permissions of a specified dataset.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7c7223ae-***-3c744528014b', + ], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of permission. Valid values:'."\n" + ."\n" + .'- ROW\\_LEVEL: row-level permission'."\n" + ."\n" + .'- COLUMN\\_LEVEL: column-level permission', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'ROW_LEVEL', + ], + ], + [ + 'name' => 'OperateType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The operation to perform. Valid values:'."\n" + ."\n" + .'- ADD: adds users or user groups to the whitelist.'."\n" + ."\n" + .'- DELETE: removes users or user groups from the whitelist.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'ADD', + ], + ], + [ + 'name' => 'TargetType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of object to add to the whitelist. Valid values:'."\n" + ."\n" + .'- 1: user'."\n" + ."\n" + .'- 2: user group', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'TargetIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IDs of the users or user groups to add to the whitelist.'."\n" + ."\n" + .'- If you set TargetType to 1 (user), specify the user IDs.'."\n" + ."\n" + .'- When `TargetType=2` (user group), the value is the user group ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '43342***435,1553a****41231', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'description' => 'The execution result of the API operation. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'AddDataLevelPermissionWhiteList', + 'description' => '> This API operation supports only the new permission model for row-level and column-level permissions in Quick BI. If you are using the old permission model, you must migrate to the new one before you call this operation. To perform a one-click migration, you can go to Organization Management > Security Configuration > Upgrade to New Row-level and Column-level Permissions and click **One-click Upgrade**.', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddDataLevelPermissionWhiteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddDataLevelPermissionWhiteList', + ], + ], + ], + ], + 'AddDataSource' => [ + 'summary' => 'Adds the connection information for a data source.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'AddModel', + 'in' => 'query', + 'schema' => [ + 'description' => 'To construct the request, you can impersonate the \\`restapi/datasource/detect\\` API call. This call is triggered when you click \\*\\*Test Connection\\*\\* on the Add Data Source page in the Quick BI console. Pass the same JSON payload model, and include a \\`userId\\` and workspace ID that exist in Quick BI.'."\n" + .'><notice>Some data sources are not supported. If you pass the correct parameters but the data source is not added, this OpenAPI operation may not support that data source type.></notice>'."\n" + .'><notice>Do not pass the \\`encode\\` field. This OpenAPI operation does not support creating data sources in encryption mode. Authentication that requires file uploads is also not supported.></notice>', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{'."\n" + .' "userId": "235345xxxxx24336",'."\n" + .' "workspaceId": "235345xxxxx24336",'."\n" + .' "dsType": "postgresql",'."\n" + .' "config": {'."\n" + .' "category": "local",'."\n" + .' "customDriverId": null,'."\n" + .' "ssl": false,'."\n" + .' "uploadFile": true,'."\n" + .' "sslConfig": null'."\n" + .' },'."\n" + .' "showName": "test",'."\n" + .' "address": "test",'."\n" + .' "port": "5432",'."\n" + .' "instance": "postgres",'."\n" + .' "schema": "public",'."\n" + .' "userName": "13****34",'."\n" + .' "password": "12****425",'."\n" + .'}', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1********DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Data source ID.', + 'type' => 'string', + 'example' => '472b241b-c651-****-****-ee719d6faf45', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => 'The user is not a member of the group workspace.', + ], + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Name.RegularExpression.Error', + 'errorMessage' => 'Name format validation failed.', + 'description' => '', + ], + [ + 'errorCode' => 'NameExceeded.MaxLength.Error', + 'errorMessage' => 'The name cannot exceed %s characters in length.', + 'description' => 'The name cannot be longer than% s characters.', + ], + [ + 'errorCode' => 'Database.PortInvalid.Error', + 'errorMessage' => 'The database port is invalid.', + 'description' => 'The database port is invalid.', + ], + [ + 'errorCode' => 'Xengnie.TaskExecute.Error', + 'errorMessage' => 'Fail to execute task %s.', + 'description' => 'Fail to execute task %s.', + ], + [ + 'errorCode' => 'VpcInstance.Info.Error', + 'errorMessage' => 'Get vpc instance info error.please check vpc config %s.', + 'description' => 'Get VPC instance info error.please check VPC config %s.', + ], + [ + 'errorCode' => 'VpcInstance.Info.EmptyError', + 'errorMessage' => 'Not found instance. please check vpc config and authorization %s.', + 'description' => 'Not found instance. please check VPC config and authorization %s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'AddDataSource', + 'requestParamsDescription' => 'Request parameter examples:'."\n" + ."\n" + .'- adb:<br>'."\n" + .' {<br>'."\n" + .' "showName":"AnalyticDB adb3.0",<br>'."\n" + .' "address":"",<br>'."\n" + .' "port": 3306,<br>'."\n" + .' "dsType":"adb",<br>'."\n" + .' "username":"xxx",<br>'."\n" + .' "password":"xxx",<br>'."\n" + .' "schema": null,<br>'."\n" + .' "instance":"test",<br>'."\n" + .' "workspaceId":"xxx",<br>'."\n" + .' "userId":"xxx"<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- maxcompute:<br>'."\n" + .' {<br>'."\n" + .' "showName": "maxcompute",<br>'."\n" + .' "address": "http\\://service.xxx.xxx.com/api",<br>'."\n" + .' "port": null,<br>'."\n" + .' "dsType": "odps",<br>'."\n" + .' "username": "xxx (The AccessKey ID)",<br>'."\n" + .' "password": "xxx (The AccessKey secret)",<br>'."\n" + .' "schema": null,<br>'."\n" + .' "instance": "Project name (The name of the project)",<br>'."\n" + .' "project": "Project name",<br>'."\n" + .' "config": null,<br>'."\n" + .' "workspaceId": "xxx",<br>'."\n" + .' "userId": "xxx"<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- hive:<br>'."\n" + .' {'."\n" + .' "showName": "test",<br>'."\n" + .' "address": "192.168.0.1",<br>'."\n" + .' "port": "10000",<br>'."\n" + .' "dsType": "hive",<br>'."\n" + .' "instance": "hive (The name of the database)",<br>'."\n" + .' "userName": "xxx",<br>'."\n" + .' "password": "xxx",<br>'."\n" + .' "config": {<br>'."\n" + .' "category": "local"<br>'."\n" + .' }<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- gbase:<br>'."\n" + .' {'."\n" + .' "showName": "test",<br>'."\n" + .' "address": "192.168.0.1",<br>'."\n" + .' "port": "5258",<br>'."\n" + .' "dsType": "gbase",<br>'."\n" + .' "instance": "quickbi\\_test",<br>'."\n" + .' "username": "root",<br>'."\n" + .' "password": "root",<br>'."\n" + .' "config": {<br>'."\n" + .' "category": "local"<br>'."\n" + .' },<br>'."\n" + .' "workspaceId": "xxx",<br>'."\n" + .' "userId": "xxx"<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- rds-mysql:<br>'."\n" + .' {'."\n" + .' "showName":"mysql",<br>'."\n" + .' "address":"",<br>'."\n" + .' "port": 3306,<br>'."\n" + .' "dsType":"mysql",<br>'."\n" + .' "username":"xxx",<br>'."\n" + .' "password":"xxx",<br>'."\n" + .' "schema": null,<br>'."\n" + .' "instance":"test",<br>'."\n" + .' "workspaceId":"xxx",<br>'."\n" + .' "userId":"xxx"<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- hologres:<br>'."\n" + .' {'."\n" + .' "showName": "Hologres data source",<br>'."\n" + .' "address": "hgprecn-cn-******-cn-shanghai.hologres.aliyuncs.com",\\'."\n" + .' "instance": "quickbi\\_test",\\'."\n" + .' "schema": "public",\\'."\n" + .' "port": "80",\\'."\n" + .' "dsType": "hologres",\\'."\n" + .' "userId": "fec0741\\'."\n" + .' \\'."\n" + .' \\'."\n" + .' \\'."\n" + .' \\
\\*\\*\\*\\*\\*061e6a951a2",\\'."\n" + .' "config": {\\'."\n" + .' "initialSql": "Set timezone = \'-10\'"\\'."\n" + .' },\\'."\n" + .' "workspaceId": "87f73904-\\'."\n" + .' \\'."\n" + .' \\'."\n" + .' \\
**\\*\\*-****-b1ee-5a3a03a8eb45",<br>'."\n" + .' "username": "LTAI4GD\\
\\*\\*\\***LEpsdxkW9",\\'."\n" + .' "password": "nVvUqwPUz\\
**\\*\\*\\*A3sCqockS7"<br>'."\n" + .' }<br><br><br>'."\n" + ."\n" + .'- impala (LDAP authentication):<br>'."\n" + .' {<br>'."\n" + .' "workspaceId": "87f73904-****-****-b1ee-5a3a03a8eb45",<br>'."\n" + .' "userId": "fec0741\\*\\*\\*\\*\\*061e6a951a2",<br>'."\n" + .' "dsType": "impala",<br>'."\n" + .' "config": {<br>'."\n" + .' "category": "local",<br>'."\n" + .' "resource": "ecs",<br>'."\n" + .' "ssl": false<br>'."\n" + .' },<br>'."\n" + .' "showName": "impala-ldap",<br>'."\n" + .' "address": "xx.xx.xx.xx",<br>'."\n" + .' "port": "xxxx",<br>'."\n" + .' "instance": "default",<br>'."\n" + .' "dsVersion": "3.x",<br>'."\n" + .' "username": "xxxxx",<br>'."\n" + .' "password": "xxxxxxxxx",<br>'."\n" + .' "instanceId": "i-uf6fxxxxxbt3eh6lb",<br>'."\n" + .' "noSasl": true<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- impala:<br>'."\n" + .' {'."\n" + .' "showName": "impala-test",<br>'."\n" + .' "address": "192.168.0.1",<br>'."\n" + .' "port": "21050",<br>'."\n" + .' "dsType": "impala",<br>'."\n" + .' "dsVersion": "3.x (The Impala version. Valid values are 2.x and 3.x.)",<br>'."\n" + .' "instance": "test (The name of the database)",<br>'."\n" + .' "userName": "xxx",<br>'."\n" + .' "password": "xxx",<br>'."\n" + .' "config": {<br>'."\n" + .' "category": "local",<br>'."\n" + .' "ssh" : {<br>'."\n" + .' "host": "192.168.0.2",<br>'."\n" + .' "username": "xxxx",<br>'."\n" + .' "password": "xxx",<br>'."\n" + .' "port": "22"<br>'."\n" + .' }<br>'."\n" + .' }'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- dataphin (Connection method: Dataphin service data source. Engine type: ODPS):<br>'."\n" + .' {<br>'."\n" + .' "workspaceId": "87f73904-****-****-b1ee-5a3a03a8eb45",<br>'."\n" + .' "userId": "fec0741\\*\\*\\*\\*\\*061e6a951a2",<br>'."\n" + .' "dsType": "dataphin\\_odps",<br>'."\n" + .' "address": "f6c64214dc27400xxxxxx-cn-shanghai.alicloudapi.com",<br>'."\n" + .' "username": "20xxx18",<br>'."\n" + .' "password": "33paqqexxxxg07qzj28",<br>'."\n" + .' "instance": "test\\_ds",<br>'."\n" + .' "showName": "1\\_1\\_dataphin\\_odps",<br>'."\n" + .' "config": {<br>'."\n" + .' "category": "application",<br>'."\n" + .' "engineType": "odps"<br>'."\n" + .' }<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- dataphin (Connection method: Dataphin service data source. Engine type: Hive):<br>'."\n" + .' {<br>'."\n" + .' "workspaceId": "87f73904-****-****-b1ee-5a3a03a8eb45",<br>'."\n" + .' "userId": "fec0741\\*\\*\\*\\*\\*061e6a951a2",<br>'."\n" + .' "dsType": "dataphin\\_hive",<br>'."\n" + .' "address": "f6c64214dc27400xxxxxx-cn-shanghai.alicloudapi.com",<br>'."\n" + .' "username": "20xxx18",<br>'."\n" + .' "password": "33paqqexxxxg07qzj28",<br>'."\n" + .' "instance": "test\\_ds",<br>'."\n" + .' "showName": "1\\_1\\_dataphin\\_odps",<br>'."\n" + .' "config": {<br>'."\n" + .' "category": "application",<br>'."\n" + .' "engineType": "hive"<br>'."\n" + .' }<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- dataphin (Connection method: JDBC connection. AccessKey type: Dataphin platform):<br>'."\n" + .' {<br>'."\n" + .' "workspaceId": "87f73904-****-****-b1ee-5a3a03a8eb45",<br>'."\n" + .' "userId": "fec0741\\*\\*\\*\\*\\*061e6a951a2",<br>'."\n" + .' "dsType": "odps",<br>'."\n" + .' "config": {<br>'."\n" + .' "engineType": "hive",<br>'."\n" + .' "category": "application",<br>'."\n" + .' "dataphinConfig": {<br>'."\n" + .' "tenantId": "305xxx306",<br>'."\n" + .' "delegationUid": "@dataphin",<br>'."\n" + .' "accountType": "ACCOUNT\\_NAME",<br>'."\n" + .' "authMode": "DELEGATION"<br>'."\n" + .' },<br>'."\n" + .' "resource": "clb",<br>'."\n" + .' "initialSql": "Set timezone = \'-10\'"<br>'."\n" + .' },<br>'."\n" + .' "showName": "DataPhin\\_JDBC\\_public",<br>'."\n" + .' "connectType": "dataphin\\_v2",<br>'."\n" + .' "address": "47.xxx.xxx.124",<br>'."\n" + .' "port": "80",<br>'."\n" + .' "project": "bbb",<br>'."\n" + .' "instance": "fxxxk\\_test",<br>'."\n" + .' "username": "OIYtGZxxx7zmRpgQpB",<br>'."\n" + .' "password": "lDbQDnUuxxxxxGsxOd1",<br>'."\n" + .' "parentDsType": "dataphin",<br>'."\n" + .' "accessId": "\\[3eo\\[x>>",<br>'."\n" + .' "accessKey": "bHipbB>>",<br>'."\n" + .' "instanceId": "nnnn",<br>'."\n" + .' "region": "cn-qingdao"<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>'."\n" + ."\n" + .'- dataphin (Connection method: JDBC connection. AccessKey type: Personal user):<br>'."\n" + .' {<br>'."\n" + .' "workspaceId": "87f73904-****-****-b1ee-5a3a03a8eb45",<br>'."\n" + .' "userId": "fec0741\\*\\*\\*\\*\\*061e6a951a2",<br>'."\n" + .' "dsType": "dataphin\\_v2",<br>'."\n" + .' "config": {<br>'."\n" + .' "engineType": "hive",<br>'."\n" + .' "category": "application",<br>'."\n" + .' "dataphinConfig": {<br>'."\n" + .' "tenantId": "30xxxx6",<br>'."\n" + .' "authMode": "SIMPLE"<br>'."\n" + .' },<br>'."\n" + .' "resource": "clb",<br>'."\n" + .' "initialSql": "Set timezone = \'-10\'"<br>'."\n" + .' },<br>'."\n" + .' "showName": "Dataphin-jdbc-private",<br>'."\n" + .' "connectType": "dataphin\\_v2",<br>'."\n" + .' "address": "47.xxx.x4x.124",<br>'."\n" + .' "port": "80",<br>'."\n" + .' "project": "bbb",<br>'."\n" + .' "instance": "fxxx\\_test",<br>'."\n" + .' "username": "kItowxxxxxxx2ZJr0",<br>'."\n" + .' "password": "kSlPkmS1xxxxxx61zd4SDX",<br>'."\n" + .' "parentDsType": "dataphin",<br>'."\n" + .' "accessId": "\\[3eo\\[x>>",<br>'."\n" + .' "accessKey": "bHipbB>>",<br>'."\n" + .' "instanceId": "nnnn",<br>'."\n" + .' "region": "cn-qingdao"<br>'."\n" + .' }<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1********DF8D885\\",\\n \\"Result\\": \\"472b241b-c651-****-****-ee719d6faf45\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AddShareReport' => [ + 'summary' => 'Add a sharing configuration for data works.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the shared work. The works here include BI portal, dashboards, spreadsheets, and self-service access.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + ], + [ + 'name' => 'ShareToId', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => 'The ID of the person to be shared, which may be the user ID of the Quick BI or the user group ID.'."\n" + ."\n" + .'* If ShareToType is 0 (user), ShareTo is the user ID.'."\n" + .'* When ShareToType is set to 1 (user group), ShareTo is the user group ID.'."\n" + .'* When ShareToType=2 (organization), ShareTo is the ID of the organization.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + [ + 'name' => 'ShareToType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The share type of the template. Valid values:'."\n" + ."\n" + .'* 0: user'."\n" + .'* 1: user group'."\n" + .'* 2: organization'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '2', + 'minimum' => '0', + 'example' => '0', + 'title' => '', + ], + ], + [ + 'name' => 'ExpireDate', + 'in' => 'query', + 'schema' => [ + 'description' => 'The validity period of the share. The value is a timestamp in milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '1608202110838', + 'title' => '', + ], + ], + [ + 'name' => 'AuthPoint', + 'in' => 'query', + 'schema' => [ + 'description' => 'The scope of authorization. Valid values:'."\n" + ."\n" + .'* 1: view only'."\n" + .'* 3: View and export'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '3', + 'minimum' => '1', + 'example' => '3', + 'enum' => [ + '1', + '3', + ], + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '05739b8e-3de0-4204-9669-7f04f02522b9', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => 'This work does not exist. It may have been deleted. Work ID is %s. ', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'Workspace.Share.Forbidden', + 'errorMessage' => 'Content in the current group workspace cannot be shared.', + 'description' => 'Content in the current group workspace cannot be shared.', + ], + [ + 'errorCode' => 'Workspace.OutsideShare.Forbidden', + 'errorMessage' => 'Content in the current group workspace cannot be shared with another organization.', + 'description' => 'Content in the current group workspace cannot be shared with another organization.', + ], + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => 'The user group does not exist.', + ], + [ + 'errorCode' => 'UserGroup.NotIn.Organization', + 'errorMessage' => 'The user group is not in the current organization.', + 'description' => 'Usergroup is not belong to current organization.', + ], + [ + 'errorCode' => 'Share.ExpireDate.Error', + 'errorMessage' => 'The expire date is illegal.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"05739b8e-3de0-4204-9669-7f04f02522b9\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddShareReportResponse>\\n <RequestId>05739b8e-3de0-4204-9669-7f04f02522b9</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</AddShareReportResponse>","errorExample":""}]', + 'title' => 'Add data work sharing configuration', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-10-24T07:01:04.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddShareReport', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddShareReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'AddUser' => [ + 'summary' => 'Add an organization member.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'AdminUser', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Whether to assign the organization administrator role. Value range: '."\n" + ."\n" + .'- true: Yes '."\n" + .'- false: No'."\n" + ."\n" + .'<notice>This parameter is deprecated and not recommended for use. It is invalid when RoleIds is provided.</notice>', + 'type' => 'boolean', + 'deprecated' => true, + 'required' => false, + 'docRequired' => false, + 'example' => 'true', + 'title' => '', + ], + ], + [ + 'name' => 'AuthAdminUser', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => 'Whether to assign the organization permission administrator role. Value range: '."\n" + ."\n" + .'- true: Yes '."\n" + .'- false: No'."\n" + ."\n" + .'<notice>This parameter is deprecated and not recommended for use. It is invalid when RoleIds is provided.</notice>', + 'type' => 'boolean', + 'deprecated' => true, + 'required' => false, + 'docRequired' => false, + 'example' => 'true', + 'title' => '', + ], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user type of the organization member. Value range:'."\n" + .'- 1: Developer'."\n" + .'- 2: Visitor'."\n" + .'- 3: Analyst', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '10', + 'minimum' => '1', + 'example' => '1', + 'enum' => [ + '1', + '2', + '3', + ], + 'title' => '', + ], + ], + [ + 'name' => 'AccountId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Aliyun account ID.'."\n" + .'><warning>For versions of Quick BI released after December 31, 2024, AccountId will be a required parameter. Please modify your API before this date.></warning>'."\n" + ."\n" + .'<props="china">Published only on the China site</props>', + 'type' => 'string', + 'deprecated' => false, + 'required' => false, + 'docRequired' => false, + 'example' => '191476xxxxx23754', + 'title' => '', + ], + ], + [ + 'name' => 'AccountName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Aliyun account name.'."\n" + ."\n" + .'- Note: If it is a sub-account, the format should be \'primary account: sub-account\'. For example: [email protected]:subaccount'."\n" + .'- Format check: Maximum length of 50 characters.', + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + 'docRequired' => false, + 'example' => '[email protected]', + 'title' => '', + ], + ], + [ + 'name' => 'NickName', + 'in' => 'query', + 'schema' => [ + 'description' => 'Aliyun account nickname.'."\n" + ."\n" + .'- Format check: Maximum length of 50 characters.'."\n" + .'- Special format validation: Chinese and English characters, numbers, _ \\ / | () ] \\[', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '张三', + 'title' => '', + ], + ], + [ + 'name' => 'RoleIds', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Preset or custom organization role IDs bound to the user, separated by commas, with a maximum of 3. Value range:'."\n" + .'- Organization Administrator (preset role): 111111111'."\n" + .'- Permission Administrator (preset role): 111111112'."\n" + .'- Regular User (preset role): 111111113', + 'type' => 'string', + 'required' => false, + 'example' => '111111111,456', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns detailed information about the newly added Aliyun user.', + 'type' => 'object', + 'properties' => [ + 'AccountName' => [ + 'description' => 'Aliyun account.', + 'type' => 'string', + 'example' => '[email protected]', + 'title' => '', + ], + 'AdminUser' => [ + 'description' => 'Whether the organization administrator role is assigned. Value range: '."\n" + ."\n" + .'- true: Yes'."\n" + .'- false: No'."\n" + ."\n" + .'<notice>This parameter is deprecated and not recommended for use. It is invalid when RoleIdList is provided.</notice>', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'AuthAdminUser' => [ + 'description' => 'Whether the permission administrator role is assigned. Value range: '."\n" + ."\n" + .'- true: Yes'."\n" + .'- false: No'."\n" + ."\n" + .'<notice>This parameter is deprecated and not recommended for use. It is invalid when RoleIdList is provided.</notice>', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'NickName' => [ + 'description' => 'Aliyun account nickname.', + 'type' => 'string', + 'example' => '张三', + 'title' => '', + ], + 'RoleIdList' => [ + 'description' => 'List of organization role IDs bound to the user.', + 'type' => 'array', + 'items' => [ + 'description' => 'Organization role IDs, up to 3, including but not limited to preset roles: '."\n" + ."\n" + .'- Organization Administrator (preset role): 111111111'."\n" + .'- Permission Administrator (preset role): 111111112'."\n" + .'- Regular User (preset role): 111111113', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '111111111', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + 'UserId' => [ + 'description' => 'UserID in Quick BI.', + 'type' => 'string', + 'example' => 'b5d8fd9348cc4327****afb604', + 'title' => '', + ], + 'UserType' => [ + 'description' => 'User type of the organization member. Value range: '."\n" + .'- 1: Developer '."\n" + .'- 2: Visitor '."\n" + .'- 3: Analyst', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Organization.Developers.ReachedTheUpperLimit', + 'errorMessage' => 'The developers of the organization have reached the upper limit:%s', + 'description' => 'The developers of the organization have reached the upper limit:%s', + ], + [ + 'errorCode' => 'Organization.Viewers.ReachedTheUpperLimit', + 'errorMessage' => 'The visitors of the organization have reached the upper limit:%s.', + 'description' => 'The visitors of the organization have reached the upper limit:%s.', + ], + [ + 'errorCode' => 'Organization.Analysts.ReachedTheUpperLimit', + 'errorMessage' => 'The analysts of the organization have reached the upper limit:%s.', + 'description' => 'The analysts of the organization have reached the upper limit:%s.', + ], + [ + 'errorCode' => 'NickName.AlreadyIn.Organization', + 'errorMessage' => 'The alias already exists.', + 'description' => 'The alias already exists.', + ], + [ + 'errorCode' => 'User.AlreadyIn.Organization', + 'errorMessage' => 'This user is already a member of the current organization.', + 'description' => 'This user is already a member of the current organization.', + ], + [ + 'errorCode' => 'Instance.Over.MaxLicense', + 'errorMessage' => 'You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first.', + 'description' => '', + ], + [ + 'errorCode' => 'AnalystUser.NotSupport.AdminOrDevRole', + 'errorMessage' => 'Analyst users do not support granting workspace administrator or developer roles.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'Workspace.Type.Error', + 'errorMessage' => 'The type of group workspace is invalid.', + 'description' => 'The type of group workspace is invalid.', + ], + [ + 'errorCode' => 'Viewer.AddInTo.Workspace', + 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + 'description' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + ], + [ + 'errorCode' => 'User.AlreadyIn.Workspace', + 'errorMessage' => 'This user already exists.', + 'description' => 'This user already exists.', + ], + [ + 'errorCode' => 'User.AlreadyIn.Role', + 'errorMessage' => 'The user is already assigned this role.', + 'description' => 'The user is already assigned this role.', + ], + [ + 'errorCode' => 'User.OrganizationRole.NotExist', + 'errorMessage' => 'User %s must have role in organization.', + 'description' => 'User %s must have role in organization.', + ], + [ + 'errorCode' => 'Viewer.CannotHave.CustomRole', + 'errorMessage' => 'Organization viewer cannot have custom roles.', + 'description' => 'Organization viewer cannot have custom roles.', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => 'This role has permissions that analysts cannot grant.', + ], + [ + 'errorCode' => 'RoleCount.ExceedsLimit.Error', + 'errorMessage' => 'The user role cannot exceed three.', + 'description' => 'The user role cannot exceed three.', + ], + [ + 'errorCode' => 'BindRole.NotExist.Error', + 'errorMessage' => 'Bind role not exist, %s.', + 'description' => 'Bind role not exist, %s.', + ], + [ + 'errorCode' => 'DirtyData.Duplicate.User', + 'errorMessage' => 'Dirty data,duplicate user: %s.', + 'description' => '', + ], + ], + ], + 'title' => 'Add Organization Member', + 'changeSet' => [ + [ + 'createdAt' => '2025-03-18T08:50:40.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2025-03-14T06:35:33.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2024-11-26T11:47:12.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-02-26T09:29:01.000Z', + 'description' => 'Error codes changed, Request parameters changed, Response parameters changed', + ], + [ + 'createdAt' => '2023-08-07T06:37:07.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUser', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"AccountName\\": \\"[email protected]\\",\\n \\"AdminUser\\": true,\\n \\"AuthAdminUser\\": true,\\n \\"NickName\\": \\"张三\\",\\n \\"RoleIdList\\": [\\n 111111111\\n ],\\n \\"UserId\\": \\"b5d8fd9348cc4327****afb604\\",\\n \\"UserType\\": 1\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddUserResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <UserType>1</UserType>\\n <UserId>b5d8fd9348cc4327****afb604</UserId>\\n <AuthAdminUser>true</AuthAdminUser>\\n <NickName>张三</NickName>\\n <AdminUser>true</AdminUser>\\n <AccountName>[email protected]</AccountName>\\n </Result>\\n</AddUserResponse>","errorExample":""}]', + 'translator' => 'machine', + ], + 'AddUserGroupMember' => [ + 'summary' => 'Adds an organization member to a specified user group.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user group.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '555c4cd****', + 'title' => '', + ], + ], + [ + 'name' => 'UserIdList', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Quick BI user. Separate multiple IDs with commas (,). Example: abc,efg. You can enter a maximum of 1000 entries.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '46e537a5****,3dadsu****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The result of adding members to a user group is returned. Valid values:'."\n" + ."\n" + .'* true: The task is added.'."\n" + .'* false: The tag failed to be added.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.User', + 'errorMessage' => 'The user does not exist and cannot be added to a user group.', + 'description' => 'The user does not exist and cannot be added to the user group.', + ], + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => 'The user group does not exist.', + ], + [ + 'errorCode' => 'Parameter.Length.Exceed', + 'errorMessage' => 'Parameter length exceeds maximum limit: [%s].', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Already.Synchronized', + 'errorMessage' => 'Organization has synchronized with other organizational structures, so you are not allowed to add users under group.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddUserGroupMemberResponse>\\n <RequestId>B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</AddUserGroupMemberResponse>","errorExample":""}]', + 'title' => 'AddUserGroupMember', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-09-18T02:06:59.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserGroupMember', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserGroupMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'AddUserGroupMembers' => [ + 'summary' => 'Add users to a specified user group at a time.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID of the Quick BI.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '46e5****37a5', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IDs of the user groups. Separate the IDs with commas (,). Example: aGroupId,bGroupId,cGroupIds'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0d5fb19b-****-****-99da-1248fc27ca51', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'title' => '', + 'description' => 'The execution result of the interface. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Success' => [ + 'title' => '', + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.User', + 'errorMessage' => 'The user does not exist and cannot be added to a user group.', + 'description' => 'The user does not exist and cannot be added to the user group.', + ], + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => 'The user group does not exist.', + ], + [ + 'errorCode' => 'Invalid.Parameter', + 'errorMessage' => 'The length of the parameter must not exceed 1000.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Already.Synchronized', + 'errorMessage' => 'Organization has synchronized with other organizational structures, so you are not allowed to add users under group.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddUserGroupMembersResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</AddUserGroupMembersResponse>","errorExample":""}]', + 'title' => 'AddUserGroupMembers', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-09-18T02:06:59.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserGroupMembers', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserGroupMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'AddUserTagMeta' => [ + 'summary' => 'Add organization member tag metadata.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'TagName', + 'in' => 'query', + 'schema' => [ + 'description' => 'Tag name. Format check:'."\n" + .'- Maximum length of 50 characters.'."\n" + .'- Only Chinese, English, numbers, and /\\|[]() symbols are allowed.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '职位', + 'title' => '', + ], + ], + [ + 'name' => 'TagDescription', + 'in' => 'query', + 'schema' => [ + 'description' => 'Tag description. Format check: maximum length of 255 characters.', + 'type' => 'string', + 'required' => false, + 'example' => '部门内的职位', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the ID of the successfully added tag.', + 'type' => 'string', + 'example' => '0822a7d9-****-****-****-f20163ab9b0d', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + .'- true: The request succeeded '."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TagName.Repeat', + 'errorMessage' => 'The tag name is duplicated.', + 'description' => 'tag name duplicate added.', + ], + [ + 'errorCode' => 'Name.Length.Exceeded', + 'errorMessage' => 'The max length of name exceeded.', + 'description' => '', + ], + [ + 'errorCode' => 'Name.RegularExpression.Error', + 'errorMessage' => 'Name format validation failed.', + 'description' => '', + ], + [ + 'errorCode' => 'NameExceeded.MaxLength.Error', + 'errorMessage' => 'The name cannot exceed %s characters in length.', + 'description' => 'The name cannot be longer than% s characters.', + ], + [ + 'errorCode' => 'UserTag.Exceed.Limit', + 'errorMessage' => 'The number of user tags cannot exceed %s, you have reached the upper limit.', + 'description' => 'The number of user tags cannot exceed %s, you have reached the upper limit..', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'Add Organization Member Tag Metadata', + 'changeSet' => [ + [ + 'createdAt' => '2025-05-28T03:27:58.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2025-03-14T06:35:33.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserTagMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": \\"0822a7d9-****-****-****-f20163ab9b0d\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddUserTagMetaResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>0822a7d9-****-****-****-f20163ab9b0d</Result>\\n <Success>true</Success>\\n</AddUserTagMetaResponse>","errorExample":""}]', + 'translator' => 'machine', + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserTagMeta', + ], + ], + ], + ], + 'AddUserToWorkspace' => [ + 'summary' => 'Add a member to the specified workspace.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the workspace.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Quick BI user to be added.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The preset space role ID. Value range:'."\n" + ."\n" + .'- 25: Space Administrator'."\n" + ."\n" + .'- 26: Space Developer'."\n" + ."\n" + .'- 27: Space Analyst'."\n" + ."\n" + .'- 30: Space Viewer', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '25', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the interface execution. Value range:'."\n" + ."\n" + .'- true: Execution successful'."\n" + ."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + ."\n" + .'- true: Request successful'."\n" + ."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'User.RoleType.Valid', + 'errorMessage' => 'The role ID is invalid.', + 'description' => 'The role ID is invalid.', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'Workspace.Type.Error', + 'errorMessage' => 'The type of group workspace is invalid.', + 'description' => 'The type of group workspace is invalid.', + ], + [ + 'errorCode' => 'Viewer.AddInTo.Workspace', + 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + 'description' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + ], + [ + 'errorCode' => 'User.AlreadyIn.Workspace', + 'errorMessage' => 'This user already exists.', + 'description' => 'This user already exists.', + ], + [ + 'errorCode' => 'User.AlreadyIn.Role', + 'errorMessage' => 'The user is already assigned this role.', + 'description' => 'The user is already assigned this role.', + ], + [ + 'errorCode' => 'AnalystUser.NotSupport.AdminOrDevRole', + 'errorMessage' => 'Analyst users do not support granting workspace administrator or developer roles.', + 'description' => '', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => 'This role has permissions that analysts cannot grant.', + ], + [ + 'errorCode' => 'Viewer.CannotHave.CustomRole', + 'errorMessage' => 'Organization viewer cannot have custom roles.', + 'description' => 'Organization viewer cannot have custom roles.', + ], + [ + 'errorCode' => 'BindRole.NotExist.Error', + 'errorMessage' => 'Bind role not exist, %s.', + 'description' => 'Bind role not exist, %s.', + ], + ], + ], + 'title' => 'Add Member to Workspace', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-08-07T06:37:07.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserToWorkspace', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserToWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AddWorkspaceUsers' => [ + 'summary' => 'Batch add members to the workspace.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'UserIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID. This is the UserID for Quick BI, not the Alibaba Cloud UID.'."\n" + ."\n" + .'- Supports batch parameters, with user IDs separated by commas (,).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Preset space role ID. Value range:'."\n" + .'- 25: Space Administrator'."\n" + .'- 26: Space Developer'."\n" + .'- 27: Space Analyst'."\n" + .'- 30: Space Viewer', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'maximum' => '30', + 'minimum' => '25', + 'example' => '25', + 'enum' => [ + '25', + '26', + '27', + '30', + ], + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + .'- true: The request was successful. There may be cases where some members are added successfully and others fail. For the reasons of failure, refer to the FailureDetail in the response.'."\n" + .'- false: The request failed, and no data will be persisted.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the API execution.', + 'type' => 'object', + 'properties' => [ + 'Failure' => [ + 'description' => 'Number of users that failed to be added.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'FailureDetail' => [ + 'description' => 'Reasons for the failures.', + 'type' => 'object', + 'example' => '{"2046274934845893" : "AE0150010001: This user already exists.", "1213444447906552" : "AE0150010001: This user already exists."}', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Number of users that were added successfully.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Total' => [ + 'description' => 'Total number of users being added.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'User.RoleType.Valid', + 'errorMessage' => 'The role ID is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Viewer.CannotHave.CustomRole', + 'errorMessage' => 'Organization viewer cannot have custom roles.', + 'description' => '', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Viewer.AddInTo.Workspace', + 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'User.AlreadyIn.Workspace', + 'errorMessage' => 'This user already exists.', + 'description' => '', + ], + [ + 'errorCode' => 'User.AlreadyIn.Role', + 'errorMessage' => 'The user is already assigned this role.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"7AAB95D7-2E11-4FE2-94BC-858E4FC0C976\\",\\n \\"Result\\": {\\n \\"Failure\\": 2,\\n \\"FailureDetail\\": {\\n \\"2046274934845893\\": \\"AE0150010001: This user already exists.\\",\\n \\"1213444447906552\\": \\"AE0150010001: This user already exists.\\"\\n },\\n \\"Success\\": 1,\\n \\"Total\\": 3\\n }\\n}","type":"json"}]', + 'title' => 'Batch Add Members to Workspace', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-08-07T06:37:07.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddWorkspaceUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'AllotDatasetAccelerationTask' => [ + 'summary' => 'Trigger the collection acceleration of the Quick engine for datasets.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'title' => '', + 'description' => 'The dataset ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'title' => '', + 'description' => 'Indicates whether the IP address whitelist is updated. Valid values:'."\n" + ."\n" + .'* true: The task is triggered.'."\n" + .'* false: The task fails to be triggered.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Quick.Job.NotExist', + 'errorMessage' => 'The acceleration job is not found,please check the acceleration configuration.', + 'description' => '', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Last.Job.Failed', + 'errorMessage' => 'Last job status is warn or failure, please check.', + 'description' => '', + ], + [ + 'errorCode' => 'Repeat.Running.Job', + 'errorMessage' => 'Job is already in progress.', + 'description' => '', + ], + [ + 'errorCode' => 'User.OperationPermission.Error', + 'errorMessage' => 'You are not authorized to operate this object.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'AllotDatasetAccelerationTask', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-02-26T09:29:01.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:AllotDatasetAccelerationTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'AuthorizeMenu' => [ + 'summary' => 'Batch authorization of BI portal menu will be skipped automatically.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DataPortalId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the BI portal.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0d173abb53e84c8ca7495429163b****', + 'title' => '', + ], + ], + [ + 'name' => 'MenuIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The menu ID of the BI portal leaf node.'."\n" + ."\n" + .'* The directory menu cannot be authorized.'."\n" + .'* You can upload multiple parameters at a time. Separate multiple IDs with commas (,). The maximum number of parameters that can be modified at a time is 100.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '54kqgoa****,pg1n135****', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IDs of the user groups.'."\n" + ."\n" + .'* You can upload multiple parameters at a time. Separate multiple IDs with commas (,). The maximum number of parameters that can be modified at a time is 200.'."\n" + .'* UserGroupIds and UserIds cannot be empty at the same time'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****', + 'title' => '', + ], + ], + [ + 'name' => 'UserIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IDs of the end users. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.'."\n" + ."\n" + .'* You can upload multiple parameters at a time. Separate multiple IDs with commas (,). The maximum number of parameters that can be modified at a time is 200.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '204627493484****,121344444790****', + 'title' => '', + ], + ], + [ + 'name' => 'AuthPointsValue', + 'in' => 'query', + 'schema' => [ + 'description' => 'Authorizes the permissions of the menu. Valid values:'."\n" + ."\n" + .'* 1: view'."\n" + .'* 3: View + Export (default)'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '188F0B12-00EF-41B3-944A-FB7EF06C9F43', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The number of authorized menus.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'AccessMenu.NotMatch.Portal', + 'errorMessage' => 'The menu does not match the BI portal.', + 'description' => '', + ], + [ + 'errorCode' => 'FolderMenu.CanNot.Authorize', + 'errorMessage' => 'The folder type menu cannot be authorized. Menu ID: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Menu.NotBelongTo.CurrentDataportal', + 'errorMessage' => 'Menu %s does not belong to the current data portal %s.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The user %s does not belong to the current organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The usergroup %s does not belong to the current organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"188F0B12-00EF-41B3-944A-FB7EF06C9F43\\",\\n \\"Result\\": 2,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AuthorizeMenuResponse>\\n <RequestId>188F0B12-00EF-41B3-944A-FB7EF06C9F43</RequestId>\\n <Result>2</Result>\\n <Success>true</Success>\\n</AuthorizeMenuResponse>","errorExample":""}]', + 'title' => 'AuthorizeMenu', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AuthorizeMenu', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'BatchAddFeishuUsers' => [ + 'summary' => 'Batch add Feishu users.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'IsAuthAdmin', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether the user is an authorization administrator'."\n" + ."\n" + .'- true'."\n" + .'- false'."\n" + ."\n" + .'Default is false if not provided', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'example' => 'true', + 'title' => '', + ], + ], + [ + 'name' => 'IsAdmin', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether the user is an admin user:'."\n" + .'- true'."\n" + .'- false'."\n" + ."\n" + .'Default is false if not provided', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'example' => 'False', + 'title' => '', + ], + ], + [ + 'name' => 'FeishuUsers', + 'in' => 'query', + 'schema' => [ + 'description' => 'Information of the users to be added', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '{"ad****fd": "张三", "82****5a": "李四"}"', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'User group ID(s)', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '"0d5fb19b-5555-41f0-99da-1248fc27ca51,0f868dd6_68dd_4d13_8422_c5dca3bd4b61"', + 'title' => '', + ], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => [ + 'description' => 'User type'."\n" + .'- Developer: 1'."\n" + .'- Visitor: 2'."\n" + .'- Analyst: 3', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Result of adding members to the user group. Possible values:'."\n" + ."\n" + .'- true: Addition successful'."\n" + .'- false: Addition failed', + 'type' => 'object', + 'properties' => [ + 'FailCount' => [ + 'description' => 'Number of failed validations.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'FailResults' => [ + 'description' => 'Details of the failures.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FailInfos' => [ + 'description' => 'Reasons for errors.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => 'Error code.', + 'type' => 'string', + 'example' => 'ACCOUNT_EXIST', + 'title' => '', + ], + 'CodeDesc' => [ + 'description' => 'Description of the error code.', + 'type' => 'string', + 'example' => '账号已存在', + 'title' => '', + ], + 'Input' => [ + 'description' => 'Incorrect input value.', + 'type' => 'string', + 'example' => '20', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'OkCount' => [ + 'description' => 'Count of successes.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'example' => 'True', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request successful'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'True', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Feishhu.Config.Not.Exit', + 'errorMessage' => 'Feishu is not configured in the current organization', + 'description' => '', + ], + [ + 'errorCode' => 'Feishu.User.Need.Sync.Contact', + 'errorMessage' => 'Feishu need to sync contact list.', + 'description' => '', + ], + [ + 'errorCode' => 'Feishu.Parameter.Error', + 'errorMessage' => 'Feishu config error: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Mail.Invalid', + 'errorMessage' => 'Email/phone number is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Instance.Over.MaxLicense', + 'errorMessage' => 'You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first.', + 'description' => '', + ], + [ + 'errorCode' => 'Feishu.User.Duplicated', + 'errorMessage' => 'Feishu account already exists or bound:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Viewer.CannotHave.CustomRole', + 'errorMessage' => 'Organization viewer cannot have custom roles.', + 'description' => '', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => '', + ], + [ + 'errorCode' => 'User.OrganizationRole.NotExist', + 'errorMessage' => 'User %s must have role in organization.', + 'description' => '', + ], + [ + 'errorCode' => 'FeishuUser.UserGroup.AssociationError', + 'errorMessage' => 'Feishu User can only be added into feishu or Bi user group.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": {\\n \\"FailCount\\": 10,\\n \\"FailResults\\": [\\n {\\n \\"FailInfos\\": [\\n {\\n \\"Code\\": \\"ACCOUNT_EXIST\\",\\n \\"CodeDesc\\": \\"账号已存在\\",\\n \\"Input\\": \\"20\\"\\n }\\n ]\\n }\\n ],\\n \\"OkCount\\": 1\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Batch Add Feishu Users', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:BatchAddFeishuUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'CancelAuthorizationMenu' => [ + 'summary' => 'Cancel the authorization records for specified users and user groups based on the portal menu ID.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DataPortalId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the data portal.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0d173abb53e84c8ca7495429163b****', + 'title' => '', + ], + ], + [ + 'name' => 'MenuIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The leaf node menu IDs of the data portal.'."\n" + ."\n" + .'- Supports batch parameters, with IDs separated by commas (,). The maximum number for batch modification is 100.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '54kqgoa****,pg1n135****', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'List of user group IDs.'."\n" + ."\n" + .'- Supports batch parameters, with IDs separated by commas (,). The maximum number for batch modification is 200.'."\n" + .'- UserGroupIds and UserIds cannot both be empty.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****', + 'title' => '', + ], + ], + [ + 'name' => 'UserIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'List of user IDs. These are Quick BI UserIDs, not Alibaba Cloud UIDs.'."\n" + ."\n" + .'- Supports batch parameters, with IDs separated by commas (,). The maximum number for batch modification is 200.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '204627493484****,121344444790****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Number of menus successfully unauthorized.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => 'This work does not exist. It may have been deleted. Work ID is %s. ', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'AccessMenu.NotMatch.Portal', + 'errorMessage' => 'The menu does not match the BI portal.', + 'description' => 'The menu does not match the BI portal.', + ], + [ + 'errorCode' => 'FolderMenu.CanNot.Authorize', + 'errorMessage' => 'The folder type menu cannot be authorized. Menu ID: %s.', + 'description' => 'Folder type menu cannot be authorized or unauthorized,menuId:%s.', + ], + [ + 'errorCode' => 'Menu.NotBelongTo.CurrentDataportal', + 'errorMessage' => 'Menu %s does not belong to the current data portal %s.', + 'description' => 'menu %s are/is not belong to current dataportal %s.', + ], + [ + 'errorCode' => 'User.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The user %s does not belong to the current organization.', + 'description' => 'User %s is not belong to current organization.', + ], + [ + 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The usergroup %s does not belong to the current organization.', + 'description' => 'Usergroup %s is not belong to current organization.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": 2,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CancelAuthorizationMenuResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>2</Result>\\n <Success>true</Success>\\n</CancelAuthorizationMenuResponse>","errorExample":""}]', + 'title' => 'Batch Cancel Data Portal Menu Authorization', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CancelAuthorizationMenu', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:CancelAuthorizationMenu', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'CancelCollection' => [ + 'summary' => 'Cancel the data works from the user\'s collection.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the work to cancel the collection.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '5d6ae4e7-cede-43cd-b4d3-d2fd442a9202', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the favorite user. The user ID is the UserID of the Quick BI, not the UID of Alibaba Cloud.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '121344444790****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Favorite.NotCancel.Permission', + 'errorMessage' => 'You have not added this work to favorites.', + 'description' => '', + ], + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7c7223ae-****-3c744528014b\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CancelCollectionResponse>\\n <RequestId>7c7223ae-****-3c744528014b</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</CancelCollectionResponse>","errorExample":""}]', + 'title' => 'CancelCollection', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:CancelCollection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'CancelReportShare' => [ + 'summary' => 'Delete a share authorization for a data work.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'ReportId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the work. The works here include BI portal, dashboards, spreadsheets, and self-service access.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + ], + [ + 'name' => 'ShareToIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the person to be shared, which may be the user ID of the Quick BI or the user group ID.'."\n" + ."\n" + .'* If ShareToType is 0 (user), ShareTo is the user ID.'."\n" + .'* When ShareToType is set to 1 (user group), ShareTo is the user group ID.'."\n" + .'* When ShareToType=2 (organization), ShareTo is the ID of the organization.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + [ + 'name' => 'ShareToType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The deletion method. Valid values:'."\n" + ."\n" + .'* 0: Delete by user'."\n" + .'* 1: Delete by user group'."\n" + .'* 2: Delete by organization'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '0', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Resource.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The resource does not belong to the current organization.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The user %s does not belong to the current organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The usergroup %s does not belong to the current organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CancelReportShareResponse>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</CancelReportShareResponse>","errorExample":""}]', + 'title' => 'CancelReportShare', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:CancelReportShare', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ChangeVisibilityModel' => [ + 'summary' => 'Modifies the visibility mode of the BI portal menu and whether the menu is only authorized to be visible.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DataPortalId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the BI portal.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0d173abb53e84c8ca7495429163b****', + 'title' => '', + ], + ], + [ + 'name' => 'MenuIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The menu ID of the BI portal leaf node.'."\n" + ."\n" + .'* The directory menu cannot be authorized.'."\n" + .'* You can upload multiple parameters at a time. Separate multiple IDs with commas (,). The maximum number of parameters that can be modified at a time is 100.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '54kqgoa****,pg1n135****', + 'title' => '', + ], + ], + [ + 'name' => 'ShowOnlyWithAccess', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether only authorization is visible. Valid values:'."\n" + ."\n" + .'* true: Only the authorization is visible.'."\n" + .'* false: Both are visible.'."\n", + 'type' => 'boolean', + 'required' => true, + 'docRequired' => true, + 'example' => 'true', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The number of menus that are successfully modified.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + [ + 'errorCode' => 'AccessMenu.NotMatch.Portal', + 'errorMessage' => 'The menu does not match the BI portal.', + 'description' => '', + ], + [ + 'errorCode' => 'FolderMenu.CanNot.Authorize', + 'errorMessage' => 'The folder type menu cannot be authorized. Menu ID: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Menu.NotBelongTo.CurrentDataportal', + 'errorMessage' => 'Menu %s does not belong to the current data portal %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": 2,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ChangeVisibilityModelResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>2</Result>\\n <Success>true</Success>\\n</ChangeVisibilityModelResponse>","errorExample":""}]', + 'title' => 'ChangeVisibilityModel', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-04-06T10:12:47.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ChangeVisibilityModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'CheckDatasetExisted' => [ + 'summary' => 'Checks whether a dataset with the specified CubeId exists.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The data returned.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'C67ABB*********682B0B214', + ], + 'Result' => [ + 'description' => 'Indicates whether the API call was successful. Valid values:'."\n" + ."\n" + .'- true: The call was successful.'."\n" + ."\n" + .'- false: The call failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C67ABB*********682B0B214\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CheckDatasetExisted', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + ], + 'CheckOrganizationMember' => [ + 'summary' => 'Checks if a user is a member of an organization.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Quick BI user. This is not your Alibaba Cloud account ID. Call the [QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=api-workbench.api_explorer.0.0.672f50daGq9ooV\\¶ms=%7B%7D\\&tab=DOC\\&sdkStyle=old\\&RegionId=cn-hangzhou) operation to obtain the user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'adfssd-sdf****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'D787E1A**********DF8D885', + ], + 'Result' => [ + 'description' => 'Indicates whether the API call succeeded. Valid values:'."\n" + ."\n" + .'- true: The call succeeded.'."\n" + ."\n" + .'- false: The call failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A**********DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CheckOrganizationMember', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + ], + 'CheckReadable' => [ + 'summary' => 'Queries whether a user has permissions to view data works, such as dashboards and workbooks.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the work. Resources here include BI portal, dashboards, spreadsheets, and self-service access.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID of the Quick BI to be checked.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CheckReadableResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</CheckReadableResponse>","errorExample":""}]', + 'title' => 'CheckReadable', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:CheckReadable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'CreateCubeBySql' => [ + 'summary' => 'Creates a dataset from a custom SQL statement.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CustomSql', + 'in' => 'query', + 'schema' => [ + 'description' => 'The custom SQL statement.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'select * from qqq', + ], + ], + [ + 'name' => 'Caption', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the custom dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'DsId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the data source.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7AAB95D-*****-****-*4FC0C976', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the workspace.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of a Quick BI user with permissions to create datasets. This is not your Alibaba Cloud account ID. Call the [QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=api-workbench.api_explorer.0.0.672f50daGq9ooV\\¶ms=%7B%7D\\&tab=DOC\\&sdkStyle=old\\&RegionId=cn-hangzhou) operation to obtain the user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'asdaf-asda*****asd', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '05739b************02522b9', + ], + 'Result' => [ + 'description' => 'The result of the API call. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'string', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => 'The user is not in your organization.', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not in this workspace.', + 'description' => 'The user is not in this workspace.', + ], + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => 'The specified data source does not exist: %s.', + ], + [ + 'errorCode' => 'DatasourceId.IsNull.Error', + 'errorMessage' => 'You must select a data source before selecting the table.', + 'description' => 'You must select a data source before selecting the table.', + ], + [ + 'errorCode' => 'Name.RegularExpression.Error', + 'errorMessage' => 'Name format validation failed.', + 'description' => '', + ], + [ + 'errorCode' => 'NameExceeded.MaxLength.Error', + 'errorMessage' => 'The name cannot exceed %s characters in length.', + 'description' => 'The name cannot be longer than% s characters.', + ], + [ + 'errorCode' => 'Cube.DuplicatedName.Error', + 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', + 'description' => 'The dataset name already exists. Modify the name before saving.', + ], + [ + 'errorCode' => 'Directory.NotExist.Error', + 'errorMessage' => 'The directory does not exist.', + 'description' => 'The directory does not exist.', + ], + [ + 'errorCode' => 'Xengnie.TaskExecute.Error', + 'errorMessage' => 'Fail to execute task %s.', + 'description' => 'Fail to execute task %s.', + ], + [ + 'errorCode' => 'Datasource.Sql.ExecuteFailed', + 'errorMessage' => 'Failed to execute the SQL statement in the data source.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05739b************02522b9\\",\\n \\"Result\\": \\"true\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateCubeBySql', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + ], + 'CreateDataset' => [ + 'summary' => 'Creates a dataset from a physical table.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DsId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the data source.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7AAB95D-*****-****-*4FC0C976', + ], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the table.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'st_trd_user_purchase_day_inc', + ], + ], + [ + 'name' => 'UserDefineCubeName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the workspace.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID of a Quick BI user who has permissions to create datasets. This is not your Alibaba Cloud account ID. To obtain the user ID, call the [QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=api-workbench.api_explorer.0.0.672f50daGq9ooV\\¶ms=%7B%7D\\&tab=DOC\\&sdkStyle=old\\&RegionId=cn-hangzhou) operation.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', + ], + ], + [ + 'name' => 'TargetDirectoryId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the destination folder.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'asah-fsdfsf*****92342', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'F68B***********A3DF743', + ], + 'Result' => [ + 'description' => 'The result of the operation. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request fails.', + 'type' => 'string', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request fails.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => 'The user is not in your organization.', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => 'The specified data source does not exist: %s.', + ], + [ + 'errorCode' => 'DatasourceId.IsNull.Error', + 'errorMessage' => 'You must select a data source before selecting the table.', + 'description' => 'You must select a data source before selecting the table.', + ], + [ + 'errorCode' => 'Name.RegularExpression.Error', + 'errorMessage' => 'Name format validation failed.', + 'description' => '', + ], + [ + 'errorCode' => 'NameExceeded.MaxLength.Error', + 'errorMessage' => 'The name cannot exceed %s characters in length.', + 'description' => 'The name cannot be longer than% s characters.', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => 'The user is not a member of the group workspace.', + ], + [ + 'errorCode' => 'Cube.DuplicatedName.Error', + 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', + 'description' => 'The dataset name already exists. Modify the name before saving.', + ], + [ + 'errorCode' => 'Directory.NotExist.Error', + 'errorMessage' => 'The directory does not exist.', + 'description' => 'The directory does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F68B***********A3DF743\\",\\n \\"Result\\": \\"true\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateDataset', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + ], + 'CreateTicket' => [ + 'summary' => 'Generate a ticket for third-party embedding.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the report to be embedded. Currently supports dashboards, spreadsheets, data screens, self-service data retrieval, ad-hoc analysis, and data entry.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'a206f5f3-****-e9b17c835b03', + 'title' => '', + ], + ], + [ + 'name' => 'CmptId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Component ID. This is the ID of a component within the above-mentioned dashboard; other types of works do not support this.'."\n" + .'Refer to [QueryWorksBloodRelationship](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryWorksBloodRelationship?spm=a2c4g.11186623.0.0.15615d7aWVvWAl\\¶ms=%7B%7D\\&lang=JAVA\\&tab=DOC\\&sdkStyle=old) for the API to get the component ID.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '0fc6a275c7f64f17b1****a306ce0f31', + 'title' => '', + ], + ], + [ + 'name' => 'TicketNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of tickets. Each time a ticket is used, the number of tickets decreases by 1.'."\n" + ."\n" + .'- Default value: 1'."\n" + ."\n" + .'- Recommended value: 1'."\n" + ."\n" + .'- Maximum value: 99999', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Quick BI\'s UserId, which is not your Alibaba Cloud account ID.'."\n" + .'You can call the [QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=a2c4g.11186623.0.0.15615d7aWVvWAl\\¶ms=%7B%7D\\&tab=DOC\\&sdkStyle=old) interface to obtain the UserId. An example of a UserId is fe67f61a35a94b7da1a34ba174a7\\*\\*\\*\\*.'."\n" + ."\n" + .'> Only one of UserId and AccountName needs to be filled in. If neither is filled in, it will default to binding the report\'s Owner, and the report will be accessed with that user\'s identity. If you need to configure row-level permissions, please refer to [Row-Level Permissions](~~322783~~).', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '46e537466****92704c8', + 'title' => '', + ], + ], + [ + 'name' => 'AccountName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user\'s account name.'."\n" + ."\n" + .'- If the user is an Alibaba Cloud primary account **wangwu**, the format is **\\[Primary Account]**, for example, **wangwu**.'."\n" + ."\n" + .'- If the user is a RAM account **zhangsan**@aliyun.cn\\*\\*, the format is **\\[Primary Account: Sub-Account]**, for example, **wangwu:zhangsan**.'."\n" + ."\n" + .'> Only one of UserId and AccountName needs to be filled in. If neither is filled in, it will default to binding the report\'s Owner, and the report will be accessed with that user\'s identity. If you need to configure row-level permissions, please refer to [Row-Level Permissions](~~322783~~).', + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + 'docRequired' => false, + 'example' => 'test', + 'title' => '', + ], + ], + [ + 'name' => 'AccountType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the user\'s account.'."\n" + ."\n" + .'- 1: Alibaba Cloud account'."\n" + ."\n" + .'- 3: Quick BI self-built account'."\n" + ."\n" + .'- 4: DingTalk'."\n" + ."\n" + .'- 5: RAM sub-account'."\n" + ."\n" + .'- 9: WeCom'."\n" + ."\n" + .'- 10: Feishu'."\n" + ."\n" + .'> If AccountName is not empty, then AccountType must also not be empty.', + 'type' => 'integer', + 'format' => 'int32', + 'deprecated' => true, + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'Expiration time'."\n" + ."\n" + .'- Unit: minutes'."\n" + ."\n" + .'- Default: 240', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '200', + 'title' => '', + ], + ], + [ + 'name' => 'WatermarkParam', + 'in' => 'query', + 'schema' => [ + 'description' => 'Watermark parameters for the report.'."\n" + ."\n" + .'- Must not exceed 50 characters.'."\n" + ."\n" + .'- When the report type is a large screen, watermark parameter passing is not supported.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'ticket embed', + 'title' => '', + ], + ], + [ + 'name' => 'GlobalParam', + 'in' => 'query', + 'schema' => [ + 'description' => 'Global parameters for the report filter conditions.'."\n" + ."\n" + .'- A string in JsonArray format.'."\n" + ."\n" + .'> If you need to use global parameter capabilities, please contact the [Quick BI Operations Manager](https://h5-alimebot.dingtalk.com/intl/index.htm?spm=a2c4g.11186623.0.0.3da14f6chrDv9e\\&sourceType=ding_talk\\&from=DEFFB9G5KBByQkwq23wneFIOmaJ).', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]}]', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The generated ticket value.', + 'type' => 'string', + 'example' => 'ccd3428c-****-****-a608-26bae29dffee', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + ."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', + 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Expired', + 'errorMessage' => 'Ticket [%s] has expired.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', + 'errorMessage' => 'The request [%s] has no token.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.NotExist', + 'errorMessage' => 'Ticket %s does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.Exceed', + 'errorMessage' => 'The number of tickets %s is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.HasNoLeft', + 'errorMessage' => 'There is no ticket number left, please generate new ticket.', + 'description' => '', + ], + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => 'This work does not exist. It may have been deleted. Work ID is %s. ', + ], + [ + 'errorCode' => 'Authorize3Rd.Report.Unauthorized', + 'errorMessage' => 'The report is not enabled for third party embedding.', + 'description' => 'This report is not enabled for 3rd party embedding.', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => 'The specified data source does not exist: %s.', + ], + [ + 'errorCode' => 'Report.NotExist', + 'errorMessage' => 'The dashboard does not exist.', + 'description' => 'The dashboard does not exist.', + ], + [ + 'errorCode' => 'Organization.Workspace.Inconformity', + 'errorMessage' => 'The workspace does not match the organization.', + 'description' => 'workspace inconformity with organization.', + ], + [ + 'errorCode' => 'Parameter.Length.Exceed', + 'errorMessage' => 'Parameter length exceeds maximum limit: [%s].', + 'description' => '', + ], + [ + 'errorCode' => 'GlobalParam.Restricted.Use', + 'errorMessage' => 'The global parameter function is restricted in your version.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Unsupport.ScreenWatermark', + 'errorMessage' => 'Screen embed does not support watermark parameters.', + 'description' => 'Screen embed does not support watermark parameters.', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": \\"ccd3428c-****-****-a608-26bae29dffee\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Generate Report Embedding Ticket', + 'description' => 'For detailed usage, please refer to [Report Embedding Data Permission Control and Parameter Passing Security Enhancement Solution](~~391291~~).', + 'changeSet' => [ + [ + 'createdAt' => '2025-03-17T08:55:41.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-10-24T07:01:04.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CreateTicket', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateTicket', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'CreateTicket4Copilot' => [ + 'summary' => 'Generate an embedding ticket for Smart Q.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CopilotId', + 'in' => 'query', + 'schema' => [ + 'description' => 'ID of the Smart Q module to be embedded.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccd3428c-dd23-460c-a608-26bae29dffee', + 'title' => '', + ], + ], + [ + 'name' => 'TicketNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Range of ticket quantity:'."\n" + ."\n" + .'- Default value is 1.'."\n" + ."\n" + .'- Recommended value is 1.'."\n" + ."\n" + .'- Maximum value is 99999.'."\n" + ."\n" + .'Each time a ticket is used, the ticket count decreases by 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Quick BI\'s UserId.'."\n" + ."\n" + .'- You can obtain this by calling [3.1.7 Get User Details Based on Third-Party Account] or other relevant APIs.'."\n" + ."\n" + .'<notice>Note: Only one of userId and accountName needs to be filled in. If neither is provided, it will default to the report owner, and the report will be accessed with that user\'s identity.</notice>', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '9c-asdawf-casxcasd-asdasd', + 'title' => '', + ], + ], + [ + 'name' => 'AccountName', + 'in' => 'query', + 'schema' => [ + 'description' => 'User\'s account name.'."\n" + .'<notice>Note: Only one of userId and accountName needs to be filled in. If neither is provided, it will default to the report owner, and the report will be accessed with that user\'s identity.</notice>', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试用户', + 'title' => '', + ], + ], + [ + 'name' => 'AccountType', + 'in' => 'query', + 'schema' => [ + 'description' => 'User\'s account type:'."\n" + ."\n" + .'- 1: Alibaba Cloud Primary Account'."\n" + ."\n" + .'- 3: Quick BI Self-built Account'."\n" + ."\n" + .'- 4: DingTalk'."\n" + ."\n" + .'- 5: Alibaba Cloud RAM Account'."\n" + ."\n" + .'- 6: Third-party Account (SAML, OAuth, etc.)'."\n" + ."\n" + .'- 9: WeCom'."\n" + ."\n" + .'- 10: Feishu'."\n" + ."\n" + .'<notice>Note: If accountName is not empty, then accountType must also be provided.</notice>', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [], + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'Expiration time.'."\n" + ."\n" + .'- Unit: minutes, maximum 240 (4 hours).'."\n" + ."\n" + .'- Default: 240.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '200', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'ID of the Smart Q module to be embedded.', + 'type' => 'string', + 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request succeeded'."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'CopilotEmbed.Config.NotFind', + 'errorMessage' => 'Can not find copilot embed config with this copilot ID.', + 'description' => 'Cannot find this embedded configuration', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.HasNoLeft', + 'errorMessage' => 'There is no ticket number left, please generate new ticket.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Param.Error', + 'errorMessage' => 'The parameter is invalid.', + 'description' => 'The parameter is invalid.', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.Exceed', + 'errorMessage' => 'The number of tickets %s is invalid.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": \\"f5eeb52e-d9c2-4a8b-80e3-47ab55c2****\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Generate Smart Q Embedding Ticket', + 'changeSet' => [ + [ + 'createdAt' => '2025-03-14T06:35:33.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateTicket4Copilot', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CreateTicket4Copilot', + ], + ], + ], + ], + 'CreateUserGroup' => [ + 'summary' => 'Create a user group. You can specify a parent user group.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the user group.'."\n" + ."\n" + .'* If you specify the UserGroupId parameter, the system automatically generates the UserGroupId parameter. If you specify the UserGroupId parameter, the user ID is used as the user group ID. You must ensure that the user ID is unique within the organization.'."\n" + .'* Format verification: Maximum length 64, cannot be -1,'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'pop0001', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the RAM user group.'."\n" + ."\n" + .'* Format verification: Maximum length 255'."\n" + .'* Special format verification: Chinese and English digits\\_ \\ / | () ] \\['."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '杭州财报', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupDescription', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of the user group.'."\n" + ."\n" + .'* Format verification: Maximum length 255'."\n" + .'* Special format verification: Chinese and English digits\\_ \\ / | () ] \\['."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '用户分组描述', + 'title' => '', + ], + ], + [ + 'name' => 'ParentUserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the parent user group. You can add new user groups to this group:'."\n" + ."\n" + .'* If you enter the ID of a parent user group, the new user group is added to the user group with the ID.'."\n" + .'* If you enter -1, the new user group is added to the root directory.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '36829379-0C38-5BC0-830A-92665BF77D4F', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The ID of the added user group is returned. An empty string \'\' is returned if the add fails.'."\n", + 'type' => 'string', + 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Duplicate.Name.Error', + 'errorMessage' => 'The name already exists.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Parent.NotFound', + 'errorMessage' => 'The parent user group does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Duplicate.UserGroup.Id', + 'errorMessage' => 'Duplicated usergroupId %s.', + 'description' => '', + ], + [ + 'errorCode' => 'RootUserGroup.Create.Error', + 'errorMessage' => 'organization %s has synchronized with other organizational structures, so user groups cannot be created under the root user group.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Already.Synchronized', + 'errorMessage' => 'Organization has synchronized with other organizational structures, so you are not allowed to add users under group.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Layer.Limited', + 'errorMessage' => 'The user group cannot have more than ten layers.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.ExceedsLimit.Error', + 'errorMessage' => 'User group exceed limit, %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Duplicate.UserGroupName.Error', + 'errorMessage' => 'There is already a user group with the same name %s, please rename it before saving.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"36829379-0C38-5BC0-830A-92665BF77D4F\\",\\n \\"Result\\": \\"f5eeb52e-d9c2-4a8b-80e3-47ab55c2****\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CreateUserGroupResponse>\\n <RequestId>36829379-0C38-5BC0-830A-92665BF77D4F</RequestId>\\n <Result>f5eeb52e-d9c2-4a8b-80e3-47ab55c2****</Result>\\n <Success>true</Success>\\n</CreateUserGroupResponse>","errorExample":""}]', + 'title' => 'CreateUserGroup', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateUserGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'CreateWorkspace' => [ + 'summary' => 'Creates a workspace.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'description' => 'The name of the workspace.', + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'WorkspaceDescription', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'description' => 'The description of the workspace.', + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'UseComment', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'description' => 'Specifies whether to use table remarks when you create a dataset in the workspace. Default value: true.', + 'title' => '', + 'example' => 'true', + ], + ], + [ + 'name' => 'AllowShare', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'description' => 'Specifies whether reports in the workspace can be shared. Default value: true.', + 'title' => '', + 'example' => 'true', + ], + ], + [ + 'name' => 'AllowPublish', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'description' => 'Specifies whether reports in the workspace can be made public. Default value: true.', + 'title' => '', + 'example' => 'true', + ], + ], + [ + 'name' => 'AllowViewAll', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'description' => 'Specifies whether the workspace is in collaboration mode. Default value: true.', + 'title' => '', + 'example' => 'true', + ], + ], + [ + 'name' => 'DefaultShareToAll', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'description' => 'Specifies whether to grant read permissions on the works in the workspace to all workspace members by default. Default value: false.', + 'title' => '', + 'example' => 'false', + ], + ], + [ + 'name' => 'OnlyAdminCreateDatasource', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'description' => 'Specifies whether only administrators can create data sources in the workspace. Default value: false.', + 'title' => '', + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + 'description' => 'The request ID.', + 'title' => '', + 'example' => '685072****************4e79e718f', + ], + 'Result' => [ + 'type' => 'string', + 'description' => 'The workspace ID.', + 'title' => '', + 'example' => '12423twfasva********', + ], + 'Success' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request failed.', + 'title' => '', + 'example' => 'true', + ], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'CreateWorkspace.Exceeds.Limits', + 'errorMessage' => 'The number of create workspace exceeds the maximum number limit:%s.', + 'description' => 'The number of create workspace exceeds the maximum number limit:%s.', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'Duplicate.WorkSpaceName.Error', + 'errorMessage' => 'There is already a workspace with the same name %s, please rename it before saving.', + 'description' => '', + ], + [ + 'errorCode' => 'Transfer.Not.Allowed', + 'errorMessage' => 'Transfer to users with lower space permissions is not allowed.', + 'description' => 'Transfer to users with lower space permissions is not allowed.', + ], + [ + 'errorCode' => 'Transfer.TargetUser.NotExist', + 'errorMessage' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', + 'description' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'CreateWorkspace', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"685072****************4e79e718f\\",\\n \\"Result\\": \\"12423twfasva********\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DataSetBlood' => [ + 'summary' => 'Query works information under the specified dataset.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DataSetIds', + 'in' => 'query', + 'schema' => [ + 'title' => '数据集ID列表,以逗号分割', + 'description' => 'List of dataset IDs, separated by English commas.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '234235234,234235235,234235235', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'title' => '指定报表所属owner ,为userId', + 'description' => 'Specify the owner of the report, which is the userId.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dasasgaj342351', + ], + ], + [ + 'name' => 'WorksType', + 'in' => 'query', + 'schema' => [ + 'title' => '指定报表类型:'."\n" + .'● REPORT:电子表格'."\n" + .'● dashboardOfflineQuery:自助取数'."\n" + .'● DASHBOARD:仪表板'."\n" + .'● ANALYSIS:即席分析'."\n" + .'● SCREEN:数据大屏'."\n" + .'● PAGE:老仪表板', + 'description' => 'Specify the type of report:'."\n" + .'- REPORT: Workbooks'."\n" + .'- dashboardOfflineQuery: Downloads'."\n" + .'- DASHBOARD: Dashboard'."\n" + .'- ANALYSIS: Ad Hoc Analysis'."\n" + .'- SCREEN: Visualization Screen'."\n" + .'- PAGE: Old dashboard', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'PAGE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '46e537a5****,3dadsu****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Array of works.', + 'type' => 'array', + 'items' => [ + 'description' => 'Work object.', + 'type' => 'object', + 'properties' => [ + 'WorksId' => [ + 'title' => '作品id', + 'description' => 'Work ID.', + 'type' => 'string', + 'example' => 'ccd3428c-****-****-a608-26bae29dffee', + ], + 'WorksType' => [ + 'title' => '作品类型:'."\n" + .'● REPORT:电子表格'."\n" + .'● dashboardOfflineQuery:自助取数'."\n" + .'● DASHBOARD:仪表板'."\n" + .'● ANALYSIS:即席分析'."\n" + .'● SCREEN:数据大屏'."\n" + .'● PAGE:老仪表板', + 'description' => 'Work types: - REPORT: '."\n" + .'- REPORT: Workbooks'."\n" + .'- dashboardOfflineQuery: Downloads'."\n" + .'- DASHBOARD: Dashboard'."\n" + .'- ANALYSIS: Ad Hoc Analysis'."\n" + .'- SCREEN: Visualization Screen'."\n" + .'- PAGE: Old dashboard', + 'type' => 'string', + 'example' => 'PAGE', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e537a5****,3dadsu****\\",\\n \\"Success\\": true,\\n \\"Result\\": [\\n {\\n \\"WorksId\\": \\"ccd3428c-****-****-a608-26bae29dffee\\",\\n \\"WorksType\\": \\"PAGE\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DataSetBlood', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DataSetBlood', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:DataSetBlood', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'DataSourceBlood' => [ + 'summary' => 'Query dataset information under the specified data source', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DataSourceId', + 'in' => 'query', + 'schema' => [ + 'title' => '数据源ID', + 'description' => 'Data source ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '44051300991327000048', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '46e537a5****,3dadsu****', + ], + 'Success' => [ + 'title' => '是否请求成功。取值范围:'."\n" + .'● true:请求成功'."\n" + .'● false:请求失败', + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful'."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Result' => [ + 'title' => '数据集id数组。', + 'description' => 'Array of dataset IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Dataset ID.', + 'type' => 'string', + 'example' => 'sdfasdaw234234235', + 'title' => '', + ], + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.User.Admin', + 'errorMessage' => 'You are not an administrator of this organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e537a5****,3dadsu****\\",\\n \\"Success\\": true,\\n \\"Result\\": [\\n \\"sdfasdaw234234235\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Query dataset information under the specified data source', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:DataSourceBlood', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'DelayTicketExpireTime' => [ + 'summary' => 'Update the expiration time of the ticket embedded in the report.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Ticket', + 'in' => 'query', + 'schema' => [ + 'description' => 'The value of the third-party embedded ticket, that is, the accessTicket value in the URL.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '040e6f79d33444838e*****c7206c070', + 'title' => '', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The time to postpone.'."\n" + ."\n" + .'- Unit: minutes. Valid values: 0 to 240. Unit: minutes. Valid values: 4 hours.'."\n" + ."\n" + .'- Expired bills cannot be extended.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '200', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Whether the extension is successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', + 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Expired', + 'errorMessage' => 'Ticket [%s] has expired.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', + 'errorMessage' => 'The request [%s] has no token.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.NotExist', + 'errorMessage' => 'Ticket %s does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.Exceed', + 'errorMessage' => 'The number of tickets %s is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.HasNoLeft', + 'errorMessage' => 'There is no ticket number left, please generate new ticket.', + 'description' => '', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + ], + ], + 'title' => 'DelayTicketExpireTime', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DelayTicketExpireTime', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:DelayTicketExpireTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteDataLevelPermissionRuleUsers' => [ + 'summary' => 'Deletes specified users from a row-level permission rule.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DeleteUserModel', + 'in' => 'query', + 'schema' => [ + 'description' => '{'."\n" + .'"ruleId": "a5bb24da-***-a891683e14da", // The ID of the row-level permission rule.'."\n" + .'"cubeId": "7c7223ae-***-3c744528014b", // The ID of the dataset.'."\n" + .'"delModel": {'."\n" + .'"userGroups": \\['."\n" + .'"0d5fb19b-***-1248fc27ca51", // The ID of the user group to remove.'."\n" + .'"3d2c23d4-***-f6390f325c2d"'."\n" + .'],'."\n" + .'"users": \\['."\n" + .'"4334***358", // The ID of the user to remove.'."\n" + .'"Huang***3fa822"'."\n" + .']'."\n" + .'}'."\n" + .'}', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => ' {"ruleId":"a5bb24da-***-a891683e14da","cubeId":"7c7223ae-***-3c744528014b","delModel":{"userGroups":["0d5fb19b-***-1248fc27ca51","3d2c23d4-***-f6390f325c2d"],"users":["4334***358","Huang***3fa822"]}}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'description' => 'The result of the API call. Valid values:'."\n" + ."\n" + .'- true: The call was successful.'."\n" + ."\n" + .'- false: The call failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteDataLevelPermissionRuleUsers', + 'description' => '> This API supports only the new row-level permission model of Quick BI. If you use the old row-level permissions, you must migrate to the new model before you call this API. To migrate, go to Organization Management > Security Settings > Upgrade to New Row-level Permissions and click **One-click Upgrade**.', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteDataLevelPermissionRuleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteDataLevelPermissionRuleUsers', + ], + ], + ], + ], + 'DeleteDataLevelRuleConfig' => [ + 'summary' => 'Deletes a row-level permission rule.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the row-level permission rule.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'a5bb24da-****-a891683e14da', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'description' => 'The execution result of the operation. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteDataLevelRuleConfig', + 'description' => '> This operation supports only the new Quick BI row-level permission model. If you are using the old model, you must upgrade before you call this operation. To upgrade, go to Organization Management > Security Configurations > Upgrade Row-level Permissions and click **Upgrade Now**.', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteDataLevelRuleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteDataLevelRuleConfig', + ], + ], + ], + ], + 'DeleteTicket' => [ + 'summary' => 'Delete Third-Party Embedded Ticket', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Ticket', + 'in' => 'query', + 'schema' => [ + 'description' => 'The value of the third-party embedded ticket, which is the `accessTicket` in the URL.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '040e6f79d****7d283c7206c070', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Indicates whether the deletion was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful'."\n" + ."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful'."\n" + ."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', + 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Expired', + 'errorMessage' => 'Ticket [%s] has expired.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', + 'errorMessage' => 'The request [%s] has no token.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.NotExist', + 'errorMessage' => 'Ticket %s does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.Exceed', + 'errorMessage' => 'The number of tickets %s is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.HasNoLeft', + 'errorMessage' => 'There is no ticket number left, please generate new ticket.', + 'description' => '', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + ], + ], + 'title' => 'Delete Embedded Ticket', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteTicket', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteTicket', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteUser' => [ + 'summary' => 'Delete the specified organization user.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user to be deleted. This user ID is the Quick BI UserID, not the Alibaba Cloud UID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + ], + [ + 'name' => 'TransferUserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the successor. If not empty, the report resources in the workspace of the deleted user will be transferred to the successor; otherwise, they will be transferred to the space owner.'."\n" + .'- The successor cannot be an organization visitor'."\n" + .'- The permissions of the successor in the workspace must not be less than those of the deleted user, with management permissions > development permissions > sharing permissions > viewing permissions'."\n" + .'- If the successor is not in the workspace, they will be automatically added to the workspace', + 'type' => 'string', + 'required' => false, + 'example' => 'f5****afccd9e434a274', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the execution result of the interface. Possible values:'."\n" + ."\n" + .'- true: Execution succeeded'."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful - false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'CannotRemove.OrganizationOwner', + 'errorMessage' => 'You cannot remove the organization owner from the organization.', + 'description' => 'You cannot remove the organization owner from the organization.', + ], + [ + 'errorCode' => 'Member.ExistInWorkspace.Error', + 'errorMessage' => 'You cannot remove a user who is a member of a group workspace.', + 'description' => 'You cannot remove a user who is a member of a group workspace.', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'Workspace.Type.Error', + 'errorMessage' => 'The type of group workspace is invalid.', + 'description' => 'The type of group workspace is invalid.', + ], + [ + 'errorCode' => 'Not.Organization.AuthAdmin', + 'errorMessage' => 'You are not a role administrator of the organization and do not have the permission to perform the operation.', + 'description' => 'You are not a role administrator of the organization and do not have the permission to perform the operation.', + ], + [ + 'errorCode' => 'Works.Transfer.Error', + 'errorMessage' => 'You are not authorized to transfer this item.', + 'description' => 'You are not authorized to transfer this item.', + ], + [ + 'errorCode' => 'CanNot.Remove.WorkspaceOwner', + 'errorMessage' => 'You cannot remove the group workspace owner from the group.', + 'description' => 'You cannot remove the group workspace owner from the group.', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => 'The user is not a member of the group workspace.', + ], + [ + 'errorCode' => 'Transfer.TargetUser.NotExist', + 'errorMessage' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', + 'description' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', + ], + [ + 'errorCode' => 'User.RoleType.Valid', + 'errorMessage' => 'The role ID is invalid.', + 'description' => 'The role ID is invalid.', + ], + [ + 'errorCode' => 'Viewer.AddInTo.Workspace', + 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + 'description' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => 'This role has permissions that analysts cannot grant.', + ], + [ + 'errorCode' => 'Transfer.Not.Allowed', + 'errorMessage' => 'Transfer to users with lower space permissions is not allowed.', + 'description' => 'Transfer to users with lower space permissions is not allowed.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserResponse>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteUserResponse>","errorExample":""}]', + 'title' => 'Delete Organization User', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2025-03-14T06:35:33.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-08-07T06:37:07.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUser', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'DeleteUserFromWorkspace' => [ + 'summary' => 'Delete a member from the specified workspace.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the workspace.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user to be deleted. Note that this UserID is for Quick BI, not the Alibaba Cloud UID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the API execution. Possible values:'."\n" + ."\n" + .'- true: Execution succeeded'."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + .'- true: The request succeeded - false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Type.Error', + 'errorMessage' => 'The type of group workspace is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'CanNot.Remove.WorkspaceOwner', + 'errorMessage' => 'You cannot remove the group workspace owner from the group.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => '', + ], + [ + 'errorCode' => 'Cannot.TransferTo.Owner', + 'errorMessage' => 'You cannot transfer an item to its current owner.', + 'description' => '', + ], + [ + 'errorCode' => 'Works.Transfer.Error', + 'errorMessage' => 'You are not authorized to transfer this item.', + 'description' => '', + ], + [ + 'errorCode' => 'Transfer.TargetUser.NotExist', + 'errorMessage' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', + 'description' => '', + ], + [ + 'errorCode' => 'PersonalWorkspace.NotSupport.AllTransfer', + 'errorMessage' => 'Personal workspaces cannot be transferred.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserFromWorkspaceResponse>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteUserFromWorkspaceResponse>","errorExample":""}]', + 'title' => 'Remove Workspace Member', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserFromWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'DeleteUserGroup' => [ + 'summary' => 'Deletes a user group in an organization.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user group.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'F2775AB6-DE99-5FA6-86A4-72EA0A8AFEE3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Remove.RootNode', + 'errorMessage' => 'The root user group cannot be deleted.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Remove.WithChildren', + 'errorMessage' => 'This user group contains a child user group and cannot be deleted.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F2775AB6-DE99-5FA6-86A4-72EA0A8AFEE3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserGroupResponse>\\n <RequestId>F2775AB6-DE99-5FA6-86A4-72EA0A8AFEE3</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteUserGroupResponse>","errorExample":""}]', + 'title' => 'DeleteUserGroup', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'DeleteUserGroupMember' => [ + 'summary' => 'Deletes a specified member from a specified user group.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user group.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '46e537****', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID of the Quick BI.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '2fe4fbd8****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of deleting a user group member. Valid values:'."\n" + ."\n" + .'* true: The task is deleted.'."\n" + .'* false: The deletion failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserGroupMemberResponse>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteUserGroupMemberResponse>","errorExample":""}]', + 'title' => 'DeleteUserGroupMember', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserGroupMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'DeleteUserGroupMembers' => [ + 'summary' => 'Batch remove specified users from user groups.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The UserID of the user to be removed from the user group. Note that this UserID refers to the Quick BI UserID, not the Alibaba Cloud UID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '204627493484****', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user group(s) to exit.'."\n" + ."\n" + .'- Supports batch parameters, separate IDs with a comma (,).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'ABBAD906-3925-5D18-B23D-714053AB0AA2', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the interface execution. Possible values:'."\n" + ."\n" + .'- true: Execution succeeded'."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The usergroup %s does not belong to the current organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ABBAD906-3925-5D18-B23D-714053AB0AA2\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserGroupMembersResponse>\\n <RequestId>ABBAD906-3925-5D18-B23D-714053AB0AA2</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteUserGroupMembersResponse>","errorExample":""}]', + 'title' => 'DeleteUserGroupMembers', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserGroupMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'DeleteUserTagMeta' => [ + 'summary' => 'Deletes the tag metadata of an organization member.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the tag to be deleted.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'pop_001', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the deleted tag is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserTag.NotIn.CurrentOrganization', + 'errorMessage' => 'The user tag is not in the current organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserTagMetaResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteUserTagMetaResponse>","errorExample":""}]', + 'title' => 'DeleteUserTagMeta', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:31.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserTagMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'GetDataSourceConnectionInfo' => [ + 'summary' => 'Get Data Source Information', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DsId', + 'in' => 'query', + 'schema' => [ + 'title' => '', + 'description' => 'Data source ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => '7AAB95D-*****-****-*4FC0C976', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '7AAB95D-*****-****-*4FC0C976', + ], + 'Result' => [ + 'title' => '', + 'description' => 'Data source information.', + 'type' => 'object', + 'properties' => [ + 'Address' => [ + 'title' => '', + 'description' => 'Database connection string address (domain or IP).', + 'type' => 'string', + 'example' => '172.**.**.48', + ], + 'AuthLevel' => [ + 'title' => '', + 'description' => 'Permission level:'."\n" + ."\n" + .'- 0 -- Private'."\n" + .'- 1 -- Collaborative Editing (old)'."\n" + .'- 11 -- Collaborative Editing - Space Members'."\n" + .'- 12 -- Collaborative Editing - Specified to Individuals', + 'type' => 'string', + 'example' => '0', + ], + 'CreatorId' => [ + 'title' => '', + 'description' => 'Quick BI user ID of the creator.', + 'type' => 'string', + 'example' => 'U240****0880C6095', + ], + 'DsId' => [ + 'title' => '', + 'description' => 'Data source ID.', + 'type' => 'string', + 'example' => 'a201c85c-******', + ], + 'DsType' => [ + 'title' => '', + 'description' => 'Data source type.', + 'type' => 'string', + 'enumValueTitles' => [ + 'hive' => 'Hive Data Source', + 'vertica' => 'Vertica Data Source', + 'ppas' => 'RDS PPAS Data Source', + 'dm' => 'DM7 Data Source-Dameng', + 'tsdb' => 'TSDB Data Source', + 'tdsql' => 'TDSQL-H Data Source', + 'mysql_hybrid' => 'HybridDB for MySQL Data Source', + 'sqlserver' => 'sqlserver Data Source', + 'postgresql' => 'postgresql Data Source', + 'garuda' => 'garuda Data Source', + 'adb_spark' => 'adb Data Source Spark Engine', + 'greenplum' => 'greenplum Data Source', + 'phoenix_thin' => 'PHOENIX THIN Data Source', + 'dla' => 'DataLake Analytics Data Source', + 'starrocks' => 'StarRocks Data Source', + 'mysql' => 'mysql Data Source', + 'hana' => 'SAP HANA Data Source', + 'mongodb' => 'MongoDB Data Source', + 'adb' => 'ADB', + 'hbase' => 'HBASE Data Source', + 'oscar' => 'Sheng Tong Data Source', + 'gbase' => 'Gbase Data Source', + 'oracle' => 'oracle Data Source', + 'sybase' => ' SAP SYBASE IQ Data Source', + 'dataphin' => 'DataPhin Data Source-Multi-engine', + 'odps' => 'odps Data Source', + 'db2' => 'IBM DB2 Data Source(LUW)', + 'yida' => 'yida Application Data Source', + 'clickhouse' => 'ClickHouse Data Source', + 'oceanbase_oracle' => 'OceanBase_Oracle Data Source', + 'presto' => 'presto Data Source', + 'polardb' => 'polardb Data Source', + 'dataphin_odps' => 'DataPhin Data Source odps Engine', + 'selectdb' => 'SelectDB Data Source', + ], + 'example' => 'mysql', + ], + 'DsVersion' => [ + 'title' => '', + 'description' => 'Version of the data source.', + 'type' => 'string', + 'example' => '5.7', + ], + 'Instance' => [ + 'title' => '', + 'description' => 'Database instance, corresponding to the database name, and for ODPS, it is the project.', + 'type' => 'string', + 'example' => 'rm*********t44ju1', + ], + 'InstanceId' => [ + 'title' => '', + 'description' => 'Instance ID.', + 'type' => 'string', + 'example' => 'rm*********t44ju1', + ], + 'ModifyUser' => [ + 'title' => '', + 'description' => 'Quick BI user ID of the modifier.', + 'type' => 'string', + 'example' => 'U240****0880C6095', + ], + 'NoSasl' => [ + 'description' => 'Whether the impala data source requires authentication to log in:'."\n" + ."\n" + .'- true - Requires account and password login '."\n" + .'- false - No authentication required (default)', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'ParentDsType' => [ + 'title' => '', + 'description' => 'Primary data source type for multi-engine data sources.', + 'type' => 'string', + 'example' => 'dataphin', + ], + 'Port' => [ + 'title' => '', + 'description' => 'Port.', + 'type' => 'string', + 'example' => '3306', + ], + 'Project' => [ + 'title' => '', + 'description' => 'Used for front-end display when obtaining connection details for ODPS.', + 'type' => 'string', + 'example' => 'prod-ossdoc', + ], + 'Schema' => [ + 'title' => '', + 'description' => 'Database schema, only needs to be set for databases that support schemas.', + 'type' => 'string', + 'example' => 'Analysis', + ], + 'ShowName' => [ + 'title' => '', + 'description' => 'Display name of the data source on the front end.', + 'type' => 'string', + 'example' => '0327', + ], + 'WorkspaceId' => [ + 'title' => '', + 'description' => 'Workspace ID to which the data source belongs.', + 'type' => 'string', + 'example' => '0de6**2-d**-4720-8836-0cc****1394c', + ], + ], + 'example' => '', + ], + 'Success' => [ + 'title' => '', + 'description' => 'Indicates whether the operation was successful.', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Parameter', + 'errorMessage' => 'The length of the parameter must not exceed 1000.', + 'description' => '', + ], + [ + 'errorCode' => 'Access.Forbidden', + 'errorMessage' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', + 'description' => '', + ], + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => '', + ], + [ + 'errorCode' => 'Instance.Expired', + 'errorMessage' => 'Your instance has expired.', + 'description' => '', + ], + [ + 'errorCode' => 'Instance.Not.Exist', + 'errorMessage' => 'The specified instance does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Organization', + 'errorMessage' => 'The specified organizational unit does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Param.Error', + 'errorMessage' => 'The parameter is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Application.Object.NotExist', + 'errorMessage' => 'The object you are operating does not exist or has been deleted.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7AAB95D-*****-****-*4FC0C976\\",\\n \\"Result\\": {\\n \\"Address\\": \\"172.**.**.48\\",\\n \\"AuthLevel\\": \\"0\\",\\n \\"CreatorId\\": \\"U240****0880C6095\\",\\n \\"DsId\\": \\"a201c85c-******\\",\\n \\"DsType\\": \\"mysql\\",\\n \\"DsVersion\\": \\"5.7\\",\\n \\"Instance\\": \\"rm*********t44ju1\\",\\n \\"InstanceId\\": \\"rm*********t44ju1\\",\\n \\"ModifyUser\\": \\"U240****0880C6095\\",\\n \\"NoSasl\\": true,\\n \\"ParentDsType\\": \\"dataphin\\",\\n \\"Port\\": \\"3306\\",\\n \\"Project\\": \\"prod-ossdoc\\",\\n \\"Schema\\": \\"Analysis\\",\\n \\"ShowName\\": \\"0327\\",\\n \\"WorkspaceId\\": \\"0de6**2-d**-4720-8836-0cc****1394c\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetDataSourceConnectionInfo', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:GetDataSourceConnectionInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'GetMailTaskList' => [ + 'summary' => 'Retrieves a list of tracking tasks. Note: If the caller\'s AccessKey (AK) does not have permission to view tracking tasks of other users, this operation returns only the tasks that the caller is authorized to access.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'description' => 'The page number.'."\n" + ."\n" + .'- Starts from: 1'."\n" + ."\n" + .'- Default value: 1', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'- Default value: 25', + 'title' => '', + 'example' => '10', + ], + ], + [ + 'name' => 'UserNick', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'description' => 'The nickname of the user who owns the tracking task. If this parameter is not specified, all tasks are returned.', + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'Paused', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'description' => 'Specifies whether the tracking task is paused.', + 'title' => '', + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + 'description' => 'The ID of the request.', + 'title' => '', + 'example' => '0c52************8e1952a3', + ], + 'Result' => [ + 'type' => 'object', + 'properties' => [ + 'PageNum' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The page number.', + 'title' => '', + 'example' => '1', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The number of entries per page that was set for the request.', + 'title' => '', + 'example' => '10', + ], + 'TotalNum' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The total number of entries.', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The total number of pages.', + 'title' => '', + 'example' => '1', + ], + 'Pre' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The previous page number. A value of null or 0 indicates that there is no previous page.', + 'title' => '', + 'example' => 'null', + ], + 'Next' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The next page number. A value of null or 0 indicates that there is no next page.', + 'title' => '', + 'example' => 'null', + ], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MailId' => [ + 'type' => 'string', + 'description' => 'The mail ID of the tracking task.', + 'title' => '', + 'example' => '2342526', + ], + 'Paused' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether the task is paused.'."\n" + ."\n" + .'- true: The task is paused.'."\n" + ."\n" + .'- false: The task is not paused.', + 'title' => '', + 'example' => 'true', + ], + 'BizOwnerUserId' => [ + 'type' => 'string', + 'description' => 'The user ID of the owner.', + 'title' => '', + 'example' => 'asag****2423', + ], + 'BizOwnerName' => [ + 'type' => 'string', + 'description' => 'The nickname of the owner.', + 'title' => '', + 'example' => 'test', + ], + 'SubscribeName' => [ + 'type' => 'string', + 'description' => 'The name of the tracking task.', + 'title' => '', + 'example' => 'test', + ], + ], + 'description' => 'The tracking task model.', + 'title' => '', + 'example' => '', + ], + 'description' => 'An array of tracking task models.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The paging information for the tracking tasks.', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'title' => '', + 'example' => 'true', + ], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'GetMailTaskList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0c52************8e1952a3\\",\\n \\"Result\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1,\\n \\"Pre\\": 0,\\n \\"Next\\": 0,\\n \\"Data\\": [\\n {\\n \\"MailId\\": \\"2342526\\",\\n \\"Paused\\": true,\\n \\"BizOwnerUserId\\": \\"asag****2423\\",\\n \\"BizOwnerName\\": \\"test\\",\\n \\"SubscribeName\\": \\"test\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetMailTaskStatus' => [ + 'summary' => 'Check the running status of mail tasks within an organization', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'MailId', + 'in' => 'query', + 'schema' => [ + 'title' => '邮件id', + 'description' => 'Mail ID', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'd5a59a898b634d75be5584f8dc159c62', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'title' => '任务id', + 'description' => 'Task ID'."\n" + ."\n" + .'> - If the task ID is not provided, the latest task status will be returned by default;'."\n" + .'> - If the task ID is provided, the status of the specified task will be returned.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'docRequired' => false, + 'example' => '7218865303929605212', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '38C0FEC8-1510-415C-A9F1-9AE9422BDB65', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Return result.', + 'type' => 'array', + 'items' => [ + 'description' => 'Return result.', + 'type' => 'object', + 'properties' => [ + 'execTime' => [ + 'title' => '执行时间,时间格式为 yyyy-MM-dd HH:mm:ss', + 'description' => 'Execution time, in the format yyyy-MM-dd HH:mm:ss', + 'type' => 'string', + 'example' => '2024-10-09 17:34:11', + ], + 'mailId' => [ + 'title' => '邮件id', + 'description' => 'Mail ID', + 'type' => 'string', + 'example' => 'c38f73f4c5xxxxxc808c41b3f4d23b7852', + ], + 'status' => [ + 'title' => '邮件状态,成功:SENT ,失败:FAILED ,进行中:PROCESSING', + 'description' => 'Mail status. Possible values:'."\n" + ."\n" + .'- Success: SENT'."\n" + .'- Failure: FAILED '."\n" + .'- In Progress: PROCESSING', + 'type' => 'string', + 'example' => 'SENT', + ], + 'taskId' => [ + 'title' => '任务id', + 'description' => 'Task ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1282xxx610816', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful. '."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Mail.Forbidden.Access', + 'errorMessage' => 'Forbidden Access On This Operation.', + 'description' => '', + ], + [ + 'errorCode' => 'Mail.Not.Found', + 'errorMessage' => 'Mail not found.', + 'description' => '', + ], + [ + 'errorCode' => 'Mail.Subject.Error', + 'errorMessage' => 'The mail subject is invalid.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"38C0FEC8-1510-415C-A9F1-9AE9422BDB65\\",\\n \\"Result\\": [\\n {\\n \\"execTime\\": \\"2024-10-09 17:34:11\\",\\n \\"mailId\\": \\"c38f73f4c5xxxxxc808c41b3f4d23b7852\\",\\n \\"status\\": \\"SENT\\",\\n \\"taskId\\": 0\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetMailTaskStatus', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:GetMailTaskStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'GetUserGroupInfo' => [ + 'summary' => 'Search for user group information based on the keyword of the user group name.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword of the user group name.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '测试用户组', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D7980306-1F08-5A88-9FE7-ECB8B9C4C0F5', + 'title' => '', + ], + 'Result' => [ + 'description' => 'User group information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => 'Creation time of the user group.', + 'type' => 'string', + 'example' => '2021-03-15 17:13:55', + 'title' => '', + ], + 'CreateUser' => [ + 'description' => 'Creator of the sub-user group. This is the UserID in Quick BI, not the UID in Alibaba Cloud.', + 'type' => 'string', + 'example' => '46e5374665ba4b679ee22e2a2927****', + 'title' => '', + ], + 'IdentifiedPath' => [ + 'description' => 'Directory level of the user group.', + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/34fd141d-4598-4093-8c33-8e066dcb****', + 'title' => '', + ], + 'ModifiedTime' => [ + 'description' => 'Last modified time of the user group.', + 'type' => 'string', + 'example' => '2021-03-15 20:36:40', + 'title' => '', + ], + 'ModifyUser' => [ + 'description' => 'Modifier of the user group. This is the UserID in Quick BI, not the UID in Alibaba Cloud.', + 'type' => 'string', + 'example' => '46e5374665ba4b679ee22e2a2927****', + 'title' => '', + ], + 'ParentUsergroupId' => [ + 'description' => 'Parent user group ID.', + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', + 'title' => '', + ], + 'UsergroupDesc' => [ + 'description' => 'Description of the user group.', + 'type' => 'string', + 'example' => '测试描述', + 'title' => '', + ], + 'UsergroupId' => [ + 'description' => 'User group ID.', + 'type' => 'string', + 'example' => '34fd141d-4598-4093-8c33-8e066dcb****', + 'title' => '', + ], + 'UsergroupName' => [ + 'description' => 'Name of the user group.', + 'type' => 'string', + 'example' => '测试用户组01', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D7980306-1F08-5A88-9FE7-ECB8B9C4C0F5\\",\\n \\"Result\\": [\\n {\\n \\"CreateTime\\": \\"2021-03-15 17:13:55\\",\\n \\"CreateUser\\": \\"46e5374665ba4b679ee22e2a2927****\\",\\n \\"IdentifiedPath\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af0****/34fd141d-4598-4093-8c33-8e066dcb****\\",\\n \\"ModifiedTime\\": \\"2021-03-15 20:36:40\\",\\n \\"ModifyUser\\": \\"46e5374665ba4b679ee22e2a2927****\\",\\n \\"ParentUsergroupId\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af0****\\",\\n \\"UsergroupDesc\\": \\"测试描述\\",\\n \\"UsergroupId\\": \\"34fd141d-4598-4093-8c33-8e066dcb****\\",\\n \\"UsergroupName\\": \\"测试用户组01\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetUserGroupInfoResponse>\\n <Success>true</Success>\\n <RequestId>D7980306-1F08-5A88-9FE7-ECB8B9C4C0F5</RequestId>\\n <Result>\\n <IdentifiedPath>2fe4fbd8-588f-489a-b3e1-e92c7af0****/34fd141d-4598-4093-8c33-8e066dcb****</IdentifiedPath>\\n <ParentUsergroupId>2fe4fbd8-588f-489a-b3e1-e92c7af0****</ParentUsergroupId>\\n <ModifiedTime>2021-03-15 20:36:40</ModifiedTime>\\n <CreateUser>46e5374665ba4b679ee22e2a2927****</CreateUser>\\n <UsergroupName>测试用户组01</UsergroupName>\\n <CreateTime>2021-03-15 17:13:55</CreateTime>\\n <UsergroupDesc>测试描述</UsergroupDesc>\\n <UsergroupId>34fd141d-4598-4093-8c33-8e066dcb****</UsergroupId>\\n <ModifyUser>46e5374665ba4b679ee22e2a2927****</ModifyUser>\\n </Result>\\n</GetUserGroupInfoResponse>","errorExample":""}]', + 'title' => 'Get User Group Information by Keyword', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:GetUserGroupInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'GetWorksEmbedList' => [ + 'summary' => 'Query the list of embedded reports', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WsId', + 'in' => 'query', + 'schema' => [ + 'title' => '工作空间id', + 'description' => 'Workspace ID', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '919818-***-*****-wdasd', + ], + ], + [ + 'name' => 'WorksType', + 'in' => 'query', + 'schema' => [ + 'title' => '报表类型'."\n" + .'page, 仪表板'."\n" + .'screen, 数据大屏'."\n" + .'report, 电子表格'."\n" + .'ANALYSIS, 即席分析'."\n" + .'dashboardOfflineQuery, 自助取数'."\n" + .'dataForm, 数据填报', + 'description' => 'Report type'."\n" + ."\n" + .'- page, Dashboard'."\n" + .'- screen, Data Screen'."\n" + .'- report, Spreadsheet'."\n" + .'- ANALYSIS, Ad-hoc Analysis'."\n" + .'- dashboardOfflineQuery, Self-service Data Retrieval'."\n" + .'- dataForm, Data Entry Form', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'dataForm' => '', + 'dashboardOfflineQuery' => 'Self-service Data Retrieval', + 'report' => 'Spreadsheet', + 'screen' => 'Data Screen', + 'ANALYSIS' => 'Ad-hoc Analysis', + 'page' => 'Dashboard', + ], + 'example' => 'page', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'title' => '报表名称(模糊匹配)', + 'description' => 'Report name (fuzzy match)', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试数据集', + ], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => [ + 'title' => '页数(为空默认选1)', + 'description' => 'Page number (defaults to 1 if empty)', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'title' => '每页显示的条数(为空默认选10)', + 'description' => 'Number of items per page (defaults to 10 if empty)', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '100', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '38C0F*****0-415****9F1-*****422BDB65', + ], + 'Result' => [ + 'description' => 'Array of report objects', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Array of reports', + 'type' => 'array', + 'items' => [ + 'description' => 'Report object', + 'type' => 'object', + 'properties' => [ + 'EmbedTime' => [ + 'title' => '嵌入时间', + 'description' => 'Embed time', + 'type' => 'string', + 'example' => 'YYYY-mm-DD hh:MM:ss', + ], + 'WorksId' => [ + 'title' => '报表ID', + 'description' => 'Report ID', + 'type' => 'string', + 'example' => '897ce25e-****-****-af84-d13c5610****', + ], + 'WorksName' => [ + 'title' => '报表名称', + 'description' => 'Report name', + 'type' => 'string', + 'example' => '测试哦', + ], + 'WorksType' => [ + 'title' => '报表类型', + 'description' => 'Report type', + 'type' => 'string', + 'example' => 'page', + ], + 'WorkspaceId' => [ + 'title' => '所属空间ID', + 'description' => 'Workspace ID', + 'type' => 'string', + 'example' => '87c6b145-****-43e1-9426-8f93be23****', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNo' => [ + 'title' => '页数', + 'description' => 'Page number', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '每页显示的条数', + 'description' => 'Number of items per page', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'TotalNum' => [ + 'title' => '总条数', + 'description' => 'Total number of items', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '18', + ], + 'TotalPages' => [ + 'title' => '总页码', + 'description' => 'Total number of pages', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Whether the request was successful', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"38C0F*****0-415****9F1-*****422BDB65\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"EmbedTime\\": \\"YYYY-mm-DD hh:MM:ss\\",\\n \\"WorksId\\": \\"897ce25e-****-****-af84-d13c5610****\\",\\n \\"WorksName\\": \\"测试哦\\",\\n \\"WorksType\\": \\"page\\",\\n \\"WorkspaceId\\": \\"87c6b145-****-43e1-9426-8f93be23****\\"\\n }\\n ],\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 18,\\n \\"TotalPages\\": 2\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Get Embedded Reports', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:GetWorksEmbedList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListAccelerationOfWorkspace' => [ + 'summary' => 'Retrieves information about acceleration tasks in a workspace.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'description' => 'The workspace ID.', + 'title' => '', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + ], + ], + [ + 'name' => 'CubeName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'description' => 'The name of the dataset.', + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'CreatorId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'description' => 'The user ID in Quick BI. This is not your Alibaba Cloud account ID. Call the QueryUserInfoByAccount operation to obtain the user ID.', + 'title' => '', + 'example' => '1***************139', + ], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'description' => 'The page number. If this parameter is left empty, the default value is 1.', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'description' => 'The number of rows on each page for a paged query.'."\n" + ."\n" + .'- Default value: 10.', + 'title' => '', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + 'description' => 'The request ID.', + 'title' => '', + 'example' => 'D787E****************05DF8D885', + ], + 'Result' => [ + 'type' => 'object', + 'properties' => [ + 'TotalPages' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The total number of pages.', + 'title' => '', + 'example' => '1', + ], + 'TotalNum' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The total number of rows.', + 'title' => '', + 'example' => '18', + ], + 'PageNum' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The page number.', + 'title' => '', + 'example' => '1', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The number of rows per page that you set when you call the operation.', + 'title' => '', + 'example' => '10', + ], + 'Pre' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The previous page. A value of NULL or 0 indicates that there is no previous page.', + 'title' => '', + 'example' => '0', + ], + 'Next' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The next page. A value of NULL or 0 indicates that there is no next page.', + 'title' => '', + 'example' => 'null', + ], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CubeId' => [ + 'type' => 'string', + 'description' => 'The dataset ID.', + 'title' => '', + 'example' => 'd14e*********fef8de29fd', + ], + 'CubeName' => [ + 'type' => 'string', + 'description' => 'The dataset name.', + 'title' => '', + 'example' => 'test', + ], + 'CreatorName' => [ + 'type' => 'string', + 'description' => 'The name of the creator.', + 'title' => '', + 'example' => 'system', + ], + 'Size' => [ + 'type' => 'string', + 'description' => 'The size.', + 'title' => '', + 'example' => '47045632', + ], + 'LastModifyTime' => [ + 'type' => 'string', + 'description' => 'The time when the task was last modified.', + 'title' => '', + 'example' => '20250911 00:00:00', + ], + 'EnableQuickindexTime' => [ + 'type' => 'string', + 'description' => 'The time when acceleration was enabled.', + 'title' => '', + 'example' => '20250911 00:00:00', + ], + 'JobId' => [ + 'type' => 'string', + 'description' => 'The acceleration task ID.', + 'title' => '', + 'example' => 'b30b74**********b3b', + ], + 'JobStatus' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'- 0: Pending'."\n" + ."\n" + .'- 1: Running'."\n" + ."\n" + .'- 2: Succeeded'."\n" + ."\n" + .'- 3: Failed'."\n" + ."\n" + .'- 4: Canceled'."\n" + ."\n" + .'- 5: Warning', + 'title' => '', + 'example' => '0', + ], + 'JobHistoryId' => [ + 'type' => 'string', + 'description' => 'The task history ID.', + 'title' => '', + 'example' => 'QWDAASG*******8SAD', + ], + ], + 'description' => 'An array of acceleration task information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'An array of acceleration task information.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The acceleration task model.', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'title' => '', + 'example' => 'true', + ], + ], + 'title' => '', + 'description' => 'The schema of the response.', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'ListAccelerationOfWorkspace', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E****************05DF8D885\\",\\n \\"Result\\": {\\n \\"TotalPages\\": 1,\\n \\"TotalNum\\": 18,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Pre\\": 0,\\n \\"Next\\": 0,\\n \\"Data\\": [\\n {\\n \\"CubeId\\": \\"d14e*********fef8de29fd\\",\\n \\"CubeName\\": \\"test\\",\\n \\"CreatorName\\": \\"system\\",\\n \\"Size\\": \\"47045632\\",\\n \\"LastModifyTime\\": \\"20250911 00:00:00\\",\\n \\"EnableQuickindexTime\\": \\"20250911 00:00:00\\",\\n \\"JobId\\": \\"b30b74**********b3b\\",\\n \\"JobStatus\\": 0,\\n \\"JobHistoryId\\": \\"QWDAASG*******8SAD\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListApiDatasource' => [ + 'summary' => 'Queries API data sources.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The workspace ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '89713491-cb4f-4579-b889-e82c35f1****', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Current page number for API data source list:'."\n" + ."\n" + .'* Pages start from page 1.'."\n" + .'* Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of rows per page in a paged query.'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Valid values: 1 to 100.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'title' => '', + ], + ], + [ + 'name' => 'KeyWord', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword of the API data source name.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The information returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The query results are returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The list of API data sources that were queried.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ApiId' => [ + 'description' => 'The ID of the API data source.'."\n", + 'type' => 'string', + 'example' => '0f2c3c6409be4dc0810f2a5785e816a8', + 'title' => '', + ], + 'Body' => [ + 'description' => 'The parameter configuration of the query statement in JSON format. You can customize the parameter configuration.'."\n", + 'type' => 'string', + 'example' => '{"key1":"value1"}', + 'title' => '', + ], + 'DataSize' => [ + 'description' => 'The data volume of the API data source.'."\n" + ."\n" + .'* Unit: Kbit/s'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.39746094', + 'title' => '', + ], + 'DateUpdateTime' => [ + 'description' => 'The last synchronization time of the API data source.'."\n", + 'type' => 'string', + 'example' => '2022-05-25 16:19:43', + 'title' => '', + ], + 'GmtCreate' => [ + 'description' => 'The time when the quota plan was created.'."\n", + 'type' => 'string', + 'example' => '2022-05-25 16:19:43', + 'title' => '', + ], + 'GmtModified' => [ + 'description' => 'The time when the optimization job was modified.'."\n", + 'type' => 'string', + 'example' => '2022-05-25 16:19:43', + 'title' => '', + ], + 'JobId' => [ + 'description' => 'The job ID.'."\n", + 'type' => 'string', + 'example' => 'REST_API_SYNC_0f2c3c6409be4dc0810f2a5785e816a8', + 'title' => '', + ], + 'Parameters' => [ + 'description' => 'The parameter configurations in the JSONArray format.'."\n" + ."\n" + .'* name: parameter name'."\n" + .'* value: the parameter value'."\n", + 'type' => 'string', + 'example' => '[{"name":"token","value":"xxxxxxxxxxxx"},{"name":"pageSize","value":100}]', + 'title' => '', + ], + 'ShowName' => [ + 'description' => 'The name of the API data source.'."\n", + 'type' => 'string', + 'example' => '测试数据源', + 'title' => '', + ], + 'StatusType' => [ + 'description' => 'The status of the API data source synchronization task.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* 0: the to be run.'."\n" + .'* 1: The is running.'."\n" + .'* 2: The is successfully.'."\n" + .'* 3: failed.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + '', + '', + '', + '', + ], + 'example' => '2', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'The page number.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'The number of rows per page set when the interface is requested.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'The total number of rows.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"ApiId\\": \\"0f2c3c6409be4dc0810f2a5785e816a8\\",\\n \\"Body\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\"}\\",\\n \\"DataSize\\": 0.39746094,\\n \\"DateUpdateTime\\": \\"2022-05-25 16:19:43\\",\\n \\"GmtCreate\\": \\"2022-05-25 16:19:43\\",\\n \\"GmtModified\\": \\"2022-05-25 16:19:43\\",\\n \\"JobId\\": \\"REST_API_SYNC_0f2c3c6409be4dc0810f2a5785e816a8\\",\\n \\"Parameters\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"token\\\\\\",\\\\\\"value\\\\\\":\\\\\\"xxxxxxxxxxxx\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"pageSize\\\\\\",\\\\\\"value\\\\\\":100}]\\",\\n \\"ShowName\\": \\"测试数据源\\",\\n \\"StatusType\\": 2\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListApiDatasource', + 'description' => 'For more information about the parameters, see [Create an API data source](~~409330~~).'."\n", + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListApiDatasource', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListApiDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListByUserGroupId' => [ + 'summary' => 'Queries user group information at a time by user group ID.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user group that you want to query. Separate multiple user groups with commas (,).'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '34fe-***-6dcb,84q9-****-4a274', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The user group query result is returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'FailedUserGroupIds' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'Query the failed user group ID.', + 'type' => 'string', + 'example' => '[]', + 'title' => '', + ], + 'description' => 'List of failed user groups.', + 'title' => '', + 'example' => '', + ], + 'UserGroupModels' => [ + 'description' => 'The details of the user group that was queried.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => 'The time when the Secret was created.'."\n", + 'type' => 'string', + 'example' => '2021-03-15 17:13:55', + 'title' => '', + ], + 'CreateUser' => [ + 'description' => 'The UserID of the creator in the Quick BI.'."\n", + 'type' => 'string', + 'example' => '46e5*******ee22e2a292704c8', + 'title' => '', + ], + 'IdentifiedPath' => [ + 'description' => 'The path of the user group.'."\n", + 'type' => 'string', + 'example' => '2fe4fbd8-****-af083ea/34fd1-****-dcbc33f', + 'title' => '', + ], + 'ModifiedTime' => [ + 'description' => 'The time when the protection policy was last modified.'."\n", + 'type' => 'string', + 'example' => '2021-03-15 20:36:40', + 'title' => '', + ], + 'ModifyUser' => [ + 'description' => 'The UserID of the modifier in the Quick BI.'."\n", + 'type' => 'string', + 'example' => '46e5*******ee22e2a292704c8', + 'title' => '', + ], + 'ParentUsergroupId' => [ + 'description' => 'The ID of the parent user group.'."\n", + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af083ea', + 'title' => '', + ], + 'UsergroupDesc' => [ + 'description' => 'The description of the user group.'."\n", + 'type' => 'string', + 'example' => '描述信息', + 'title' => '', + ], + 'UsergroupId' => [ + 'description' => 'The ID of the user group.'."\n", + 'type' => 'string', + 'example' => '34fd141d-****-4093-8c33-8e066dcbc33f', + 'title' => '', + ], + 'UsergroupName' => [ + 'description' => 'The name of the user group.'."\n", + 'type' => 'string', + 'example' => '测试用户组', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => 'The user group does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": {\\n \\"FailedUserGroupIds\\": [\\n \\"[]\\"\\n ],\\n \\"UserGroupModels\\": [\\n {\\n \\"CreateTime\\": \\"2021-03-15 17:13:55\\",\\n \\"CreateUser\\": \\"46e5*******ee22e2a292704c8\\",\\n \\"IdentifiedPath\\": \\"2fe4fbd8-****-af083ea/34fd1-****-dcbc33f\\",\\n \\"ModifiedTime\\": \\"2021-03-15 20:36:40\\",\\n \\"ModifyUser\\": \\"46e5*******ee22e2a292704c8\\",\\n \\"ParentUsergroupId\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af083ea\\",\\n \\"UsergroupDesc\\": \\"描述信息\\",\\n \\"UsergroupId\\": \\"34fd141d-****-4093-8c33-8e066dcbc33f\\",\\n \\"UsergroupName\\": \\"测试用户组\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListByUserGroupIdResponse>\\n <Success>true</Success>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>\\n <UserGroupModels>\\n <IdentifiedPath>2fe4fbd8-****-af083ea/34fd1-****-dcbc33f</IdentifiedPath>\\n <ParentUsergroupId>2fe4fbd8-588f-489a-b3e1-e92c7af083ea</ParentUsergroupId>\\n <ModifiedTime>2021-03-15 20:36:40</ModifiedTime>\\n <CreateUser>46e5*******ee22e2a292704c8</CreateUser>\\n <UsergroupName>测试用户组</UsergroupName>\\n <CreateTime>2021-03-15 17:13:55</CreateTime>\\n <UsergroupDesc>描述信息</UsergroupDesc>\\n <UsergroupId>34fd141d-****-4093-8c33-8e066dcbc33f</UsergroupId>\\n <ModifyUser>46e5*******ee22e2a292704c8</ModifyUser>\\n </UserGroupModels>\\n <FailedUserGroupIds>[]</FailedUserGroupIds>\\n </Result>\\n</ListByUserGroupIdResponse>","errorExample":""}]', + 'title' => 'ListByUserGroupId', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListByUserGroupId', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListByUserGroupId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListCollections' => [ + 'summary' => 'Retrieve the list of works that a user has favorited.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID. This refers to the UserID in Quick BI, not the Alibaba Cloud UID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'The primary key ID of the favorite record.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '162A632E-0A88-51CF-98F8-94FDEE82DB7D', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Details of the list of reports favored by the user.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FavoriteId' => [ + 'description' => 'The primary key ID of the favorite record.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12373', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'The user ID of the work owner. This refers to the UserID in Quick BI, not the Alibaba Cloud UID.', + 'type' => 'string', + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + 'WorksId' => [ + 'description' => 'The ID of the work.', + 'type' => 'string', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + 'WorksName' => [ + 'description' => 'The name of the work.', + 'type' => 'string', + 'example' => '奇异博士', + 'title' => '', + ], + 'WorksType' => [ + 'description' => 'The type of the work. Possible values:'."\n" + ."\n" + .'- DATAPRODUCT: Data Portal'."\n" + .'- PAGE: Dashboard'."\n" + .'- REPORT: Spreadsheet'."\n" + .'- dataForm: Data Entry Form'."\n" + .'- dashboardOfflineQuery: Self-service Data Extraction', + 'type' => 'string', + 'example' => 'dashboardOfflineQuery', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'example' => '9337d121-a78f-4c1b-a8bc-f81de117****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'Workspace Name.', + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"162A632E-0A88-51CF-98F8-94FDEE82DB7D\\",\\n \\"Result\\": [\\n {\\n \\"FavoriteId\\": 12373,\\n \\"OwnerId\\": \\"fe67f61a35a94b7da1a34ba174a7****\\",\\n \\"WorksId\\": \\"95296e95-ca89-4c7d-8af9-dedf0ad0****\\",\\n \\"WorksName\\": \\"奇异博士\\",\\n \\"WorksType\\": \\"dashboardOfflineQuery\\",\\n \\"WorkspaceId\\": \\"9337d121-a78f-4c1b-a8bc-f81de117****\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListCollectionsResponse>\\n <Success>true</Success>\\n <RequestId>162A632E-0A88-51CF-98F8-94FDEE82DB7D</RequestId>\\n <Result>\\n <WorkspaceId>9337d121-a78f-4c1b-a8bc-f81de117****</WorkspaceId>\\n <WorksType>dashboardOfflineQuery</WorksType>\\n <FavoriteId>12373</FavoriteId>\\n <WorksId>95296e95-ca89-4c7d-8af9-dedf0ad0****</WorksId>\\n <WorksName>奇异博士</WorksName>\\n <WorkspaceName>测试工作空间</WorkspaceName>\\n <OwnerId>fe67f61a35a94b7da1a34ba174a7****</OwnerId>\\n </Result>\\n</ListCollectionsResponse>","errorExample":""}]', + 'title' => 'ListCollections', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListCollections', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'ListCubeDataLevelPermissionConfig' => [ + 'summary' => 'You can this operation to obtain a list of row and column permission configurations for a specified dataset.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the training dataset that you want to remove from the specified custom linguistic model.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the dataset row and column permission. Valid values:'."\n" + ."\n" + .'* ROW_LEVEL: row-level permissions'."\n" + .'* COLUMN_LEVEL: column-level permissions'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ROW_LEVEL', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => '{ "isOpen": 1, "extraConfigModel": { // Additional configuration information "ruleType": "ROW_LEVEL", // The row-level permission type. "missHitPolicy": "NONE", // The hit rule policy: NONE has no permissions, and ALL has permissions. "cubeId": "7c7223 ae-31d1-4d2f-b11f-3c744528014b" // The ID of the dataset. }, "ruleType": "ROW_LEVEL", // Row-column permission type\\'."\n" + .'"ruleModels": \\[ { "ruleUsersModel": { // The target population. "userGroups": \\[ "0d5fb19b- ****-1248 fc27ca51", // The ID of the user group. "4aa3f089-****-85f0-0e8ac7c2dee9" ], "users": \\[ "HuangJia ***2e3fa822", // The ID of the user. "4334***84358" ] }, "ruleContentModel": { "ruleContentType": "ROW_FIELD", // The row-column permission type. "ruleContentJson": "{"conditionNode":{"caption": " Period ","isMeasure":false,"pathId":"7d3b073bc6","relationOperator":"not-null","name":"7d3b073bc6","value":{"value":\\[""}UM]," ENueType "} // The JSON string of the row-column permission rule. "ruleOriginConfigJson": "{"operator":"and","operands":\\[{"labelName": " Period ","isValid":true,"uniqueId":"5","fieldId":"7d3b073bc6","error":false,"fieldType":"string",": default "" value":{"conditionOp":"not-null","conditionValue":""},"valueType":"ENUM"}}],"isRelation":true}" }, // The fixed-format JSON string required by the frontend "isOpen": 1, // The status of the row-column permission configuration. 1. On. 0. Off. "hitTakeEffect": 1, // Specifies whether the rule takes effect after a column-level permission is hit. 1 takes effect and 0 takes effect. "ruleName": "Test row-level permission_Do not delete", // The name of the row-column permission rule. "ruleLevelType": "ROW_LEVEL", // The row-column permission type. "ruleId": "a5bb24 da-772f-45e8-a43c-a891683e14da", // The ID of the row-column permission rule. "cubeId": "7c7223 ae-31d1-4d2f-b11f-3c744528014b", // The ID of the dataset. "ruleTargetScope": "OTHERS" rule takes effect: ALL owner and OTHERS designated owner. } ], "cubeId": "7c7223 ae-31d1-4d2f-b11f-3c744528014b" // The ID of the dataset. }'."\n", + 'type' => 'string', + 'example' => '行列权限列表的JSON串,详情见描述。', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": \\"行列权限列表的JSON串,详情见描述。\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListCubeDataLevelPermissionConfig', + 'description' => '> : You can only Quick BI the new row-column permission model. If you are still using the old row-column permission model, migrate to the new row-column permission model before you call this operation. To migrate row-level permissions to the new row-level permission model, perform the following steps: Choose Organizations> Security Configurations> Upgrade Row-Level Permissions. On the Upgrade Row-Level Permissions page, click **Upgrade**.'."\n", + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListCubeDataLevelPermissionConfig', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListCubeDataLevelPermissionConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListDataLevelPermissionWhiteList' => [ + 'summary' => 'Retrieve the whitelist for dataset row and column permissions based on the type of permission.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Dataset ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3d5db23c-e4f2-49dd-a883-92285b48e14a', + 'title' => '', + ], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Type of row and column permission that the whitelist belongs to:'."\n" + ."\n" + .'- ROW_LEVEL: Row-level permission'."\n" + .'- COLUMN_LEVEL: Column-level permission', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ROW_LEVEL', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Whitelist for the specified row-level permission type.', + 'type' => 'object', + 'properties' => [ + 'CubeId' => [ + 'description' => 'Dataset ID.', + 'type' => 'string', + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + 'RuleType' => [ + 'description' => 'Type of dataset row and column permissions. Possible values:'."\n" + ."\n" + .'- ROW_LEVEL: Row-level permission'."\n" + .'- COLUMN_LEVEL: Column-level permission', + 'type' => 'string', + 'example' => 'ROW_LEVEL', + 'title' => '', + ], + 'UsersModel' => [ + 'description' => 'Whitelist information.', + 'type' => 'object', + 'properties' => [ + 'UserGroups' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'User group ID.', + 'type' => 'string', + 'example' => '0d5fb19b-***-1248fc27ca51', + 'title' => '', + ], + 'description' => 'UserGroups.', + 'title' => '', + 'example' => '', + ], + 'Users' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'UserID of Quick BI users.', + 'type' => 'string', + 'example' => '4334***358', + 'title' => '', + ], + 'description' => 'Users.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => '', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => '', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => '', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": {\\n \\"CubeId\\": \\"7c7223ae-****-3c744528014b\\",\\n \\"RuleType\\": \\"ROW_LEVEL\\",\\n \\"UsersModel\\": {\\n \\"UserGroups\\": [\\n \\"0d5fb19b-***-1248fc27ca51\\"\\n ],\\n \\"Users\\": [\\n \\"4334***358\\"\\n ]\\n }\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListDataLevelPermissionWhiteListResponse>\\n <Success>true</Success>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>\\n <CubeId>7c7223ae-****-3c744528014b</CubeId>\\n <RuleType>ROW_LEVEL</RuleType>\\n <UsersModel>\\n <UserGroups>0d5fb19b-***-1248fc27ca51</UserGroups>\\n <Users>4334***358</Users>\\n </UsersModel>\\n </Result>\\n</ListDataLevelPermissionWhiteListResponse>","errorExample":""}]', + 'title' => 'Get Dataset Row and Column Permission Whitelist', + 'description' => '> This API only supports the new row and column permission model of Quick BI. If you are still using the old row and column permissions, please migrate to the new row and column permission model before calling this interface. To migrate to the new row and column permission model, follow these steps: In Organization Management -> Security Configuration -> Upgrade Row and Column Permissions, click **One-Click Upgrade** to upgrade to the new row-level permissions.', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListDataLevelPermissionWhiteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListDataSource' => [ + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'title' => '工作空间ID', + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => '95296e95-******c7d-8af9-dedf0ad0****', + ], + ], + [ + 'name' => 'DsType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Data source type.', + 'type' => 'string', + 'required' => false, + 'example' => 'mysql', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '7FC9A6A6-****-5CED-B*****E891E4075', + ], + 'Result' => [ + 'title' => '数据源信息数组', + 'description' => 'Array of data source information.', + 'type' => 'array', + 'items' => [ + 'title' => '数据源信息', + 'description' => 'Data source information.', + 'type' => 'object', + 'properties' => [ + 'CreatorId' => [ + 'title' => '创建人的Quick BI用户ID。', + 'description' => 'Quick BI user ID of the creator.', + 'type' => 'string', + 'example' => '281*****-485******-8', + ], + 'CreatorName' => [ + 'title' => '所有者昵称', + 'description' => 'Owner\'s nickname.', + 'type' => 'string', + 'example' => 'system', + ], + 'DatasourceId' => [ + 'title' => '数据源的id', + 'description' => 'Data source ID.', + 'type' => 'string', + 'example' => '7FC9A6A6-****-5CED-B*****E891E4075', + ], + 'GmtCreate' => [ + 'title' => '数据源创建时间,yyyy-MM-dd HH:mm:ss', + 'description' => 'Creation time of the data source, in yyyy-MM-dd HH:mm:ss format.', + 'type' => 'string', + 'example' => '2024-04-16 13:17:39', + ], + 'GmtModified' => [ + 'title' => '修改时间', + 'description' => 'Modification time.', + 'type' => 'string', + 'example' => '2024-08-15 10:06:31', + ], + 'ShowName' => [ + 'title' => '数据源展示名称', + 'description' => 'Display name of the data source.', + 'type' => 'string', + 'example' => '0327', + ], + 'DsType' => [ + 'title' => '数据源类型', + 'description' => 'Data source type.', + 'type' => 'string', + 'example' => 'odps', + ], + 'ParentDsType' => [ + 'title' => '多引擎数据源的主数据源类型', + 'description' => 'Primary data source type for multi-engine data sources.', + 'type' => 'string', + 'example' => 'dataphin', + ], + ], + 'example' => '', + ], + 'example' => '', + ], + 'Success' => [ + 'title' => '请求是否成功', + 'description' => 'Whether the request was successful.', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Operation.LackRole', + 'errorMessage' => 'Only the %s role can perform this operation. Contact the administrator to add this role.', + 'description' => '', + ], + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Param.Error', + 'errorMessage' => 'The parameter is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter', + 'errorMessage' => 'An error occurred while verifying parameters.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Parameter.Length.Exceed', + 'errorMessage' => 'Parameter length exceeds maximum limit: [%s].', + 'description' => '', + ], + [ + 'errorCode' => 'Parameter.Error', + 'errorMessage' => 'The input parameter is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.User.Admin', + 'errorMessage' => 'You are not an administrator of this organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Organization', + 'errorMessage' => 'The specified organizational unit does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => '', + ], + [ + 'errorCode' => 'System.Param.Empty', + 'errorMessage' => 'You must specify the %s parameter.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not in this workspace.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'ListDataSource', + 'summary' => 'Query all data sources under the specified space', + 'requestParamsDescription' => 'Data source type codes: '."\n" + .'- garuda -- garuda data source '."\n" + .'- adb -- ADB 3.0 '."\n" + .'- oracle -- Oracle data source '."\n" + .'- mysql -- MySQL data source '."\n" + .'- mysql_hybrid -- HybridDB for MySQL data source '."\n" + .'- odps -- ODPS data source '."\n" + .'- sqlserver -- SQL Server data source '."\n" + .'- greenplum -- Greenplum data source '."\n" + .'- postgresql -- PostgreSQL data source '."\n" + .'- ppas -- RDS PPAS data source '."\n" + .'- oscar -- Shentong data source '."\n" + .'- hive -- Hive data source '."\n" + .'- vertica -- Vertica data source '."\n" + .'- db2 -- IBM DB2 data source (LUW) '."\n" + .'- sybase -- SAP SYBASE IQ data source '."\n" + .'- hana -- SAP HANA data source '."\n" + .'- dla -- DataLake Analytics data source '."\n" + .'- oss -- OSS data source '."\n" + .'- drds -- DRDS data source '."\n" + .'- clivia -- super-engine '."\n" + .'- presto -- Presto data source '."\n" + .'- polardb -- PolarDB data source '."\n" + .'- tsdb -- TSDB data source '."\n" + .'- lindorm_tsdb -- LindormTSDB data source '."\n" + .'- lindorm_wide_table_engine -- Lindorm wide table engine data source '."\n" + .'- lindorm_multi_mode -- Lindorm multi-mode SQL data source '."\n" + .'- hbase -- HBase data source '."\n" + .'- phoenix_thin -- PHOENIX THIN data source '."\n" + .'- dataphin -- DataPhin data source multi-engine '."\n" + .'- dataphin_odps -- DataPhin data source ODPS engine'."\n" + .' - dataphin_hive -- DataPhin data source Hive engine '."\n" + .'- dataphin_v2_odps -- New DataPhin data source ODPS engine '."\n" + .'- dataphin_v2_hive -- New DataPhin data source Hive engine '."\n" + .'- kbase -- KingBase data source '."\n" + .'- clickhouse -- ClickHouse data source '."\n" + .'- tdsql -- TDSQL-H data source '."\n" + .'- gbase -- Gbase data source '."\n" + .'- polardb_pg -- Polardb for PG data source '."\n" + .'- hologres -- Hologres data source '."\n" + .'- impala -- Impala data source '."\n" + .'- impala_v3 -- Impala 3.x data source '."\n" + .'- dingtalk -- DingTalk smart report data source '."\n" + .'- snowflake -- Snowflake data source '."\n" + .'- kylin -- Kylin data source '."\n" + .'- multiDatasource -- Cross-source '."\n" + .'- oceanbase_mysql -- OceanBase MySQL mode data source '."\n" + .'- oceanbase_oracle -- OceanBase Oracle mode data source '."\n" + .'- spark_sql -- Spark SQL data source '."\n" + .'- starrocks -- StarRocks data source '."\n" + .'- apache_doris -- Apache Doris data source '."\n" + .'- selectdb -- SelectDB data source '."\n" + .'- mongodb -- MongoDB data source '."\n" + .'- dm -- DM7 data source '."\n" + .'- Dameng - unicorn -- Unicorn data source '."\n" + .'- sls -- SLS data source '."\n" + .'- gaussdb_dws -- GaussDB DWS data source '."\n" + .'- gaussdb -- GaussDB data source '."\n" + .'- elasticsearch -- Elasticsearch '."\n" + .'- dms -- DMS logical data warehouse'."\n" + .' - yida -- Yida application data source '."\n" + .'- relyt -- Relyt '."\n" + .'- Lark_bitable -- Lark bitable '."\n" + .'- Lark_spreadsheet -- Lark spreadsheet '."\n" + .'- tidb -- TiDB data source '."\n" + .'- mariadb -- MariaDB data source '."\n" + .'- adb_spark -- ADB data source Spark engine', + 'changeSet' => [ + [ + 'createdAt' => '2025-08-11T03:10:11.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListDataSource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FC9A6A6-****-5CED-B*****E891E4075\\",\\n \\"Result\\": [\\n {\\n \\"CreatorId\\": \\"281*****-485******-8\\",\\n \\"CreatorName\\": \\"system\\",\\n \\"DatasourceId\\": \\"7FC9A6A6-****-5CED-B*****E891E4075\\",\\n \\"GmtCreate\\": \\"2024-04-16 13:17:39\\",\\n \\"GmtModified\\": \\"2024-08-15 10:06:31\\",\\n \\"ShowName\\": \\"0327\\",\\n \\"DsType\\": \\"odps\\",\\n \\"ParentDsType\\": \\"dataphin\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'ListFavoriteReports' => [ + 'summary' => 'Overview', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The UserID of the user in Quick BI to be queried.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'b5d8fd9348cc4327****afb604', + 'title' => '', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword of the work name.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '财务报表', + 'title' => '', + ], + ], + [ + 'name' => 'TreeType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Type of the work to be queried (leave blank to query all types). Value range:'."\n" + .'- DATAPRODUCT: Data Portal'."\n" + .'- PAGE: Dashboard'."\n" + .'- REPORT: Spreadsheet', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'PAGE', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of rows in the work list to be queried:'."\n" + .'Default value: 10'."\n" + .'Maximum value: 9999', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the query result.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'List of works queried.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Favorite' => [ + 'description' => 'Indicates whether the user has favorited the work.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'FavoriteDate' => [ + 'description' => 'The timestamp when the work was favorited.', + 'type' => 'string', + 'example' => '1640088615000', + 'title' => '', + ], + 'GmtCreate' => [ + 'description' => 'Timestamp of the work creation.', + 'type' => 'string', + 'example' => '1640088615000', + 'title' => '', + ], + 'GmtModified' => [ + 'description' => 'Timestamp of the work modification.', + 'type' => 'string', + 'example' => '1640595729000', + 'title' => '', + ], + 'HasEditAuth' => [ + 'description' => 'Indicates whether the user has edit permission for the work.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'HasViewAuth' => [ + 'description' => 'Check if the user has the permission to view the work.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Name' => [ + 'description' => 'Name of the work.', + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'Alibaba Cloud account name of the work owner.', + 'type' => 'string', + 'example' => 'luyaotest的昵称非管理员', + 'title' => '', + ], + 'OwnerNum' => [ + 'description' => 'UserID of the work owner.', + 'type' => 'string', + 'example' => '1365*****238860', + 'title' => '', + ], + 'PublishStatus' => [ + 'description' => 'Publication status of the work. Value range:'."\n" + .'- 0: Not published'."\n" + .'- 1: Published'."\n" + .'- 2: Saved with modifications, not published'."\n" + .'- 3: Offline', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TreeId' => [ + 'description' => 'Work ID.', + 'type' => 'string', + 'example' => '977c7698-****-****-****-44b7304d20fc', + 'title' => '', + ], + 'Type' => [ + 'description' => 'Type of the work. Value range:'."\n" + .'- DATAPRODUCT: Data Portal'."\n" + .'- PAGE: Dashboard'."\n" + .'- REPORT: Spreadsheet', + 'type' => 'string', + 'example' => 'PAGE', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.', + 'type' => 'string', + 'example' => '523793cb-****-****-****-aa71c65ffa39', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the work belongs.', + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'Page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'Number of rows per page set when requesting the interface.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'Total number of rows.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'Total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"Favorite\\": true,\\n \\"FavoriteDate\\": \\"1640088615000\\",\\n \\"GmtCreate\\": \\"1640088615000\\",\\n \\"GmtModified\\": \\"1640595729000\\",\\n \\"HasEditAuth\\": true,\\n \\"HasViewAuth\\": true,\\n \\"Name\\": \\"测试报表\\",\\n \\"OwnerName\\": \\"luyaotest的昵称非管理员\\",\\n \\"OwnerNum\\": \\"1365*****238860\\",\\n \\"PublishStatus\\": 1,\\n \\"TreeId\\": \\"977c7698-****-****-****-44b7304d20fc\\",\\n \\"Type\\": \\"PAGE\\",\\n \\"WorkspaceId\\": \\"523793cb-****-****-****-aa71c65ffa39\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListFavoriteReportsResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <TotalNum>1</TotalNum>\\n <TotalPages>1</TotalPages>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <Data>\\n <TreeId>977c7698-****-****-****-44b7304d20fc</TreeId>\\n <Type>PAGE</Type>\\n <Name>测试报表</Name>\\n <OwnerNum>1365*****238860</OwnerNum>\\n <OwnerName>luyaotest的昵称非管理员</OwnerName>\\n <GmtCreate>1640088615000</GmtCreate>\\n <GmtModified>1640595729000</GmtModified>\\n <PublishStatus>1</PublishStatus>\\n <Favorite>true</Favorite>\\n <HasViewAuth>true</HasViewAuth>\\n <HasEditAuth>true</HasEditAuth>\\n <WorkspaceId>523793cb-****-****-****-aa71c65ffa39</WorkspaceId>\\n <WorkspaceName>测试工作空间</WorkspaceName>\\n </Data>\\n </Result>\\n <Success>true</Success>\\n</ListFavoriteReportsResponse>","errorExample":""}]', + 'title' => 'Favorite Reports List on Home Dashboard', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListFavoriteReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'ListOrganizationRoleUsers' => [ + 'summary' => 'Get user list under the specified organization role.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Organization role ID, including predefined roles and custom roles:'."\n" + ."\n" + .'- Organization Administrator (predefined role): 111111111'."\n" + .'- Permission Administrator (predefined role): 111111112'."\n" + .'- Regular User (predefined role): 111111113'."\n" + .'- Custom Role: The corresponding role ID for a custom role', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '111111111', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Page number.'."\n" + ."\n" + .'- Default value is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of items per page.'."\n" + .'- Default value is 10.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'title' => '', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword for the nickname of the organization member.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '小刘', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the list of users under the organization role.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'User list.', + 'type' => 'array', + 'items' => [ + 'description' => 'User details.', + 'type' => 'object', + 'properties' => [ + 'NickName' => [ + 'description' => 'Nickname of the organization member.', + 'type' => 'string', + 'example' => '测试用户', + 'title' => '', + ], + 'UserId' => [ + 'description' => 'UserID of the organization member in Quick BI.', + 'type' => 'string', + 'example' => 'b5d8fd9348cc4327****afb604', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'Page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'Number of items per page as set in the request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'Total number of items.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'Total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'User.Role.NotExist', + 'errorMessage' => 'User role not exist: %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCE45E6D-9304-4F94-86BB-5A772B1615FF\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"NickName\\": \\"测试用户\\",\\n \\"UserId\\": \\"b5d8fd9348cc4327****afb604\\"\\n }\\n ],\\n \\"PageNum\\": 10,\\n \\"PageSize\\": 1,\\n \\"TotalNum\\": 10,\\n \\"TotalPages\\": 1\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListOrganizationRoleUsers', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListOrganizationRoleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListOrganizationRoles' => [ + 'summary' => 'Retrieve the list of custom roles at the organization level.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the list of organization roles.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details of role configuration.', + 'type' => 'object', + 'properties' => [ + 'AuthConfigList' => [ + 'description' => 'List of role permission configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'Specific permission configuration.', + 'type' => 'object', + 'properties' => [ + 'AuthKey' => [ + 'description' => 'Permission type:'."\n" + .'- quick_monitor: Metric monitoring'."\n" + .'- subscription: Subscription management'."\n" + .'- offline_download: Self-service data retrieval'."\n" + .'- resource_package: Resource package management'."\n" + .'- organization_ask: Organization identification code (AK/SK)'."\n" + .'- developer_openapi: OpenAPI'."\n" + .'- data_service: Data service'."\n" + .'- admin_authorize3rd: Embedded analysis'."\n" + .'- component_manage: Custom component'."\n" + .'- template_open: Custom template'."\n" + .'- custom_driver: Custom driver (supported only in standalone deployment)'."\n" + .'- open_platform_custom_plugin: Custom plugin (supported only in standalone deployment)'."\n" + .'- enterprise_safety: Enterprise security', + 'type' => 'string', + 'example' => 'enterprise_safety', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'IsSystemRole' => [ + 'description' => 'Whether it is a predefined role. Possible values:'."\n" + .'- true: Yes'."\n" + .'- false: No', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RoleId' => [ + 'description' => 'Role ID.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '111111111', + 'title' => '', + ], + 'RoleName' => [ + 'description' => 'Role name.', + 'type' => 'string', + 'example' => '组织管理员', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7AAB95D7-2E11-4FE2-94BC-858E4FC0C976\\",\\n \\"Result\\": [\\n {\\n \\"AuthConfigList\\": [\\n {\\n \\"AuthKey\\": \\"enterprise_safety\\"\\n }\\n ],\\n \\"IsSystemRole\\": true,\\n \\"RoleId\\": 111111111,\\n \\"RoleName\\": \\"组织管理员\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Get Organization Role List', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListOrganizationRoles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'ListPortalMenuAuthorization' => [ + 'summary' => 'Retrieves a list of authorization details for the menus in a BI portal.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DataPortalId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the BI portal.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '0d173abb53e84c8ca7495429163b****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'description' => 'A list of authorization details for the BI portal menus.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MenuId' => [ + 'description' => 'The ID of the leaf-node menu in the BI portal.', + 'type' => 'string', + 'title' => '', + 'example' => '54kqgoa****', + ], + 'Receivers' => [ + 'description' => 'The details of the authorization objects for the menu.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ReceiverId' => [ + 'description' => 'The ID of the authorization object.'."\n" + ."\n" + .'> - If the authorization object is an organization, this ID is the organization ID.'."\n" + .'>'."\n" + .'> - If the authorization object is a workspace, this ID is the workspace ID.', + 'type' => 'string', + 'title' => '', + 'example' => '121344444790****', + ], + 'ReceiverType' => [ + 'description' => 'The type of the authorization object. Valid values:'."\n" + ."\n" + .'- 0: User'."\n" + ."\n" + .'- 1: User group'."\n" + ."\n" + .'- 2: Organization'."\n" + ."\n" + .'- 3: Workspace', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '0', + ], + 'AuthPointsValue' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'description' => 'The authorization type for the menu. Valid values:'."\n" + ."\n" + .'- 1: View'."\n" + ."\n" + .'- 11: Edit'."\n" + ."\n" + .'- 3: Export and view'."\n" + ."\n" + .'- 10: Manage data entry', + 'title' => '', + 'example' => '1', + ], + ], + 'description' => 'The details of the authorization objects for the menu.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ShowOnlyWithAccess' => [ + 'description' => 'Indicates whether the menu is visible only to authorized users. Valid values:'."\n" + ."\n" + .'- true: The menu is visible only to authorized users.'."\n" + ."\n" + .'- false: The menu is visible to all users.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => 'A list of authorization details for the portal menus.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": [\\n {\\n \\"MenuId\\": \\"54kqgoa****\\",\\n \\"Receivers\\": [\\n {\\n \\"ReceiverId\\": \\"121344444790****\\",\\n \\"ReceiverType\\": 0,\\n \\"AuthPointsValue\\": 1\\n }\\n ],\\n \\"ShowOnlyWithAccess\\": true\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListPortalMenuAuthorization', + 'changeSet' => [ + [ + 'createdAt' => '2025-08-11T03:10:11.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListPortalMenuAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListPortalMenuAuthorization', + ], + ], + ], + ], + 'ListPortalMenus' => [ + 'summary' => 'Gets a hierarchical list of menus under a specific BI portal.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DataPortalId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the BI portal.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0d173abb53e84c8ca7495429163b****', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID in the Quick BI. When passed in, the list displays only the menus that the user has permissions on.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1234567***', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '75912036-5527-4B7E-9265-B481D6651AC2', + 'title' => '', + ], + 'Result' => [ + 'description' => 'A JSON string that levels the details of the portal menu list. Valid values:'."\n" + ."\n" + .'* menuType: the type of the menu.'."\n" + ."\n" + .' * 0: dashboard'."\n" + .' * 1: outer chain'."\n" + .' * 2: workbook'."\n" + .' * 4: directory folder'."\n" + .' * 5: form filling'."\n" + .' * 6: self-service data retrieval'."\n" + ."\n" + .'* menuId: menu ID'."\n" + ."\n" + .'* uri: ID or URL of the resource associated with the menu'."\n" + ."\n" + .'* showOnlyWithAccess: Authorized Only Visible'."\n" + ."\n" + .'* menuName: menu display name'."\n" + ."\n" + .'* dependentPermisson: whether the report resource associated with the menu has permissions'."\n" + ."\n" + .'* children: submenu'."\n", + 'type' => 'string', + 'example' => '[{"children":[{"children":[{"children":[{"menuId":"54kqgoa****","menuName":"报表菜单","menuType":0,"showOnlyWithAccess":true,"dependentPermisson":false,"uri":"e5da4a3f-d7f9-4262-a39e-a840043c****"},{"menuId":"pg1n135****","menuName":"目录菜单","menuType":4,"showOnlyWithAccess":false,"dependentPermisson":true}],"menuId":"23a7d5d8-e55a-4737-b6a1-3c585505****","menuName":"pop三级菜单","menuType":4,"showOnlyWithAccess":true,"dependentPermisson":true}],"menuId":"80764f3c-affd-45a1-aaa1-bb039d8a****","menuName":"pop二级菜单","menuType":4,"showOnlyWithAccess":false,"dependentPermisson":true}],"menuId":"277f968a-22ff-4ce6-83f0-a82950f4****","menuName":"pop一级菜单","menuType":4,"showOnlyWithAccess":false,"dependentPermisson":true}]', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"75912036-5527-4B7E-9265-B481D6651AC2\\",\\n \\"Result\\": \\"[{\\\\\\"children\\\\\\":[{\\\\\\"children\\\\\\":[{\\\\\\"children\\\\\\":[{\\\\\\"menuId\\\\\\":\\\\\\"54kqgoa****\\\\\\",\\\\\\"menuName\\\\\\":\\\\\\"报表菜单\\\\\\",\\\\\\"menuType\\\\\\":0,\\\\\\"showOnlyWithAccess\\\\\\":true,\\\\\\"dependentPermisson\\\\\\":false,\\\\\\"uri\\\\\\":\\\\\\"e5da4a3f-d7f9-4262-a39e-a840043c****\\\\\\"},{\\\\\\"menuId\\\\\\":\\\\\\"pg1n135****\\\\\\",\\\\\\"menuName\\\\\\":\\\\\\"目录菜单\\\\\\",\\\\\\"menuType\\\\\\":4,\\\\\\"showOnlyWithAccess\\\\\\":false,\\\\\\"dependentPermisson\\\\\\":true}],\\\\\\"menuId\\\\\\":\\\\\\"23a7d5d8-e55a-4737-b6a1-3c585505****\\\\\\",\\\\\\"menuName\\\\\\":\\\\\\"pop三级菜单\\\\\\",\\\\\\"menuType\\\\\\":4,\\\\\\"showOnlyWithAccess\\\\\\":true,\\\\\\"dependentPermisson\\\\\\":true}],\\\\\\"menuId\\\\\\":\\\\\\"80764f3c-affd-45a1-aaa1-bb039d8a****\\\\\\",\\\\\\"menuName\\\\\\":\\\\\\"pop二级菜单\\\\\\",\\\\\\"menuType\\\\\\":4,\\\\\\"showOnlyWithAccess\\\\\\":false,\\\\\\"dependentPermisson\\\\\\":true}],\\\\\\"menuId\\\\\\":\\\\\\"277f968a-22ff-4ce6-83f0-a82950f4****\\\\\\",\\\\\\"menuName\\\\\\":\\\\\\"pop一级菜单\\\\\\",\\\\\\"menuType\\\\\\":4,\\\\\\"showOnlyWithAccess\\\\\\":false,\\\\\\"dependentPermisson\\\\\\":true}]\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListPortalMenus', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:31.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListPortalMenus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListRecentViewReports' => [ + 'summary' => 'You can call this operation to obtain a list of the most frequently viewed and footsteps displayed in the homepage dashboard for a specified user.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The UserID of the user in the Quick BI.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'b5d8fd9348cc4327****afb604', + 'title' => '', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword of the name of the work.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '财务报表', + 'title' => '', + ], + ], + [ + 'name' => 'TreeType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Query the type of the work (fill in the blank to query all types). Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* REPORT: workbook'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'PAGE', + 'title' => '', + ], + ], + [ + 'name' => 'QueryMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'The query mode. Valid values:'."\n" + ."\n" + .'* 1: Sort by number of visits'."\n" + .'* 2: Sort by Last Access Time'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'default' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Query the number of rows in the work list:'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Maximum value: 9999'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + [ + 'name' => 'OffsetDay', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of days to query data in the last few days. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The query results are returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'Attention' => [ + 'type' => 'string', + 'example' => '当前API返回的分页参数如TotalNum等即将下线,如有使用请及时修改', + 'default' => '当前API返回的分页参数如TotalNum等即将下线,如有使用请及时修改', + 'description' => 'Attention', + 'title' => '', + ], + 'Data' => [ + 'description' => 'The list of queried works.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Favorite' => [ + 'description' => 'Queries whether the user has collected the work.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'GmtCreate' => [ + 'description' => 'The timestamp when the work was created.'."\n", + 'type' => 'string', + 'example' => '1496651577000', + 'title' => '', + ], + 'GmtModified' => [ + 'description' => 'The timestamp when the work was modified.'."\n", + 'type' => 'string', + 'example' => '1640595729000', + 'title' => '', + ], + 'HasEditAuth' => [ + 'description' => 'The query user has the editing rights of the work.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'HasViewAuth' => [ + 'description' => 'The query user has the permission to view the work.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'LatestViewTime' => [ + 'description' => 'The timestamp when the work was last accessed.'."\n", + 'type' => 'string', + 'example' => '1642067498000', + 'title' => '', + ], + 'Name' => [ + 'description' => 'The name of the work.'."\n", + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'The Alibaba Cloud account name of the work owner.'."\n", + 'type' => 'string', + 'example' => '李四', + 'title' => '', + ], + 'OwnerNum' => [ + 'description' => 'The UserID of the work owner.'."\n", + 'type' => 'string', + 'example' => '1365*****238860', + 'title' => '', + ], + 'PublishStatus' => [ + 'description' => 'The publication status of the work. Valid values:'."\n" + ."\n" + .'* 0: unpublished'."\n" + .'* 1: published'."\n" + .'* 2: modified and saved but not published.'."\n" + .'* 3: unpublished'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TreeId' => [ + 'description' => 'The ID of the work.'."\n", + 'type' => 'string', + 'example' => '977c7698-****-****-****-44b7304d20fc', + 'title' => '', + ], + 'Type' => [ + 'description' => 'The type of the work. Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* REPORT: workbook'."\n", + 'type' => 'string', + 'example' => 'PAGE', + 'title' => '', + ], + 'ViewCount' => [ + 'description' => 'The number of times the work was accessed.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '523793cb-****-****-****-aa71c65ffa39', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => 'The list of API data sources that were queried.'."\n", + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Maximum of 100 articles'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'The total number of rows in the table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Attention\\": \\"当前API返回的分页参数如TotalNum等即将下线,如有使用请及时修改\\",\\n \\"Data\\": [\\n {\\n \\"Favorite\\": true,\\n \\"GmtCreate\\": \\"1496651577000\\",\\n \\"GmtModified\\": \\"1640595729000\\",\\n \\"HasEditAuth\\": true,\\n \\"HasViewAuth\\": true,\\n \\"LatestViewTime\\": \\"1642067498000\\",\\n \\"Name\\": \\"测试报表\\",\\n \\"OwnerName\\": \\"李四\\",\\n \\"OwnerNum\\": \\"1365*****238860\\",\\n \\"PublishStatus\\": 1,\\n \\"TreeId\\": \\"977c7698-****-****-****-44b7304d20fc\\",\\n \\"Type\\": \\"PAGE\\",\\n \\"ViewCount\\": 7,\\n \\"WorkspaceId\\": \\"523793cb-****-****-****-aa71c65ffa39\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListRecentViewReportsResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <TotalNum>1</TotalNum>\\n <TotalPages>1</TotalPages>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <Data>\\n <TreeId>977c7698-****-****-****-44b7304d20fc</TreeId>\\n <Type>PAGE</Type>\\n <Name>测试报表</Name>\\n <OwnerNum>1365*****238860</OwnerNum>\\n <OwnerName>李四</OwnerName>\\n <GmtCreate>1496651577000</GmtCreate>\\n <GmtModified>1640595729000</GmtModified>\\n <PublishStatus>1</PublishStatus>\\n <Favorite>true</Favorite>\\n <HasViewAuth>true</HasViewAuth>\\n <HasEditAuth>true</HasEditAuth>\\n <WorkspaceId>523793cb-****-****-****-aa71c65ffa39</WorkspaceId>\\n <WorkspaceName>测试工作空间</WorkspaceName>\\n <ViewCount>7</ViewCount>\\n <LatestViewTime>1642067498000</LatestViewTime>\\n </Data>\\n </Result>\\n <Success>true</Success>\\n</ListRecentViewReportsResponse>","errorExample":""}]', + 'title' => 'ListRecentViewReports', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListRecentViewReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListSharedReports' => [ + 'summary' => 'You can this operation to obtain the list of authorized works displayed on the homepage of a specified user.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The UserID of the user to be queried in the Quick BI.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'b5d8fd9348cc4327****afb604', + 'title' => '', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword of the name of the work.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试报表', + 'title' => '', + ], + ], + [ + 'name' => 'TreeType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Query the type of the work (fill in the blank to query all types). Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* REPORT: workbook'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'PAGE', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Query the number of rows in the work list:'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Maximum value: 9999'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The query results are returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The list of queried works.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Favorite' => [ + 'description' => 'Queries whether the user has collected the work.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'GmtCreate' => [ + 'description' => 'The timestamp when the work was created.'."\n", + 'type' => 'string', + 'example' => '1640088615000', + 'title' => '', + ], + 'GmtModified' => [ + 'description' => 'The timestamp when the work was modified.'."\n", + 'type' => 'string', + 'example' => '1644373980000', + 'title' => '', + ], + 'HasEditAuth' => [ + 'description' => 'The query user has the editing rights of the work.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'HasViewAuth' => [ + 'description' => 'The query user has the permission to view the work.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Name' => [ + 'description' => 'The name of the work.'."\n", + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'The Alibaba Cloud account name of the work owner.'."\n", + 'type' => 'string', + 'example' => 'test账号', + 'title' => '', + ], + 'OwnerNum' => [ + 'description' => 'The UserID of the work owner.'."\n", + 'type' => 'string', + 'example' => '1365*****238860', + 'title' => '', + ], + 'PublishStatus' => [ + 'description' => 'The publication status of the work. Valid values:'."\n" + ."\n" + .'* 0: unpublished'."\n" + .'* 1: published'."\n" + .'* 2: modified and saved but not published.'."\n" + .'* 3: unpublished'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TreeId' => [ + 'description' => 'The ID of the work.'."\n", + 'type' => 'string', + 'example' => '977c7698-****-****-****-44b7304d20fc', + 'title' => '', + ], + 'Type' => [ + 'description' => 'The type of the work. Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* REPORT: workbook'."\n", + 'type' => 'string', + 'example' => 'PAGE', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => 'gfidm145-****-****-9426-8f93be23****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'The number of rows per page set when the interface is requested.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'The total number of rows in the table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"Favorite\\": true,\\n \\"GmtCreate\\": \\"1640088615000\\",\\n \\"GmtModified\\": \\"1644373980000\\",\\n \\"HasEditAuth\\": true,\\n \\"HasViewAuth\\": true,\\n \\"Name\\": \\"测试报表\\",\\n \\"OwnerName\\": \\"test账号\\",\\n \\"OwnerNum\\": \\"1365*****238860\\",\\n \\"PublishStatus\\": 1,\\n \\"TreeId\\": \\"977c7698-****-****-****-44b7304d20fc\\",\\n \\"Type\\": \\"PAGE\\",\\n \\"WorkspaceId\\": \\"gfidm145-****-****-9426-8f93be23****\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListSharedReports', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListSharedReports', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListSharedReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListUserGroupsByUserId' => [ + 'summary' => 'Queries all user groups to which a user belongs based on the user ID.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '46e5374665ba4b679ee22e2a2927****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'E2440604-3059-561A-AD68-DEDBC870EB2B', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The information about the group.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => 'The time when the user group was created.'."\n", + 'type' => 'string', + 'example' => '2021-03-15 17:13:55', + 'title' => '', + ], + 'CreateUser' => [ + 'description' => 'The user group creator. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'example' => '46e5374665ba4b679ee22e2a2927****', + 'title' => '', + ], + 'IdentifiedPath' => [ + 'description' => 'Directory level of the user group.'."\n", + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', + 'title' => '', + ], + 'ModifiedTime' => [ + 'description' => 'The time when the user group was last modified.'."\n", + 'type' => 'string', + 'example' => '2021-03-15 20:36:40', + 'title' => '', + ], + 'ModifyUser' => [ + 'description' => 'The user group modifier. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'example' => '46e5374665ba4b679ee22e2a2927****', + 'title' => '', + ], + 'ParentUsergroupId' => [ + 'description' => 'The ID of the user group.'."\n", + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', + 'title' => '', + ], + 'UsergroupDesc' => [ + 'description' => 'The description of the user group.'."\n", + 'type' => 'string', + 'example' => '备注', + 'title' => '', + ], + 'UsergroupId' => [ + 'description' => 'The ID of the user group.'."\n", + 'type' => 'string', + 'example' => '34fd141d-4598-4093-8c33-8e066dcb****', + 'title' => '', + ], + 'UsergroupName' => [ + 'description' => 'The name of the user group.'."\n", + 'type' => 'string', + 'example' => '测试用户组', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"E2440604-3059-561A-AD68-DEDBC870EB2B\\",\\n \\"Result\\": [\\n {\\n \\"CreateTime\\": \\"2021-03-15 17:13:55\\",\\n \\"CreateUser\\": \\"46e5374665ba4b679ee22e2a2927****\\",\\n \\"IdentifiedPath\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****\\",\\n \\"ModifiedTime\\": \\"2021-03-15 20:36:40\\",\\n \\"ModifyUser\\": \\"46e5374665ba4b679ee22e2a2927****\\",\\n \\"ParentUsergroupId\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af0****\\",\\n \\"UsergroupDesc\\": \\"备注\\",\\n \\"UsergroupId\\": \\"34fd141d-4598-4093-8c33-8e066dcb****\\",\\n \\"UsergroupName\\": \\"测试用户组\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListUserGroupsByUserId', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListUserGroupsByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListWhitePortalMenu' => [ + 'summary' => 'Retrieves the whitelist for a BI portal menu.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DataportalId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'description' => 'The ID of the BI portal.', + 'title' => '', + 'example' => 'asdagad***213425', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + 'description' => 'The request ID.', + 'title' => '', + 'example' => 'DC4E1**********0DF67E2C3', + ], + 'Result' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ReceiverId' => [ + 'type' => 'string', + 'title' => '', + 'description' => 'The ID of the authorization object. If the authorization is at the workspace or organization level, this parameter returns the workspace ID or organization ID.', + 'example' => '8a4***********1e769', + ], + 'ReceiverType' => [ + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'description' => 'The type of the authorization object. Valid values:'."\n" + ."\n" + .'- 0: User'."\n" + ."\n" + .'- 1: User group'."\n" + ."\n" + .'- 3: Workspace or organization level', + 'example' => '0', + ], + 'AuthPointsValue' => [ + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'description' => 'The authorization type for the menu. Valid values:'."\n" + ."\n" + .'- 1: View'."\n" + ."\n" + .'- 3: Export and view', + 'example' => '1', + ], + ], + 'description' => 'Whitelist information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The whitelist.', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'title' => '', + 'example' => 'true', + ], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Application.Object.NotExist', + 'errorMessage' => 'The object you are operating does not exist or has been deleted.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'ListWhitePortalMenu', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC4E1**********0DF67E2C3\\",\\n \\"Result\\": [\\n {\\n \\"ReceiverId\\": \\"8a4***********1e769\\",\\n \\"ReceiverType\\": 0,\\n \\"AuthPointsValue\\": 1\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListWorkspaceRoleUsers' => [ + 'summary' => 'Get user list under the specified workspace role.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace role ID, including predefined roles and custom roles:'."\n" + ."\n" + .'- 25: Workspace Administrator (predefined role)'."\n" + .'- 26: Developer (predefined role)'."\n" + .'- 27: Analyst (predefined role)'."\n" + .'- 30: Viewer (predefined role)'."\n" + .'- Custom roles: The corresponding role ID for custom roles', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '25', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the workspace. This parameter is optional. If you do not set this parameter, the roles of all workspaces are returned.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Current page number for pagination:'."\n" + ."\n" + .'- Starting value: 1'."\n" + .'- Default value: 1', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of items per page for pagination:'."\n" + ."\n" + .'- Default value: 10'."\n" + .'- Maximum value: 1000', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'title' => '', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword for the user\'s nickname.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试pop用户', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the list of users under the specified workspace role.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'User list.', + 'type' => 'array', + 'items' => [ + 'description' => 'User details.', + 'type' => 'object', + 'properties' => [ + 'NickName' => [ + 'description' => 'Nickname of the organization member.', + 'type' => 'string', + 'example' => '测试用户', + 'title' => '', + ], + 'UserId' => [ + 'description' => 'UserID of the organization member in Quick BI.', + 'type' => 'string', + 'example' => 'b5d8fd9348cc4327****afb604'."\n", + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'example' => '7350a155-0e94-4c6c-8620-57bbec38****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'Workspace name.', + 'type' => 'string', + 'example' => '测试空间', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'Page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'Number of items per page as set in the request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'Total number of items.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'Total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful. '."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'User.Role.NotExist', + 'errorMessage' => 'User role not exist: %s.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"NickName\\": \\"测试用户\\",\\n \\"UserId\\": \\"b5d8fd9348cc4327****afb604\\\\n\\",\\n \\"WorkspaceId\\": \\"7350a155-0e94-4c6c-8620-57bbec38****\\",\\n \\"WorkspaceName\\": \\"测试空间\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListWorkspaceRoleUsers', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListWorkspaceRoleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ListWorkspaceRoles' => [ + 'summary' => 'Get the list of workspace roles.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'List of workspace roles.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AuthConfigList' => [ + 'description' => 'List of role authorization configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'Specific authorization configuration.', + 'type' => 'object', + 'properties' => [ + 'ActionAuthKeys' => [ + 'description' => 'Authorization scope.', + 'type' => 'array', + 'items' => [ + 'description' => 'Specific permissions:'."\n" + .'- edit: Create'."\n" + .'- use: Use'."\n" + .'- list: Display list', + 'type' => 'string', + 'example' => 'edit', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + 'AuthKey' => [ + 'description' => 'Authorization type:'."\n" + .'- portal_create: Data Portal'."\n" + .'- dashboard_create: Dashboard'."\n" + .'- report_create: Spreadsheet'."\n" + .'- screen_create: Data Screen'."\n" + .'- analysis: Ad-hoc Analysis'."\n" + .'- offline_download: Self-service Data Retrieval'."\n" + .'- data_form: Data Entry'."\n" + .'- quick_etl: Data Preparation'."\n" + .'- cube: Dataset'."\n" + .'- datasource: Data Source', + 'type' => 'string', + 'example' => 'portal_create', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'IsSystemRole' => [ + 'description' => 'Whether it is a predefined role. Value range:'."\n" + ."\n" + .'- true: Yes'."\n" + .'- false: No', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RoleId' => [ + 'description' => 'Workspace role ID, including predefined and custom roles:'."\n" + ."\n" + .'- 25: Workspace Administrator (predefined role)'."\n" + .'- 26: Developer (predefined role)'."\n" + .'- 27: Analyst (predefined role)'."\n" + .'- 30: Viewer (predefined role)'."\n" + .'- Custom role: The corresponding role ID for a custom role', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '25', + 'title' => '', + ], + 'RoleName' => [ + 'description' => 'Role name.', + 'type' => 'string', + 'example' => '空间管理员', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful. '."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"AuthConfigList\\": [\\n {\\n \\"ActionAuthKeys\\": [\\n \\"edit\\"\\n ],\\n \\"AuthKey\\": \\"portal_create\\"\\n }\\n ],\\n \\"IsSystemRole\\": true,\\n \\"RoleId\\": 25,\\n \\"RoleName\\": \\"空间管理员\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListWorkspaceRoles', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListWorkspaceRoles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'ListWorkspaceUserRolesByUserId' => [ + 'summary' => 'Queries all workspace roles of a user.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Quick BI user. This is not your Alibaba Cloud account ID. You can call the [QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=api-workbench.api_explorer.0.0.672f50daGq9ooV\\¶ms=%7B%7D\\&tab=DOC\\&sdkStyle=old\\&RegionId=cn-hangzhou) operation to obtain the user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'afas-********asfasg', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'DC4E***************F67E2C3', + ], + 'Result' => [ + 'title' => '', + 'description' => 'The list of all workspace role information.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'Each workspace object.', + 'type' => 'object', + 'properties' => [ + 'WorkspaceId' => [ + 'title' => '', + 'description' => 'The workspace ID.', + 'type' => 'string', + 'example' => '9337d121-a78f-4c1b-a8bc-f81de117****', + ], + 'WorkspaceName' => [ + 'title' => '', + 'description' => 'The workspace name.', + 'type' => 'string', + 'example' => 'test', + ], + 'RoleModel' => [ + 'title' => '', + 'description' => 'The workspace role information.', + 'type' => 'object', + 'properties' => [ + 'RoleId' => [ + 'title' => '', + 'description' => 'The workspace role ID. This includes, but is not limited to, the following preset workspace roles:'."\n" + ."\n" + .'- 25: Workspace Admin (preset role)'."\n" + ."\n" + .'- 26: Workspace Developer (preset role)'."\n" + ."\n" + .'- 27: Workspace Analyst (preset role)'."\n" + ."\n" + .'- 30: Workspace Viewer (preset role)', + 'type' => 'string', + 'example' => '111111111', + ], + 'RoleCode' => [ + 'title' => '', + 'description' => 'The code that corresponds to the preset workspace role. This parameter is not returned for custom roles.', + 'type' => 'string', + 'example' => '34637***35', + ], + 'RoleName' => [ + 'title' => '', + 'description' => 'The name of the workspace role.', + 'type' => 'string', + 'example' => 'arms-admin', + ], + ], + 'example' => '', + ], + ], + 'example' => '', + ], + 'required' => true, + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => 'The specified user is not in the organizational unit.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC4E***************F67E2C3\\",\\n \\"Result\\": [\\n {\\n \\"WorkspaceId\\": \\"9337d121-a78f-4c1b-a8bc-f81de117****\\",\\n \\"WorkspaceName\\": \\"test\\",\\n \\"RoleModel\\": {\\n \\"RoleId\\": \\"111111111\\",\\n \\"RoleCode\\": \\"34637***35\\",\\n \\"RoleName\\": \\"arms-admin\\"\\n }\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListWorkspaceUserRolesByUserId', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + ], + 'ManualRunMailTask' => [ + 'summary' => 'Manually Execute Email Task', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'MailId', + 'in' => 'query', + 'schema' => [ + 'title' => '订阅任务id', + 'description' => 'The ID of the email task in the subscription management interface.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3423423sdfa****sdadw', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'a4d1a221d-41za1-****', + ], + 'Result' => [ + 'description' => 'Indicates whether the execution was successful.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + .'- true: The request succeeded '."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Mail.Forbidden.Access', + 'errorMessage' => 'Forbidden Access On This Operation.', + 'description' => '', + ], + [ + 'errorCode' => 'Mail.Not.Found', + 'errorMessage' => 'The Subscription Task Does Not Exist.', + 'description' => '', + ], + [ + 'errorCode' => 'MailId.Is.Null', + 'errorMessage' => 'The Mail Id Is Null.', + 'description' => '', + ], + [ + 'errorCode' => 'MailTask.Already.Running', + 'errorMessage' => 'The Mail Task Is Already Running.', + 'description' => '', + ], + [ + 'errorCode' => 'MailApi.Beyond.ScheduleLimit', + 'errorMessage' => 'Mail Subscription Openapi Requests Are Frequent. Please Try Again In %s Minutes.', + 'description' => '', + ], + [ + 'errorCode' => 'Timer.Schedule.Task', + 'errorMessage' => 'An error occurred during timer task scheduling.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"a4d1a221d-41za1-****\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ManualRunMailTask', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ManualRunMailTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ModifyApiDatasourceParameters' => [ + 'summary' => 'Modifies the configurations of a specified API data source.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'ApiId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the API data source.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'b66a66de51f24d149116c17718138194', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The workspace ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', + 'title' => '', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'schema' => [ + 'description' => 'The configuration of API data parameters in the JSONArray format. You can modify a maximum of 10 parameters.'."\n" + ."\n" + .'* name: the name of a common parameter or a parameter in a query statement'."\n" + .'* value: the value of a common parameter or a parameter in a query statement.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[{"name":"token","value":"xxxxxxxxxxxx"},{"name":"pageSize","value":100}]', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The information returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ApiDataSource.NotIn.Workspace', + 'errorMessage' => 'Target apiId not in target workspace.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'ApiDatasource.Not.Exist', + 'errorMessage' => 'Api datasource not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'ApiDatasource.Param.IsNull', + 'errorMessage' => 'Api datasource modify parameters is null.', + 'description' => '', + ], + [ + 'errorCode' => 'ApiDatasource.Param.Oversize', + 'errorMessage' => 'The number of parameters of API data source exceeds the limit and cannot exceed %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ModifyApiDatasourceParameters', + 'description' => 'When you modify a query statement, you can modify only the top-level JsonObject. You cannot modify parameters that are nested in multiple layers. For more information about the parameters, see [Create an API data source](~~409330~~).', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ModifyApiDatasourceParameters', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ModifyApiDatasourceParameters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ModifyCopilotEmbedConfig' => [ + 'summary' => 'Modify Intelligent Query Embedding Configuration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CopilotId', + 'in' => 'query', + 'schema' => [ + 'title' => '嵌入id', + 'description' => 'Embedding ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccd3428c-dd2xxxxxxxxxxxxdffee', + ], + ], + [ + 'name' => 'DataRange', + 'in' => 'query', + 'schema' => [ + 'title' => '数据范围', + 'description' => 'Data range.'."\n" + .'><notice>The parameter type is jsonString, and only one switch between analysis themes and query resources can be effective. When the all-select switch is true, it takes precedence. It is recommended to pass only one parameter, with other notes></notice>', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'themes' => 'themes', + 'allTheme' => 'allTheme', + 'llmCubes' => 'llmCubes', + 'allCube' => 'allCube', + ], + 'example' => '如果客户要授权所有分析主题,则 {allTheme: true}'."\n" + .'如果客户要授权所有问数资源,则 {allCube: true}'."\n" + .'如果客户要授权部分问数资源,则 {llmCubes: [12314,12345]}'."\n" + .'如果客户要授权部分分析主题,则 {themes: [12314,12345]}', + ], + ], + [ + 'name' => 'ModuleName', + 'in' => 'query', + 'schema' => [ + 'title' => '模块名称', + 'description' => 'Module name.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '小Q', + ], + ], + [ + 'name' => 'AgentName', + 'in' => 'query', + 'schema' => [ + 'title' => '机器人昵称', + 'description' => 'Agent nickname.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '小Q', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '4BAA4694-CC27-555F-B15A-688AA9289FEE', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful'."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the API execution. Possible values:'."\n" + .'- true: Execution succeeded'."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'Copilot.Modulename.Error', + 'errorMessage' => 'ModuleName max length limit 20.', + 'description' => 'The maximum length of a module name is 20.', + ], + [ + 'errorCode' => 'Copilot.AgentName.Error', + 'errorMessage' => 'AgentName max length limit 10.', + 'description' => 'The maximum length of the robot name is limited to 10.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'errorCode' => 'CopilotEmbed.Config.NotFind', + 'errorMessage' => 'Can not find copilot embed config with this copilot ID.', + 'description' => 'Cannot find this embedded configuration', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4BAA4694-CC27-555F-B15A-688AA9289FEE\\",\\n \\"Success\\": true,\\n \\"Result\\": true\\n}","type":"json"}]', + 'title' => 'Modify Intelligent Query Embedding Configuration', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-11T06:04:44.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ModifyCopilotEmbedConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ModifyCopilotEmbedConfig', + ], + ], + ], + ], + 'ModifyDashboardNl2sqlStatus' => [ + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DashboardIds', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'description' => 'An array of dashboard IDs. Separate multiple IDs with commas.'."\n" + .'><notice>The number of IDs cannot exceed 50.></notice>', + 'title' => '', + 'example' => 'asda,sadaf', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'description' => 'The status identifier. 0 indicates disabled and 1 indicates enabled.', + 'title' => '', + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + 'description' => 'The request ID.', + 'title' => '', + 'example' => '46e537a5****', + ], + 'Result' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'description' => 'The dashboard ID.', + 'title' => '', + 'example' => 'ccd3428c-****-****-a608-26bae29dffee', + ], + 'description' => 'A list of dashboard IDs for which the operation failed.', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'title' => '', + 'example' => 'true', + ], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 297 => [ + [ + 'errorCode' => 'Invalid.Parameter', + 'errorMessage' => 'You must specify the parameter.', + 'description' => 'Invalid parameter', + ], + ], + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', + 'errorMessage' => 'Please purchase Nl2sql module first.', + 'description' => 'Please purchase Nl2sql module first.', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => 'The specified user does not exist.', + ], + [ + 'errorCode' => 'Parameter.Error', + 'errorMessage' => 'The input parameter is invalid.', + 'description' => 'input parameter error.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'ModifyDashboardNl2sqlStatus', + 'summary' => 'Modifies the Q-Assistant status for multiple dashboards.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e537a5****\\",\\n \\"Result\\": [\\n \\"ccd3428c-****-****-a608-26bae29dffee\\"\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'QueryAccelerationLogByCubeId' => [ + 'summary' => 'Queries the run logs of acceleration tasks for a specified dataset.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'description' => 'The ID of the dataset.', + 'title' => '', + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'description' => 'The start time. The format is yyyy-MM-dd HH:mm:ss.', + 'title' => '', + 'example' => '2025-04-15 00:00:00', + ], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'description' => 'The end time. The format is yyyy-MM-dd HH:mm:ss.', + 'title' => '', + 'example' => '2025-05-15 00:00:00', + ], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'description' => 'The page number. The default value is **1**.', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'description' => 'The number of entries per page.'."\n" + ."\n" + .'- Default value: 10.', + 'title' => '', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + 'description' => 'The request ID.', + 'title' => '', + 'example' => 'D8749D********80FF3B4', + ], + 'Result' => [ + 'type' => 'object', + 'properties' => [ + 'TotalPages' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The total number of pages.', + 'title' => '', + 'example' => '1', + ], + 'TotalNum' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The total number of entries.', + 'title' => '', + 'example' => '1', + ], + 'PageNum' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The page number.', + 'title' => '', + 'example' => '1', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The number of entries per page.', + 'title' => '', + 'example' => '10', + ], + 'Pre' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The previous page. A value of NULL or 0 indicates that no previous page exists.', + 'title' => '', + 'example' => 'null', + ], + 'Next' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The next page. A value of NULL or 0 indicates that no next page exists.', + 'title' => '', + 'example' => 'null', + ], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'type' => 'string', + 'description' => 'The task ID.', + 'title' => '', + 'example' => 'REST_A***************6a8', + ], + 'JobHistoryId' => [ + 'type' => 'string', + 'description' => 'The task history ID.', + 'title' => '', + 'example' => 'REST_A***************6a8', + ], + 'JonStartDate' => [ + 'type' => 'string', + 'description' => 'The start time of the task.', + 'title' => '', + 'example' => 'REST_A***************6a8', + ], + 'JobStatus' => [ + 'type' => 'string', + 'description' => 'The status of the task.'."\n" + ."\n" + .'- 0: Pending'."\n" + ."\n" + .'- 1: Running'."\n" + ."\n" + .'- 2: Succeeded'."\n" + ."\n" + .'- 3: Failed'."\n" + ."\n" + .'- 4: Canceled'."\n" + ."\n" + .'- 5: Warning', + 'title' => '', + 'example' => '0', + ], + 'Duration' => [ + 'type' => 'string', + 'description' => 'The task duration in seconds.', + 'title' => '', + 'example' => '123', + ], + 'Log' => [ + 'type' => 'string', + 'description' => 'The log content.', + 'title' => '', + 'example' => 'asdav************', + ], + ], + 'description' => 'The acceleration task log.', + 'title' => '', + 'example' => '', + ], + 'description' => 'An array of acceleration task logs.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The result of the API request.'."\n" + ."\n" + .'- true: The execution succeeded.'."\n" + ."\n" + .'- false: The execution failed.', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'title' => '', + 'example' => 'true', + ], + ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'Date.Format.Error', + 'errorMessage' => 'Date format conversion error.', + 'description' => 'Date format conversion error', + ], + [ + 'errorCode' => 'Date.Check.Error', + 'errorMessage' => 'The end date cannot be greater than the start date.', + 'description' => 'End date cannot be greater than start date', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'QueryAccelerationLogByCubeId', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D********80FF3B4\\",\\n \\"Result\\": {\\n \\"TotalPages\\": 1,\\n \\"TotalNum\\": 1,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Pre\\": 0,\\n \\"Next\\": 0,\\n \\"Data\\": [\\n {\\n \\"JobId\\": \\"REST_A***************6a8\\",\\n \\"JobHistoryId\\": \\"REST_A***************6a8\\",\\n \\"JonStartDate\\": \\"REST_A***************6a8\\",\\n \\"JobStatus\\": \\"0\\",\\n \\"Duration\\": \\"123\\",\\n \\"Log\\": \\"asdav************\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'QueryApprovalInfo' => [ + 'summary' => 'Get approval flow information based on the approver.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'title' => '当前审批人用户ID,qbi用户id', + 'description' => 'Current approver user ID, qbi user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '12352fasdavsa', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'title' => '审批状态。'."\n" + .'● 0:待审批'."\n" + .'● 1:已处理', + 'description' => 'Approval status:'."\n" + .'- 0: Pending'."\n" + .'- 1: Processed', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '1', + 'minimum' => '0', + 'enumValueTitles' => [ + '0', + '1', + ], + 'example' => '0', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'title' => '每页多少行,默认1000', + 'description' => 'Number of rows per page, default is 1000.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1000', + ], + ], + [ + 'name' => 'Page', + 'in' => 'query', + 'schema' => [ + 'title' => '页数,默认1', + 'description' => 'Page number, default is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + ], + 'Result' => [ + 'description' => 'Return the result of the interface execution.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '审批流信息数组。', + 'description' => 'Array of approval flow information.', + 'type' => 'array', + 'items' => [ + 'title' => '审批流信息对象', + 'description' => 'Approval flow information object.', + 'type' => 'object', + 'properties' => [ + 'ApplicantId' => [ + 'title' => '申请人userID,qbi用户id', + 'description' => 'Applicant\'s user ID, qbi user ID.', + 'type' => 'string', + 'example' => '1359508', + ], + 'ApplicantName' => [ + 'title' => '申请人昵称', + 'description' => 'Applicant\'s nickname.', + 'type' => 'string', + 'example' => '李飞', + ], + 'ApplicationId' => [ + 'title' => '申请id', + 'description' => 'Application ID.', + 'type' => 'string', + 'example' => '64813ef6da58e80eef8ed2f9', + ], + 'ApplyReason' => [ + 'title' => '申请理由', + 'description' => 'Application reason.', + 'type' => 'string', + 'example' => '开发需要', + ], + 'ApproverId' => [ + 'title' => '审批人userID,qbi用户id', + 'description' => 'Approver\'s user ID, qbi user ID.', + 'type' => 'string', + 'example' => 'sdasascasxasd', + ], + 'ApproverName' => [ + 'title' => '审批人昵称', + 'description' => 'Approver\'s nickname.', + 'type' => 'string', + 'example' => 'data_fusion_002', + ], + 'DeleteFlag' => [ + 'title' => '资源是否已被删除', + 'description' => 'Whether the resource has been deleted:'."\n" + .'- true: Deleted'."\n" + .'- false: Not deleted', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ExpireDate' => [ + 'title' => '权限有效期限,时间戳', + 'description' => 'Permission expiration date, timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708568097135', + ], + 'FlagStatus' => [ + 'title' => '权限审批状态:'."\n" + .'● 0:审批中,对应请求参数中的0'."\n" + .'● 1:审批通过,对应请求参数送1'."\n" + .'● 2:审批拒绝,对应请求参数送1', + 'description' => 'Permission approval status:'."\n" + .'- 0: Under review, corresponding to 0 in the request parameters'."\n" + .'- 1: Approved, corresponding to 1 in the request parameters'."\n" + .'- 2: Rejected, corresponding to 1 in the request parameters', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'GmtCreate' => [ + 'title' => '申请创建时间,时间戳', + 'description' => 'Application creation time, timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1687315758', + ], + 'GmtModified' => [ + 'title' => '申请修改时间,时间戳', + 'description' => 'Application modification time, timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1640595729000', + ], + 'HandleReason' => [ + 'title' => '处理理由', + 'description' => 'Handling reason.', + 'type' => 'string', + 'example' => '开发需要', + ], + 'ResourceId' => [ + 'title' => '申请权限资源ID', + 'description' => 'The ID of the resource for which permission is requested.', + 'type' => 'string', + 'example' => 'acl-ct4t2e4u2x4ej1bzur', + ], + 'ResourceName' => [ + 'title' => '申请权限资源名称(报表名、空间名...)', + 'description' => 'The name of the resource for which permission is requested (e.g., report name, space name...).', + 'type' => 'string', + 'example' => '测试资源', + ], + 'ResourceType' => [ + 'title' => '资源类型', + 'description' => 'The type of the resource.', + 'type' => 'string', + 'example' => 'DASHBOARD', + ], + 'WorkspaceName' => [ + 'title' => '空间名称', + 'description' => 'The name of the workspace.', + 'type' => 'string', + 'example' => '测试工作空间', + ], + ], + 'example' => '', + ], + 'example' => '', + ], + 'Page' => [ + 'title' => '当前页', + 'description' => 'The current page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '当前页请求记录数', + 'description' => 'The number of records requested per page.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1000', + ], + 'Start' => [ + 'title' => '当前页起始位置', + 'description' => 'The starting position of the current page.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Total' => [ + 'title' => '总数目', + 'description' => 'The total number of items.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'TotalPages' => [ + 'title' => '总页码', + 'description' => 'The total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the API call was successful. Possible values are:'."\n" + .'- true: success'."\n" + .'- false: failure', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Parameter.Error', + 'errorMessage' => 'The input parameter is invalid.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"ApplicantId\\": \\"1359508\\",\\n \\"ApplicantName\\": \\"李飞\\",\\n \\"ApplicationId\\": \\"64813ef6da58e80eef8ed2f9\\",\\n \\"ApplyReason\\": \\"开发需要\\",\\n \\"ApproverId\\": \\"sdasascasxasd\\",\\n \\"ApproverName\\": \\"data_fusion_002\\",\\n \\"DeleteFlag\\": true,\\n \\"ExpireDate\\": 1708568097135,\\n \\"FlagStatus\\": 0,\\n \\"GmtCreate\\": 1687315758,\\n \\"GmtModified\\": 1640595729000,\\n \\"HandleReason\\": \\"开发需要\\",\\n \\"ResourceId\\": \\"acl-ct4t2e4u2x4ej1bzur\\",\\n \\"ResourceName\\": \\"测试资源\\",\\n \\"ResourceType\\": \\"DASHBOARD\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"Page\\": 1,\\n \\"PageSize\\": 1000,\\n \\"Start\\": 0,\\n \\"Total\\": 3,\\n \\"TotalPages\\": 1\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryApprovalInfo', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-11T06:04:44.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-12-30T02:38:46.000Z', + 'description' => 'Error codes changed, Request parameters changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:31.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryApprovalInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryAuditLog' => [ + 'summary' => 'Queries audit log information.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'LogType', + 'in' => 'query', + 'schema' => [ + 'title' => '日志类型:'."\n" + .'● dataView-访问类,'."\n" + .'● function-操作类,'."\n" + .'● permission-权限类', + 'description' => 'The log type. Valid values:'."\n" + ."\n" + .'- dataView: access logs'."\n" + ."\n" + .'- function: operation logs'."\n" + ."\n" + .'- permission: permission logs', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'function' => 'function', + 'permission' => 'permission', + 'dataView' => 'dataView', + ], + 'example' => 'function', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'title' => '工作空间ID,需要查询的日志所属工作空间ID', + 'description' => 'The ID of the workspace that contains the logs to query.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + ], + ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => [ + 'title' => '查询开始时间,时间戳,不能早于当前时间90天', + 'description' => 'The start date for the query. Use the yyyyMMdd format. The date cannot be more than 90 days before the current date.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '20240504', + ], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => [ + 'title' => '查询结束时间,时间戳', + 'description' => 'The end date for the query. Use the yyyyMMdd format.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '20240604', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型,参见作品类型', + 'description' => 'The resource type. For more information, see work types.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cube', + ], + ], + [ + 'name' => 'OperatorId', + 'in' => 'query', + 'schema' => [ + 'title' => '操作人userId。', + 'description' => 'The user ID of the operator.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0***', + ], + ], + [ + 'name' => 'OperatorTypes', + 'in' => 'query', + 'schema' => [ + 'title' => '权限/访问/操作类型,空-默认所有;'."\n" + .'见审计日志码值,送多个请以英文逗号分割', + 'description' => 'The permission, access, or operation type. If left empty, all types are queried by default.'."\n" + ."\n" + .'For valid values, see audit log codes. To specify multiple types, separate them with commas.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'MODIFY', + ], + ], + [ + 'name' => 'UserAccessDevice', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'title' => '', + 'description' => 'The device used for access. Valid values:'."\n" + ."\n" + .'- MOBILE: mobile device'."\n" + ."\n" + .'- PC: PC', + 'example' => 'PC', + ], + ], + [ + 'name' => 'AccessSourceFlag', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'title' => '', + 'description' => 'The access source. Valid values:'."\n" + ."\n" + .'- COMMON: standard access'."\n" + ."\n" + .'- IMBEDDED: embedded report'."\n" + ."\n" + .'- PUBLIC: public report'."\n" + ."\n" + .'- IMBEDDED\\_COMPONENT: embedded card', + 'required' => false, + 'example' => 'PUBLIC', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95', + ], + 'Result' => [ + 'description' => 'An array of log objects.', + 'type' => 'array', + 'items' => [ + 'description' => 'A log object.', + 'type' => 'object', + 'properties' => [ + 'GmtCreate' => [ + 'title' => '日志时间', + 'description' => 'The time when the log was generated.', + 'type' => 'string', + 'example' => '2024-04-16 13:17:39', + ], + 'OperatorAccountName' => [ + 'title' => '操作者账号', + 'description' => 'The account name of the operator.', + 'type' => 'string', + 'example' => 'wukaibis', + ], + 'OperatorName' => [ + 'title' => '操作者用户昵称', + 'description' => 'The nickname of the operator.', + 'type' => 'string', + 'example' => 'buc_344078', + ], + 'OperatorType' => [ + 'title' => '操作类型', + 'description' => 'The operation type.', + 'type' => 'string', + 'example' => 'CREATE', + ], + 'TargetName' => [ + 'title' => '操作目标名称', + 'description' => 'The name of the operation target.', + 'type' => 'string', + 'example' => 'test', + ], + 'TargetType' => [ + 'title' => '操作目标类型', + 'description' => 'The type of the operation target.', + 'type' => 'string', + 'example' => 'USER', + ], + 'WorkspaceId' => [ + 'title' => '工作空间ID', + 'description' => 'The workspace ID.', + 'type' => 'string', + 'example' => '87c6b145-090c-43e1-9426-8f93be23****', + ], + 'TargetId' => [ + 'title' => '操作对象ID', + 'description' => 'The ID of the operation target.', + 'type' => 'string', + 'example' => '1113***************8500', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Date.Format.Error', + 'errorMessage' => 'Date format conversion error.', + 'description' => 'Date format conversion error', + ], + [ + 'errorCode' => 'Date.Check.Error', + 'errorMessage' => 'The end date cannot be greater than the start date.', + 'description' => 'End date cannot be greater than start date', + ], + [ + 'errorCode' => 'Date.Exceed.Error', + 'errorMessage' => 'The start date must be within 90 days from the current date.', + 'description' => 'Start date cannot be 90 days earlier than current date', + ], + [ + 'errorCode' => 'Log.Type.Error', + 'errorMessage' => 'The log type is incorrect.', + 'description' => 'The log type is incorrect.', + ], + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.User.Admin', + 'errorMessage' => 'You are not an administrator of this organization.', + 'description' => 'Only organization administrators can perform this operation.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"78C1AA2D-9201-599E-A0BA-6FC462E57A95\\",\\n \\"Result\\": [\\n {\\n \\"GmtCreate\\": \\"2024-04-16 13:17:39\\",\\n \\"OperatorAccountName\\": \\"wukaibis\\",\\n \\"OperatorName\\": \\"buc_344078\\",\\n \\"OperatorType\\": \\"CREATE\\",\\n \\"TargetName\\": \\"test\\",\\n \\"TargetType\\": \\"USER\\",\\n \\"WorkspaceId\\": \\"87c6b145-090c-43e1-9426-8f93be23****\\",\\n \\"TargetId\\": \\"1113***************8500\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Query Audit Log Information', + 'changeSet' => [ + [ + 'createdAt' => '2025-07-02T03:20:55.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-12-30T02:38:46.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryAuditLog', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryComponentPerformance' => [ + 'summary' => 'Queries component performance logs.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The query type. Valid values:'."\n" + ."\n" + .'* **lastDay**: Yesterday'."\n" + .'* **sevenDays**: Within seven days'."\n" + .'* **thirtyDays**: Within 30 days'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'sevenDays', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The workspace ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '89713491-cb4f-4579-b889-e82c35f1****', + 'title' => '', + ], + ], + [ + 'name' => 'ReportId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the work. The works here include BI portal, dashboards, spreadsheets, and self-service access.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource types.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'report', + 'title' => '', + ], + ], + [ + 'name' => 'CostTimeAvgMin', + 'in' => 'query', + 'schema' => [ + 'description' => 'The average duration (minutes).'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of rows per page in a paged query.'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Maximum value: 1,000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '100', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'The current page number of the workspace member list:'."\n" + ."\n" + .'* Pages start from page 1.'."\n" + .'* Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF', + 'title' => '', + ], + 'Result' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'Component performance analysis model.'."\n", + 'type' => 'object', + 'properties' => [ + 'CacheCostTimeAvg' => [ + 'description' => 'The average duration of cache hits.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'CacheQueryCount' => [ + 'description' => 'The number of cache hits.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'title' => '', + ], + 'ComponentId' => [ + 'description' => 'The component ID.'."\n", + 'type' => 'string', + 'example' => '0696083a-ca72-4d89-8e7a-c017910e0***', + 'title' => '', + ], + 'ComponentName' => [ + 'description' => 'The name of the add-on.'."\n", + 'type' => 'string', + 'example' => '线图', + 'title' => '', + ], + 'CostTimeAvg' => [ + 'description' => 'The average query duration associated with the SQL pattern.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'QueryCount' => [ + 'description' => 'The number of queries.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + 'title' => '', + ], + 'QueryCountAvg' => [ + 'description' => 'The average number of queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'QueryOverFivePercentNum' => [ + 'description' => 'The query exceeds the 5S number of queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '5', + 'title' => '', + ], + 'QueryOverFiveSecPercent' => [ + 'description' => 'Query the proportion of more than 5S.'."\n", + 'type' => 'string', + 'example' => '0.3', + 'title' => '', + ], + 'QueryOverTenSecPercent' => [ + 'description' => 'The percentage of queries that exceed 10s.'."\n", + 'type' => 'string', + 'example' => '0.3', + 'title' => '', + ], + 'QueryOverTenSecPercentNum' => [ + 'description' => 'The percentage of queries that exceed 10s.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'QueryTimeoutCount' => [ + 'description' => 'The number of times that the chart query times out.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'QueryTimeoutCountPercent' => [ + 'description' => 'The percentage of timeout times for chart queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'QuickIndexCostTimeAvg' => [ + 'description' => 'The average time consumed by the Quick engine query.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'QuickIndexQueryCount' => [ + 'description' => 'The number of times that the Quick engine is hit.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'title' => '', + ], + 'RepeatQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '0.3', + 'title' => '', + ], + 'RepeatQueryPercentNum' => [ + 'description' => 'The number of duplicate queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '2', + 'title' => '', + ], + 'RepeatSqlQueryCount' => [ + 'description' => 'The number of times the query is repeated.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + 'title' => '', + ], + 'RepeatSqlQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '0.3', + 'title' => '', + ], + 'ReportId' => [ + 'description' => 'The ID of the work.'."\n", + 'type' => 'string', + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + 'ReportName' => [ + 'description' => 'The name of the report.'."\n", + 'type' => 'string', + 'example' => 'ClusterRiskReport', + 'title' => '', + ], + 'ReportType' => [ + 'description' => 'The format of the report.'."\n", + 'type' => 'string', + 'example' => 'report', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The unique ID of the space.'."\n", + 'type' => 'string', + 'example' => '89713491-cb4f-4579-b889-e82c35f1****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the group.'."\n", + 'type' => 'string', + 'example' => '测试空间', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'description' => 'The result returned.'."\n", + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + ], + 500 => [ + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCE45E6D-9304-4F94-86BB-5A772B1615FF\\",\\n \\"Result\\": [\\n {\\n \\"CacheCostTimeAvg\\": 0.3,\\n \\"CacheQueryCount\\": 3,\\n \\"ComponentId\\": \\"0696083a-ca72-4d89-8e7a-c017910e0***\\",\\n \\"ComponentName\\": \\"线图\\",\\n \\"CostTimeAvg\\": 0.3,\\n \\"QueryCount\\": 5,\\n \\"QueryCountAvg\\": 0.3,\\n \\"QueryOverFivePercentNum\\": 5,\\n \\"QueryOverFiveSecPercent\\": \\"0.3\\",\\n \\"QueryOverTenSecPercent\\": \\"0.3\\",\\n \\"QueryOverTenSecPercentNum\\": 0.3,\\n \\"QueryTimeoutCount\\": 1,\\n \\"QueryTimeoutCountPercent\\": 0.3,\\n \\"QuickIndexCostTimeAvg\\": 0.3,\\n \\"QuickIndexQueryCount\\": 3,\\n \\"RepeatQueryPercent\\": \\"0.3\\",\\n \\"RepeatQueryPercentNum\\": 2,\\n \\"RepeatSqlQueryCount\\": 5,\\n \\"RepeatSqlQueryPercent\\": \\"0.3\\",\\n \\"ReportId\\": \\"6b407e50-e774-406b-9956-da2425c2****\\",\\n \\"ReportName\\": \\"ClusterRiskReport\\",\\n \\"ReportType\\": \\"report\\",\\n \\"WorkspaceId\\": \\"89713491-cb4f-4579-b889-e82c35f1****\\",\\n \\"WorkspaceName\\": \\"测试空间\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryComponentPerformance', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryComponentPerformance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryCopilotEmbedConfig' => [ + 'summary' => 'Get the List of Configurations for Activating XiaoQ Embedding', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'title' => '嵌入配置模块名称', + 'description' => 'Name of the embedded configuration module, supports fuzzy search.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '06-ELive', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '1FC71085-D5FD-08E0-813A-4D4BD1031BC5', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Result' => [ + 'description' => 'List of embedded configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'Embedded configuration object.', + 'type' => 'object', + 'properties' => [ + 'AgentName' => [ + 'title' => '机器人昵称', + 'description' => 'Robot\'s nickname.', + 'type' => 'string', + 'example' => '小Q', + ], + 'CopilotId' => [ + 'title' => '嵌入id', + 'description' => 'Embedding ID.', + 'type' => 'string', + 'example' => '9c079710-ddbe-48b3-b495-7c83c8d57cc4', + ], + 'CreateUser' => [ + 'title' => '创建人userid', + 'description' => 'ID of the creator.', + 'type' => 'string', + 'example' => 'qweqw12312423521', + ], + 'CreateUserName' => [ + 'title' => '创建人的昵称', + 'description' => 'Nickname of the creator.', + 'type' => 'string', + 'example' => '诸葛', + ], + 'DataRange' => [ + 'title' => '数据范围(分析主题和数据集)', + 'description' => 'Data range (analysis themes and question resources).', + 'type' => 'object', + 'properties' => [ + 'AllCube' => [ + 'title' => '是否全选问数资源', + 'description' => 'Whether all question resources are selected.', + 'type' => 'boolean', + 'example' => 'true/false', + ], + 'AllTheme' => [ + 'title' => '是否全选分析主题', + 'description' => 'Whether all analysis themes are selected.', + 'type' => 'boolean', + 'example' => 'true/false', + ], + 'LlmCubes' => [ + 'title' => '数据集id集合', + 'description' => 'Collection of question resource IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Question resource ID.', + 'type' => 'string', + 'example' => '123124,1231241', + 'title' => '', + ], + 'example' => '', + ], + 'Themes' => [ + 'title' => '分析主题的id集合', + 'description' => 'Collection of analysis theme IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Analysis theme ID.', + 'type' => 'string', + 'example' => '123124,1231241', + 'title' => '', + ], + 'example' => '', + ], + ], + 'example' => '', + ], + 'ModifyUser' => [ + 'title' => '修改人', + 'description' => 'ID of the modifier.', + 'type' => 'string', + 'example' => 'asda1231231dfs', + ], + 'ModuleName' => [ + 'title' => '模块名称', + 'description' => 'Module name.', + 'type' => 'string', + 'example' => '小Q', + ], + 'ShowName' => [ + 'title' => '嵌入模块名称', + 'description' => 'Name of the embedded module.', + 'type' => 'string', + 'example' => '0327', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1FC71085-D5FD-08E0-813A-4D4BD1031BC5\\",\\n \\"Success\\": true,\\n \\"Result\\": [\\n {\\n \\"AgentName\\": \\"小Q\\",\\n \\"CopilotId\\": \\"9c079710-ddbe-48b3-b495-7c83c8d57cc4\\",\\n \\"CreateUser\\": \\"qweqw12312423521\\",\\n \\"CreateUserName\\": \\"诸葛\\",\\n \\"DataRange\\": {\\n \\"AllCube\\": true,\\n \\"AllTheme\\": true,\\n \\"LlmCubes\\": [\\n \\"123124,1231241\\"\\n ],\\n \\"Themes\\": [\\n \\"123124,1231241\\"\\n ]\\n },\\n \\"ModifyUser\\": \\"asda1231231dfs\\",\\n \\"ModuleName\\": \\"小Q\\",\\n \\"ShowName\\": \\"0327\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Get the List of Configurations for Activating XiaoQ Embedding', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCopilotEmbedConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryCubeOptimization' => [ + 'summary' => 'Queries dataset optimization suggestions.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The workspace ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AdviceType' => [ + 'description' => 'The type of the suggestion. Valid values:'."\n" + ."\n" + .'* **OPEN_CACHE**: Open cache.'."\n" + .'* **OPEN_QUICK_ENGINE**: Open FAST Cache.'."\n" + .'* **INCREASE_CACHE_TIME**: Increase the cache time.'."\n", + 'type' => 'string', + 'example' => 'OPENQUICKENGINE', + 'title' => '', + ], + 'CubePerformanceDiagnoseModel' => [ + 'description' => 'The diagnostic information about the dataset.'."\n", + 'type' => 'object', + 'properties' => [ + 'CacheCostTimeAvg' => [ + 'description' => 'The average duration of cache hits.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'CacheQueryCount' => [ + 'description' => 'The number of cache hits.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'CostTimeAvg' => [ + 'description' => 'The average query duration associated with the SQL pattern.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1.0', + 'title' => '', + ], + 'CubeId' => [ + 'description' => 'The dataset ID.'."\n", + 'type' => 'string', + 'example' => '3e45b61a-9ba8-4c7c-8248-8dbe69945636', + 'title' => '', + ], + 'CubeName' => [ + 'description' => 'The name of the dataset.'."\n", + 'type' => 'string', + 'example' => 'test', + 'title' => '', + ], + 'QueryCount' => [ + 'description' => 'The number of queries.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + 'title' => '', + ], + 'QueryCountAvg' => [ + 'description' => 'The average number of queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '2', + 'title' => '', + ], + 'QueryOverFivePercentNum' => [ + 'description' => 'The percentage of the number of queries that exceed the 5S.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.1', + 'title' => '', + ], + 'QueryOverFiveSecPercent' => [ + 'description' => 'Query the proportion of more than 5S.'."\n", + 'type' => 'string', + 'example' => '0.5', + 'title' => '', + ], + 'QueryOverTenSecPercent' => [ + 'description' => 'The percentage of queries that exceed 10s.'."\n", + 'type' => 'string', + 'example' => '0.1', + 'title' => '', + ], + 'QueryOverTenSecPercentNum' => [ + 'description' => 'The percentage of queries that exceed 10s.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'QueryTimeoutCount' => [ + 'description' => 'The number of times that the chart query times out.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'QueryTimeoutCountPercent' => [ + 'description' => 'The percentage of timeout times for chart queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.3', + 'title' => '', + ], + 'QuickIndexCostTimeAvg' => [ + 'description' => 'The average time consumed by the Quick engine query.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'QuickIndexQueryCount' => [ + 'description' => 'The number of times that the Quick engine is hit.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'RepeatQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '0.1', + 'title' => '', + ], + 'RepeatQueryPercentNum' => [ + 'description' => 'The number of duplicate queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '2', + 'title' => '', + ], + 'RepeatSqlQueryCount' => [ + 'description' => 'The number of times the query is repeated.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'RepeatSqlQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '0.3', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The workspace ID.'."\n", + 'type' => 'string', + 'example' => '6ea74bff-c818-4188-b462-dbb45a24dbac', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace.'."\n", + 'type' => 'string', + 'example' => 'eco0sh0prods', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Return the result of the interface execution.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The query results are returned.'."\n", + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"AdviceType\\": \\"OPENQUICKENGINE\\",\\n \\"CubePerformanceDiagnoseModel\\": {\\n \\"CacheCostTimeAvg\\": 1,\\n \\"CacheQueryCount\\": 2,\\n \\"CostTimeAvg\\": 1,\\n \\"CubeId\\": \\"3e45b61a-9ba8-4c7c-8248-8dbe69945636\\",\\n \\"CubeName\\": \\"test\\",\\n \\"QueryCount\\": 50,\\n \\"QueryCountAvg\\": 2,\\n \\"QueryOverFivePercentNum\\": 0.1,\\n \\"QueryOverFiveSecPercent\\": \\"0.5\\",\\n \\"QueryOverTenSecPercent\\": \\"0.1\\",\\n \\"QueryOverTenSecPercentNum\\": 0.3,\\n \\"QueryTimeoutCount\\": 1,\\n \\"QueryTimeoutCountPercent\\": 0.3,\\n \\"QuickIndexCostTimeAvg\\": 1,\\n \\"QuickIndexQueryCount\\": 2,\\n \\"RepeatQueryPercent\\": \\"0.1\\",\\n \\"RepeatQueryPercentNum\\": 2,\\n \\"RepeatSqlQueryCount\\": 2,\\n \\"RepeatSqlQueryPercent\\": \\"0.3\\",\\n \\"WorkspaceId\\": \\"6ea74bff-c818-4188-b462-dbb45a24dbac\\",\\n \\"WorkspaceName\\": \\"eco0sh0prods\\"\\n }\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryCubeOptimization', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCubeOptimization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryCubePerformance' => [ + 'summary' => 'Queries the performance logs of a dataset.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The query type. Valid values:'."\n" + ."\n" + .'* **lastDay**: Yesterday'."\n" + .'* **sevenDays**: Within seven days'."\n" + .'* **thirtyDays**: Within 30 days'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'sevenDays', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The workspace ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The dataset ID.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'The current page number of the workspace member list:'."\n" + ."\n" + .'* Pages start from page 1.'."\n" + .'* Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of rows per page in a paged query.'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Maximum value: 1,000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '100', + 'title' => '', + ], + ], + [ + 'name' => 'CostTimeAvgMin', + 'in' => 'query', + 'schema' => [ + 'description' => 'The average duration (minutes).'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '685072a0-1fd5-40ef-ae6b-cf94e79e718f', + 'title' => '', + ], + 'Result' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'The diagnostic information about the dataset.'."\n", + 'type' => 'object', + 'properties' => [ + 'CacheCostTimeAvg' => [ + 'description' => 'The average duration of cache hits.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'CacheQueryCount' => [ + 'description' => 'The number of cache hits.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'CostTimeAvg' => [ + 'description' => 'The average query duration associated with the SQL pattern.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'CubeId' => [ + 'description' => 'The dataset ID.'."\n", + 'type' => 'string', + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + 'CubeName' => [ + 'description' => 'The name of the dataset.'."\n", + 'type' => 'string', + 'example' => 'test', + 'title' => '', + ], + 'QueryCount' => [ + 'description' => 'The number of queries.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + 'title' => '', + ], + 'QueryCountAvg' => [ + 'description' => 'The average number of queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'QueryOverFivePercentNum' => [ + 'description' => 'The percentage of the number of queries that exceed the 5S.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1.0', + 'title' => '', + ], + 'QueryOverFiveSecPercent' => [ + 'description' => 'Query the proportion of more than 5S.'."\n", + 'type' => 'string', + 'example' => '1.0', + 'title' => '', + ], + 'QueryOverTenSecPercent' => [ + 'description' => 'The percentage of queries that exceed 10s.'."\n", + 'type' => 'string', + 'example' => '1.0', + 'title' => '', + ], + 'QueryOverTenSecPercentNum' => [ + 'description' => 'The percentage of queries that exceed 10s.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1.0', + 'title' => '', + ], + 'QueryTimeoutCount' => [ + 'description' => 'The number of times that the chart query times out.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'QueryTimeoutCountPercent' => [ + 'description' => 'The percentage of timeout times for chart queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'QuickIndexCostTimeAvg' => [ + 'description' => 'The average time consumed by the Quick engine query.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'QuickIndexQueryCount' => [ + 'description' => 'The number of times that the Quick engine is hit.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'RepeatQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '0.3', + 'title' => '', + ], + 'RepeatQueryPercentNum' => [ + 'description' => 'The number of duplicate queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'title' => '', + ], + 'RepeatSqlQueryCount' => [ + 'description' => 'The number of times the query is repeated.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'RepeatSqlQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '1', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '87c6b145-090c-43e1-9426-8f93be23****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the group.'."\n", + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'description' => 'Array of report objects', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"685072a0-1fd5-40ef-ae6b-cf94e79e718f\\",\\n \\"Result\\": [\\n {\\n \\"CacheCostTimeAvg\\": 1,\\n \\"CacheQueryCount\\": 1,\\n \\"CostTimeAvg\\": 1,\\n \\"CubeId\\": \\"7c7223ae-****-3c744528014b\\",\\n \\"CubeName\\": \\"test\\",\\n \\"QueryCount\\": 50,\\n \\"QueryCountAvg\\": 1,\\n \\"QueryOverFivePercentNum\\": 1,\\n \\"QueryOverFiveSecPercent\\": \\"1.0\\",\\n \\"QueryOverTenSecPercent\\": \\"1.0\\",\\n \\"QueryOverTenSecPercentNum\\": 1,\\n \\"QueryTimeoutCount\\": 1,\\n \\"QueryTimeoutCountPercent\\": 1,\\n \\"QuickIndexCostTimeAvg\\": 1,\\n \\"QuickIndexQueryCount\\": 1,\\n \\"RepeatQueryPercent\\": \\"0.3\\",\\n \\"RepeatQueryPercentNum\\": 1,\\n \\"RepeatSqlQueryCount\\": 1,\\n \\"RepeatSqlQueryPercent\\": \\"1\\",\\n \\"WorkspaceId\\": \\"87c6b145-090c-43e1-9426-8f93be23****\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryCubePerformance', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCubePerformance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryDashboardNl2sql' => [ + 'summary' => 'Query Dashboard\'s Question Resource Information', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3d7ebb8***********500078f4', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3d7ebb8***********500078f4', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '46e537a5****,3dadsu****', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Result of the API execution. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'array', + 'items' => [ + 'description' => 'Returns the result of the API execution.', + 'type' => 'object', + 'properties' => [ + 'DashboardName' => [ + 'title' => '仪表板名称', + 'description' => 'Dashboard name', + 'type' => 'string', + 'example' => '612b', + ], + 'DashboardNl2sqlId' => [ + 'title' => '仪表板问数资源id', + 'description' => 'Dashboard question resource ID', + 'type' => 'string', + 'example' => 'sasdas****sawdau', + ], + 'OwnerId' => [ + 'title' => '仪表板创建者Userid', + 'description' => 'UserID of the dashboard creator', + 'type' => 'string', + 'example' => '46e5374665ba4b679ee22e2a2927****', + ], + 'Authorities' => [ + 'title' => '当该参数有值,并且包含"READ"时,表示该用户对该仪表板问数资源有问数权限', + 'description' => 'If this parameter has a value and includes "READ", it indicates that the user has read permission for the dashboard question resource.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'If this parameter has a value and includes "READ", it indicates that the user has read permission for the dashboard question resource.', + 'type' => 'string', + 'example' => 'READ', + ], + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values: '."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => 'The specified user is not in the organizational unit.', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => 'The user is not a member of the group workspace.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'QueryDashboardNl2sql', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e537a5****,3dadsu****\\",\\n \\"Result\\": [\\n {\\n \\"DashboardName\\": \\"612b\\",\\n \\"DashboardNl2sqlId\\": \\"sasdas****sawdau\\",\\n \\"OwnerId\\": \\"46e5374665ba4b679ee22e2a2927****\\",\\n \\"Authorities\\": [\\n \\"READ\\"\\n ]\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'translator' => 'machine', + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'QueryData' => [ + 'summary' => 'Calls an API that was created in DataService Studio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'ApiId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the API in DataService Studio. For more information, see [DataService Studio](~~144980~~).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'f4cc43bc3***', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID in Quick BI. For more information about how to obtain the user ID, see [QueryUserInfoByAccount](https://next.api.aliyun.com/document/quickbi-public/2022-01-01/QueryUserInfoByAccount).'."\n" + ."\n" + .'> This parameter specifies the identity of the user who uses DataService Studio. You can use it with the row-level and column-level permission configurations of the dataset.'."\n" + ."\n" + .'><notice>'."\n" + ."\n" + .'If you do not pass this parameter, or pass an empty string or null, the user ID of the owner of the current Quick BI organization is used by default.'."\n" + ."\n" + .'></notice>', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'b5d8fd9348cc4327****afb604', + ], + ], + [ + 'name' => 'Conditions', + 'in' => 'query', + 'schema' => [ + 'description' => 'The filter conditions for DataService Studio. Pass the conditions as key-value pairs in a map-type string. The key is the name of the request parameter, and the value is the value of the request parameter. Keys and values must appear in pairs.'."\n" + ."\n" + .'**Note:**'."\n" + ."\n" + .'- If the operator of a request parameter is set to **Enumeration Filter**, the value can contain multiple values. In this case, the value must be in the format of a JSON list. For example: `area=["East China","North China","South China"]`'."\n" + ."\n" + .'- For dates, use the following formats based on the date type:'."\n" + ."\n" + .' - Year: 2019'."\n" + ."\n" + .' - Quarter: 2019Q1'."\n" + ."\n" + .' - Month: 201901 (with a leading zero)'."\n" + ."\n" + .' - Week: 2019-52'."\n" + ."\n" + .' - Day: 20190101'."\n" + ."\n" + .' - Hour: 14:00:00 (minutes and seconds are 00)'."\n" + ."\n" + .' - Minute: 14:12:00 (seconds are 00)'."\n" + ."\n" + .' - Second: 14:34:34', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '{ "area": ["test", "test"], "shopping_date": "2019Q1", }', + ], + ], + [ + 'name' => 'ReturnFields', + 'in' => 'query', + 'schema' => [ + 'description' => 'A list of the names of the returned parameters, in a list-type string format.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '["area", "city", "price", "date"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'a4d1a221d-41za1-****', + ], + 'Result' => [ + 'description' => 'The result of the API call. Valid values:'."\n" + ."\n" + .'- true: The call was successful.'."\n" + ."\n" + .'- false: The call failed.', + 'type' => 'object', + 'properties' => [ + 'Headers' => [ + 'description' => 'The column headers.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Aggregator' => [ + 'description' => 'The aggregate operator. This parameter is returned only for measure fields, such as SUM, AVG, and MAX.'."\n" + ."\n" + .'- SUM: The sum.'."\n" + ."\n" + .'- MAX: The maximum value.'."\n" + ."\n" + .'- MIN: The minimum value.'."\n" + ."\n" + .'- AVG: The average value.'."\n" + ."\n" + .'- COUNT: The count.'."\n" + ."\n" + .'- COUNTD: The count of unique values.'."\n" + ."\n" + .'- STDDEV\\_POP: The population standard deviation.'."\n" + ."\n" + .'- STDDEV\\_SAMP: The sample standard deviation.'."\n" + ."\n" + .'- VAR\\_POP: The population variance.'."\n" + ."\n" + .'- VAR\\_SAMP: The sample variance.', + 'type' => 'string', + 'title' => '', + 'example' => 'SUM', + ], + 'Column' => [ + 'description' => 'The field name. It corresponds to the field name in the physical table.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'DataType' => [ + 'description' => 'The data type of the field. Common types include the following:'."\n" + ."\n" + .'- number'."\n" + ."\n" + .'- string'."\n" + ."\n" + .'- date'."\n" + ."\n" + .'- time'."\n" + ."\n" + .'- datetime', + 'type' => 'string', + 'title' => '', + 'example' => 'string', + ], + 'Granularity' => [ + 'description' => 'The granularity of the dimension field.'."\n" + .'This parameter is returned only when the requested field is a date dimension or a geographic dimension. Valid values:'."\n" + ."\n" + .'- Date granularity: yearRegion (year), monthRegion (month), weekRegion (week), dayRegion (day), hourRegion (hour), minRegion (minute), secRegion (second)'."\n" + ."\n" + .'- Geographic granularity: COUNTRY (country), PROVINCE (province), CITY (city), XIAN (county/district), REGION (region)', + 'type' => 'string', + 'title' => '', + 'example' => 'REGION', + ], + 'Label' => [ + 'description' => 'The alias of the field. It is the key for the map data row in the values result parameter.', + 'type' => 'string', + 'title' => '', + 'example' => 'area', + ], + 'Type' => [ + 'description' => 'The field type. It indicates whether the field is a dimension or a measure.'."\n" + ."\n" + .'- Dimension'."\n" + ."\n" + .'- Measure', + 'type' => 'string', + 'title' => '', + 'example' => 'Dimension', + ], + 'OriginalColumn' => [ + 'type' => 'string', + 'description' => 'The original name of the corresponding field in the dataset.', + 'title' => '', + 'example' => 'area', + ], + ], + 'description' => 'Column headers.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Sql' => [ + 'description' => 'The SQL statement for the query.'."\n" + ."\n" + .'> In addition to the filter conditions passed in the current API call, the returned SQL statement also includes the row-level and column-level permission configurations.', + 'type' => 'string', + 'title' => '', + 'example' => 'SELECT COMPANY_T_1_.`area` AS D_AREA_2_, COMPANY_T_1_.`city` AS D_CITY_3_, SUM(COMPANY_T_1_.`profit_amt`) AS D_PROFIT_4_ FROM `quickbi_test`.`company_sales_record_copy` AS COMPANY_T_1_ WHERE COMPANY_T_1_.`area` LIKE \'%test%\' GROUP BY COMPANY_T_1_.`area`, COMPANY_T_1_.`city` HAVING SUM(COMPANY_T_1_.`order_amt`) > 1 LIMIT 0, 10', + ], + 'Values' => [ + 'description' => 'The query results.', + 'type' => 'array', + 'items' => [ + 'description' => 'The rows and columns of the returned data.'."\n" + ."\n" + .'This parameter has a List\\<Map> structure. Each map represents a row of data. The key in the map corresponds to the `Headers#Label` field.', + 'type' => 'object', + 'title' => '', + 'example' => '[{"area":"test","city":"test"},{"area":"test","city":"test"}]', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'API.No.Permission', + 'errorMessage' => 'You are not authorized to call the data service API operation.', + 'description' => 'You are not authorized to call the data service API operation.', + ], + [ + 'errorCode' => 'API.Not.Exist', + 'errorMessage' => 'The data service API operation does not exist.', + 'description' => 'The data service API operation does not exist.', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Conditions', + 'errorMessage' => 'The specified Conditions is invalid. %s is not defined.', + 'description' => 'The specified Conditions is invalid. %s is not defined.', + ], + [ + 'errorCode' => 'Invalid.Parameter.ReturnFields', + 'errorMessage' => 'The specified returnFields is invalid. %s is not defined.', + 'description' => 'The specified returnFields is invalid. %s is not defined.', + ], + [ + 'errorCode' => 'Missing.Conditions', + 'errorMessage' => 'The specified Conditions is invalid. You must specify %s.', + 'description' => 'The specified Conditions is invalid. You must specify %s.', + ], + [ + 'errorCode' => 'Missing.Dimension.Measure', + 'errorMessage' => 'The dimension or measure %s does not exist in Cube.', + 'description' => 'The dimension or measure %s does not exist in Cube.', + ], + [ + 'errorCode' => 'Rowlevel.Permission.Forbbiden', + 'errorMessage' => 'The request is denied by row level permission. The dataset is %s, %s %s.', + 'description' => 'Request forbidden by row level permission, dataset is %s, %s %s.', + ], + [ + 'errorCode' => 'Datasource.Sql.ExecuteFailed', + 'errorMessage' => 'Failed to execute the SQL statement in the data source.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"a4d1a221d-41za1-****\\",\\n \\"Result\\": {\\n \\"Headers\\": [\\n {\\n \\"Aggregator\\": \\"SUM\\",\\n \\"Column\\": \\"test\\",\\n \\"DataType\\": \\"string\\",\\n \\"Granularity\\": \\"REGION\\",\\n \\"Label\\": \\"area\\",\\n \\"Type\\": \\"Dimension\\",\\n \\"OriginalColumn\\": \\"area\\"\\n }\\n ],\\n \\"Sql\\": \\"SELECT COMPANY_T_1_.`area` AS D_AREA_2_, COMPANY_T_1_.`city` AS D_CITY_3_, SUM(COMPANY_T_1_.`profit_amt`) AS D_PROFIT_4_ FROM `quickbi_test`.`company_sales_record_copy` AS COMPANY_T_1_ WHERE COMPANY_T_1_.`area` LIKE \'%test%\' GROUP BY COMPANY_T_1_.`area`, COMPANY_T_1_.`city` HAVING SUM(COMPANY_T_1_.`order_amt`) > 1 LIMIT 0, 10\\",\\n \\"Values\\": [\\n [\\n {\\n \\"area\\": \\"test\\",\\n \\"city\\": \\"test\\"\\n },\\n {\\n \\"area\\": \\"test\\",\\n \\"city\\": \\"test\\"\\n }\\n ]\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'QueryData', + 'description' => '### Prerequisites'."\n" + ."\n" + .'An API must be created in DataService Studio in Quick BI. For more information, see [DataService Studio](~~144980~~).'."\n" + ."\n" + .'### Limits'."\n" + ."\n" + .'- DataService Studio is available only for the Professional Edition.'."\n" + ."\n" + .'- The timeout period for a DataService Studio API call is 60 s. The queries per second (QPS) for a single API is 10.'."\n" + ."\n" + .'- If you enable row-level permissions for a dataset that is referenced by a DataService Studio API, the row-level access policy intercepts the API calls.', + 'changeSet' => [ + [ + 'createdAt' => '2025-08-11T03:10:11.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryData', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryDataRange' => [ + 'summary' => 'Get Data Range Catalog List', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'title' => '数据范围类型:'."\n" + .'● llmCube:问数资源。'."\n" + .'● llmCubeTheme:分析主题。', + 'description' => 'Data range type:'."\n" + ."\n" + .'- llmCube: LlmCube resource.'."\n" + .'- llmCubeTheme: Analysis theme.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'llmCubeTheme' => 'llmCubeTheme', + 'llmCube' => 'llmCube', + ], + 'example' => 'llmCube', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'title' => '名称,模糊搜索。', + 'description' => 'Name, for fuzzy search.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Data range object.', + 'type' => 'object', + 'properties' => [ + 'ApiCopilotLlmCubeModels' => [ + 'title' => '问数资源数组', + 'description' => 'Array of LlmCube resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'LlmCube resource object.', + 'type' => 'object', + 'properties' => [ + 'Alias' => [ + 'title' => '问数资源别名', + 'description' => 'Alias of the LlmCube resource.', + 'type' => 'string', + 'example' => '测试', + ], + 'CreateUser' => [ + 'title' => '创建人昵称', + 'description' => 'Nickname of the creator.', + 'type' => 'string', + 'example' => '诸葛', + ], + 'LlmCubeId' => [ + 'title' => '问数id', + 'description' => 'LlmCube resource ID.', + 'type' => 'string', + 'example' => 'sdasdafas23342342342', + ], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'ApiCopilotThemeModels' => [ + 'title' => '分析主题数组', + 'description' => 'Array of analysis themes.', + 'type' => 'array', + 'items' => [ + 'description' => 'Analysis theme object.', + 'type' => 'object', + 'properties' => [ + 'ApiCopilotLlmCubeModels' => [ + 'title' => '问数资源数组', + 'description' => 'Array of LlmCube resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'LlmCube resource object.', + 'type' => 'object', + 'properties' => [ + 'Alias' => [ + 'title' => '问数资源别名', + 'description' => 'Alias of the LLM cube resource.', + 'type' => 'string', + 'example' => '测哈', + ], + 'CreateUser' => [ + 'title' => '创建人昵称', + 'description' => 'Nickname of the creator.', + 'type' => 'string', + 'example' => '诸葛', + ], + 'LlmCubeId' => [ + 'title' => '问数id', + 'description' => 'LlmCube resource ID.', + 'type' => 'string', + 'example' => '1231242231asdasda', + ], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'CreateUser' => [ + 'title' => '创建人昵称', + 'description' => 'Nickname of the creator.', + 'type' => 'string', + 'example' => '诸葛', + ], + 'ThemeId' => [ + 'title' => '分析主题id', + 'description' => 'Analysis theme ID.', + 'type' => 'string', + 'example' => '36631232342312312', + ], + 'ThemeName' => [ + 'title' => '分析主题昵称', + 'description' => 'Nickname of the analysis theme.', + 'type' => 'string', + 'example' => '测试主题', + ], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Success\\": true,\\n \\"Result\\": {\\n \\"ApiCopilotLlmCubeModels\\": [\\n {\\n \\"Alias\\": \\"测试\\",\\n \\"CreateUser\\": \\"诸葛\\",\\n \\"LlmCubeId\\": \\"sdasdafas23342342342\\"\\n }\\n ],\\n \\"ApiCopilotThemeModels\\": [\\n {\\n \\"ApiCopilotLlmCubeModels\\": [\\n {\\n \\"Alias\\": \\"测哈\\",\\n \\"CreateUser\\": \\"诸葛\\",\\n \\"LlmCubeId\\": \\"1231242231asdasda\\"\\n }\\n ],\\n \\"CreateUser\\": \\"诸葛\\",\\n \\"ThemeId\\": \\"36631232342312312\\",\\n \\"ThemeName\\": \\"测试主题\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Get Data Range Catalog List', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDataRange', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryDataService' => [ + 'summary' => 'Invoke an already created API in the data service.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'ApiId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The API ID in the data service. For more information, see [Data Service](~~144980~~).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4cc43bc3***', + 'title' => '', + ], + ], + [ + 'name' => 'Conditions', + 'in' => 'query', + 'schema' => [ + 'description' => 'The query conditions for the data service, passed in as Key-Value pairs. This is a map-type string. Here, Key is the name of the request parameter, and Value is the value of the request parameter. Keys and Values must appear in pairs.'."\n" + ."\n" + .'**Note:**'."\n" + ."\n" + .'- When the operator of the request parameter is set to **enumeration filter**, the value can contain multiple values. In this case, the format of the value is a JSON list. For example: `area=["East China","North China","South China"]` '."\n" + ."\n" + .'- For dates, different formats are provided based on the type:'."\n" + ."\n" + .' - Year: 2019'."\n" + ."\n" + .' - Quarter: 2019Q1'."\n" + ."\n" + .' - Month: 201901 (with leading zero)'."\n" + .' '."\n" + .' - Week: 2019-52'."\n" + ."\n" + .' - Day: 20190101'."\n" + ."\n" + .' - Hour: 14:00:00 (minutes and seconds are 00)'."\n" + .' '."\n" + .' - Minute: 14:12:00 (seconds are 00)'."\n" + ."\n" + .' - Second: 14:34:34', + 'type' => 'string', + 'required' => false, + 'example' => '{ "area": ["华东", "华北"], "shopping_date": "2019Q1", }', + 'title' => '', + ], + ], + [ + 'name' => 'ReturnFields', + 'in' => 'query', + 'schema' => [ + 'description' => 'A list of parameter names to be returned, as a List-type string.', + 'type' => 'string', + 'required' => false, + 'example' => '["area", "city", "price", "date"]', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful'."\n" + ."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the interface query.', + 'type' => 'object', + 'properties' => [ + 'Headers' => [ + 'description' => 'Column headers.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Aggregator' => [ + 'description' => 'Aggregation operator. Only present for measure fields, such as SUM, AVG, and MAX.', + 'type' => 'string', + 'example' => 'SUM', + 'title' => '', + ], + 'Column' => [ + 'description' => 'Field name, corresponding to the physical table field name.', + 'type' => 'string', + 'example' => '具体的物理字段名', + 'title' => '', + ], + 'DataType' => [ + 'description' => 'The data type of the field. Common types include number, string, date, datetime, time, and geographic.', + 'type' => 'string', + 'example' => 'string', + 'title' => '', + ], + 'Granularity' => [ + 'description' => 'The granularity of the dimension field.'."\n" + .'This field is returned only when the requested field is a date or geographic dimension, with the following possible values:'."\n" + ."\n" + .'- Date granularity: yearRegion (year), monthRegion (month), weekRegion (week), dayRegion (day), hourRegion (hour), minRegion (minute), secRegion (second)'."\n" + ."\n" + .'- Geographic granularity: COUNTRY (country level), PROVINCE (province level), CITY (city level), XIAN (district/county level), REGION (region)', + 'type' => 'string', + 'example' => 'yearRegion', + 'title' => '', + ], + 'Label' => [ + 'description' => 'Alias for the field, serving as the key in the map data row of the values parameter.', + 'type' => 'string', + 'example' => 'area', + 'title' => '', + ], + 'Type' => [ + 'description' => 'Field type, used to distinguish between dimension and measure fields.', + 'type' => 'string', + 'example' => 'StandardDimension', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Sql' => [ + 'description' => 'The SQL of the query request.', + 'type' => 'string', + 'example' => 'SELECT COMPANY_T_1_.`area` AS D_AREA_2_, COMPANY_T_1_.`city` AS D_CITY_3_, SUM(COMPANY_T_1_.`profit_amt`) AS D_PROFIT_4_ FROM `quickbi_test`.`company_sales_record_copy` AS COMPANY_T_1_ WHERE COMPANY_T_1_.`area` LIKE \'%华东%\' GROUP BY COMPANY_T_1_.`area`, COMPANY_T_1_.`city` HAVING SUM(COMPANY_T_1_.`order_amt`) > 1 LIMIT 0, 10', + 'title' => '', + ], + 'Values' => [ + 'description' => 'The queried results returned.', + 'type' => 'array', + 'items' => [ + 'description' => 'Rows and columns of the returned data.'."\n" + ."\n" + .'This parameter is a List<Map> structure, where each Map represents a row of data. The Key in the Map corresponds to the Headers#Label field.', + 'type' => 'object', + 'example' => '[{"area":"华东","city":"三明市"},{"area":"华东","city":"上海市"}]', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'API.No.Permission', + 'errorMessage' => 'You are not authorized to call the data service API operation.', + 'description' => '', + ], + [ + 'errorCode' => 'API.Not.Exist', + 'errorMessage' => 'The data service API operation does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.Conditions', + 'errorMessage' => 'The specified Conditions is invalid. %s is not defined.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.ReturnFields', + 'errorMessage' => 'The specified returnFields is invalid. %s is not defined.', + 'description' => '', + ], + [ + 'errorCode' => 'Missing.Conditions', + 'errorMessage' => 'The specified Conditions is invalid. You must specify %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Missing.Dimension.Measure', + 'errorMessage' => 'The dimension or measure %s does not exist in Cube.', + 'description' => '', + ], + [ + 'errorCode' => 'Rowlevel.Permission.Forbbiden', + 'errorMessage' => 'The request is denied by row level permission. The dataset is %s, %s %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Datasource.Sql.ExecuteFailed', + 'errorMessage' => 'Failed to execute the SQL statement in the data source.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'quickbi-public::2022-01-01::QueryData', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"78C1AA2D-9201-599E-A0BA-6FC462E57A95\\",\\n \\"Result\\": {\\n \\"Headers\\": [\\n {\\n \\"Aggregator\\": \\"SUM\\",\\n \\"Column\\": \\"具体的物理字段名\\",\\n \\"DataType\\": \\"string\\",\\n \\"Granularity\\": \\"yearRegion\\",\\n \\"Label\\": \\"area\\",\\n \\"Type\\": \\"StandardDimension\\"\\n }\\n ],\\n \\"Sql\\": \\"SELECT COMPANY_T_1_.`area` AS D_AREA_2_, COMPANY_T_1_.`city` AS D_CITY_3_, SUM(COMPANY_T_1_.`profit_amt`) AS D_PROFIT_4_ FROM `quickbi_test`.`company_sales_record_copy` AS COMPANY_T_1_ WHERE COMPANY_T_1_.`area` LIKE \'%华东%\' GROUP BY COMPANY_T_1_.`area`, COMPANY_T_1_.`city` HAVING SUM(COMPANY_T_1_.`order_amt`) > 1 LIMIT 0, 10\\",\\n \\"Values\\": [\\n [\\n {\\n \\"area\\": \\"华东\\",\\n \\"city\\": \\"三明市\\"\\n },\\n {\\n \\"area\\": \\"华东\\",\\n \\"city\\": \\"上海市\\"\\n }\\n ]\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryDataServiceResponse>\\n <Success>true</Success>\\n <RequestId>78C1AA2D-9201-599E-A0BA-6FC462E57A95</RequestId>\\n <Result>\\n <Sql>SELECT COMPANY_T_1_.`area` AS D_AREA_2_, COMPANY_T_1_.`city` AS D_CITY_3_, SUM(COMPANY_T_1_.`profit_amt`) AS D_PROFIT_4_ FROM `quickbi_test`.`company_sales_record_copy` AS COMPANY_T_1_ WHERE COMPANY_T_1_.`area` LIKE \'%华东%\' GROUP BY COMPANY_T_1_.`area`, COMPANY_T_1_.`city` HAVING SUM(COMPANY_T_1_.`order_amt`) > 1 LIMIT 0, 10</Sql>\\n <Headers>\\n <Type>StandardDimension</Type>\\n <DataType>string</DataType>\\n <Granularity>yearRegion</Granularity>\\n <Label>area</Label>\\n <Column>具体的物理字段名</Column>\\n <Aggregator>SUM</Aggregator>\\n </Headers>\\n <Values/>\\n </Result>\\n</QueryDataServiceResponse>","errorExample":""}]', + 'title' => 'Invoke Data Service API', + 'description' => '#### Prerequisites'."\n" + ."\n" + .'You create the data service API through Quick BI\'s data service. For more details, see [Data Service](~~144980~~).'."\n" + ."\n" + .'#### Usage Restrictions'."\n" + ."\n" + .'* The data service feature is only available to professional edition customers. '."\n" + .'* The timeout for data service API calls is 60s, and the QPS for a single API is 10 times/second.'."\n" + .'* If row-level permissions are enabled on the dataset referenced by the data service API, the API call may be intercepted by the row-level permission policy.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDataService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'QueryDataServiceList' => [ + 'summary' => 'Query Data Service API List', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'Data service name.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试sql', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dasdfdsa-csddf-dsadsa', + 'title' => '', + ], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => [ + 'description' => 'Page number. Default value: **1**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => true, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of items per page in a paginated query:'."\n" + ."\n" + .'- Default value: 10'."\n" + .'- Maximum value: 1000', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => true, + 'example' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Return result.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Data service information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => 'The model of the data service in JSON format.', + 'type' => 'object', + 'properties' => [ + 'CubeId' => [ + 'description' => 'Cube identifier ID.', + 'type' => 'string', + 'example' => '56f9f34a-bdba-496a-91a3-a18b1ff73a80', + 'title' => '', + ], + 'CubeName' => [ + 'description' => 'Dataset name.', + 'type' => 'string', + 'example' => '测试数据集', + 'title' => '', + ], + 'Detail' => [ + 'description' => 'Detail or Summary', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Filter' => [ + 'description' => 'Request parameter information.', + 'type' => 'object', + 'properties' => [ + 'Filters' => [ + 'description' => 'Combined conditions.', + 'type' => 'array', + 'items' => [ + 'description' => 'JSON string of detailed hierarchical portal menu list. The value range includes:'."\n" + ."\n" + .'- Type: type.'."\n" + .' - 1.basic: basic'."\n" + .' - 2.combined: complex'."\n" + .'- field: corresponding cube field'."\n" + .'- alias: parameter name'."\n" + .'- desc: field description'."\n" + .'- aggregator: aggregation function'."\n" + .'- operator: operator'."\n" + .'- essential: whether it is required'."\n" + .'- defaultValue: system default value. If not provided in the API call, this value will be used as a replacement.'."\n" + .'- interval: date offset. This is valid for dates, representing the relative value to the default value or the parameter value.'."\n" + .'- logicalOperator: logical operator'."\n" + .'- filters: combined conditions (this is a nested structure)', + 'type' => 'object', + 'example' => '[{'."\n" + .' "field": {'."\n" + .' "fid": "1c1f88cb7d",'."\n" + .' "granularity": "yearRegion",'."\n" + .' "dataType": "datetime",'."\n" + .' "column": "s_date",'."\n" + .' "caption": "日期(year)",'."\n" + .' "type": "dimension"'."\n" + .' },'."\n" + .' "defaultValue": ["2024"],'."\n" + .' "alias": "s_date",'."\n" + .' "type": "basic",'."\n" + .' "operator": "equal-to",'."\n" + .' "essential": true'."\n" + .'}]', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + 'LogicalOperator' => [ + 'description' => 'Logical relationship between multiple SQL text keywords.'."\n" + ."\n" + .'- **or**: or'."\n" + .'- **and**: and', + 'type' => 'string', + 'example' => 'and', + 'title' => '', + ], + 'Type' => [ + 'description' => 'Type.'."\n" + ."\n" + .'- basic: basic'."\n" + .'- combined: complex', + 'type' => 'string', + 'example' => 'basic', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ReturnFields' => [ + 'description' => 'Return information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Aggregator' => [ + 'description' => 'Aggregation operator. For example, SUM, AVG, and MAX.', + 'type' => 'string', + 'example' => 'SUM', + 'title' => '', + ], + 'Alias' => [ + 'description' => 'Field parameter name.', + 'type' => 'string', + 'example' => 's_number', + 'title' => '', + ], + 'Desc' => [ + 'description' => 'Remark for the returned field.', + 'type' => 'string', + 'example' => '主题配置已存在。', + 'title' => '', + ], + 'Field' => [ + 'description' => 'Corresponding cube field information.', + 'type' => 'object', + 'properties' => [ + 'Caption' => [ + 'description' => 'Display name in the cube model (can be in Chinese or English).', + 'type' => 'string', + 'example' => '日期(year)', + 'title' => '', + ], + 'Column' => [ + 'description' => 'The corresponding physical field name.', + 'type' => 'string', + 'example' => 'shid_star', + 'title' => '', + ], + 'DataType' => [ + 'description' => 'Data type.'."\n" + ."\n" + .'- number: numeric'."\n" + .'- string: string'."\n" + .'- date: date'."\n" + .'- datetime: datetime'."\n" + .'- time: time'."\n" + .'- geographic: geographic'."\n" + .'- boolean: boolean'."\n" + .'- url: URL', + 'type' => 'string', + 'example' => 'datetime', + 'title' => '', + ], + 'Fid' => [ + 'description' => 'Unique identifier for the original field.', + 'type' => 'string', + 'example' => '1c1f88cb7d', + 'title' => '', + ], + 'Granularity' => [ + 'description' => 'This attribute is included for date and geographic dimensions, indicating the supported granularity.', + 'type' => 'string', + 'example' => 'yearRegion', + 'title' => '', + ], + 'Name' => [ + 'description' => 'Unique name of the cube field, mainly used for unique positioning in the returned result.', + 'type' => 'string', + 'example' => 'sss', + 'title' => '', + ], + 'Type' => [ + 'description' => 'Type.'."\n" + ."\n" + .'- Dimension: Dimension'."\n" + .'- Measure: Measure', + 'type' => 'string', + 'example' => 'dimension', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Orderby' => [ + 'description' => 'Sorting.'."\n" + ."\n" + .'- asc: Ascending'."\n" + .'- desc: Descending'."\n" + .'- no: No sorting', + 'type' => 'string', + 'example' => 'no', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'CreatorId' => [ + 'description' => 'Creator ID.', + 'type' => 'string', + 'example' => '7cb94cd48701', + 'title' => '', + ], + 'CreatorName' => [ + 'description' => 'Creator\'s name.', + 'type' => 'string', + 'example' => '张仔龙', + 'title' => '', + ], + 'CubeId' => [ + 'description' => 'Cube identifier ID.', + 'type' => 'string', + 'example' => 'd14e7448-0eb3-40d3-9375-4afef8de29fd', + 'title' => '', + ], + 'CubeName' => [ + 'description' => 'Dataset name.', + 'type' => 'string', + 'example' => '测试数据集', + 'title' => '', + ], + 'Desc' => [ + 'description' => 'Description', + 'type' => 'string', + 'example' => '测试用', + 'title' => '', + ], + 'GmtCreate' => [ + 'description' => 'Creation time.', + 'type' => 'string', + 'example' => '2023-05-18 14:00:02.0', + 'title' => '', + ], + 'GmtModified' => [ + 'description' => 'Modification time.', + 'type' => 'string', + 'example' => '2023-03-21 18:02:36', + 'title' => '', + ], + 'ModifierId' => [ + 'description' => 'Modifier\'s userId.', + 'type' => 'string', + 'example' => '7cb94cd48701', + 'title' => '', + ], + 'ModifierName' => [ + 'description' => 'Modifier\'s name', + 'type' => 'string', + 'example' => '张仔龙'."\n", + 'title' => '', + ], + 'Name' => [ + 'description' => 'Data service name.', + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'Owner ID', + 'type' => 'string', + 'example' => '862801339', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'Owner\'s name', + 'type' => 'string', + 'example' => '李四', + 'title' => '', + ], + 'Sid' => [ + 'description' => 'Unique ID of the data service.', + 'type' => 'string', + 'example' => 'dtsuq3i31f5j8v848b', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'example' => '7350a155-0e94-4c6c-8620-57bbec38****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'Workspace name.', + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'Page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'Number of records per page.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'Total number of rows.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'Total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + .'- true: The request was successful '."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"78C1AA2D-9201-599E-A0BA-6FC462E57A95\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"Content\\": {\\n \\"CubeId\\": \\"56f9f34a-bdba-496a-91a3-a18b1ff73a80\\",\\n \\"CubeName\\": \\"测试数据集\\",\\n \\"Detail\\": true,\\n \\"Filter\\": {\\n \\"Filters\\": [\\n [\\n {\\n \\"field\\": {\\n \\"fid\\": \\"1c1f88cb7d\\",\\n \\"granularity\\": \\"yearRegion\\",\\n \\"dataType\\": \\"datetime\\",\\n \\"column\\": \\"s_date\\",\\n \\"caption\\": \\"日期(year)\\",\\n \\"type\\": \\"dimension\\"\\n },\\n \\"defaultValue\\": [\\n \\"2024\\"\\n ],\\n \\"alias\\": \\"s_date\\",\\n \\"type\\": \\"basic\\",\\n \\"operator\\": \\"equal-to\\",\\n \\"essential\\": true\\n }\\n ]\\n ],\\n \\"LogicalOperator\\": \\"and\\",\\n \\"Type\\": \\"basic\\"\\n },\\n \\"ReturnFields\\": [\\n {\\n \\"Aggregator\\": \\"SUM\\",\\n \\"Alias\\": \\"s_number\\",\\n \\"Desc\\": \\"主题配置已存在。\\",\\n \\"Field\\": {\\n \\"Caption\\": \\"日期(year)\\",\\n \\"Column\\": \\"shid_star\\",\\n \\"DataType\\": \\"datetime\\",\\n \\"Fid\\": \\"1c1f88cb7d\\",\\n \\"Granularity\\": \\"yearRegion\\",\\n \\"Name\\": \\"sss\\",\\n \\"Type\\": \\"dimension\\"\\n },\\n \\"Orderby\\": \\"no\\"\\n }\\n ]\\n },\\n \\"CreatorId\\": \\"7cb94cd48701\\",\\n \\"CreatorName\\": \\"张仔龙\\",\\n \\"CubeId\\": \\"d14e7448-0eb3-40d3-9375-4afef8de29fd\\",\\n \\"CubeName\\": \\"测试数据集\\",\\n \\"Desc\\": \\"测试用\\",\\n \\"GmtCreate\\": \\"2023-05-18 14:00:02.0\\",\\n \\"GmtModified\\": \\"2023-03-21 18:02:36\\",\\n \\"ModifierId\\": \\"7cb94cd48701\\",\\n \\"ModifierName\\": \\"张仔龙\\\\n\\",\\n \\"Name\\": \\"测试报表\\",\\n \\"OwnerId\\": \\"862801339\\",\\n \\"OwnerName\\": \\"李四\\",\\n \\"Sid\\": \\"dtsuq3i31f5j8v848b\\",\\n \\"WorkspaceId\\": \\"7350a155-0e94-4c6c-8620-57bbec38****\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryDataServiceList', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDataServiceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryDatasetDetailInfo' => [ + 'summary' => 'Queries the details of a specified dataset, including the data source, directory, and dataset model.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DatasetId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the training dataset that you want to remove from the specified custom linguistic model.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '5820f58c-c734-4d8a-baf1-7979af4f****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the dataset data in JSON format: `{ "cube": { "dimensions": [ { "caption": "customer name", "dataType": "string", "dimensionType": "standard_dimension", "factColumn": "customer_name", "uid": "N5820f5_customer_name" }, { "caption": "datastring", "" standard_dimension", "factColumn": "order_id", "uid": "N5820f5_order_id" }, ], "measures": [ { "caption": "order amount ", "dataType": "number", "factColumn": "order_amt", "measureType": "standard_measure ": " Nderamid " }, " { "customsql": false, "dsId": "261b252d-c3c3-498a-a0a7-5d1ec6cd****", "tableName": "company_sales_record_copy" } }, "datasetId": "5820f58c-c734-4d8a-baf1-7979af4f****", "datasetName": "company_sales_record_copy12", "datasource": { "dsId": "261b252d-c3c3-498a-a0a7-5d1ec6cd****", "dsName": "Self-use", "dsType": "mysql" }, "directory" { "id": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "name": "My dataset", "pathId": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "pathName": "My dataset" }, "ownerId": "13651626232****", "ownerName": "Zhang San", "rowLevel": false, "workspaceId": "95296e95-ca89-4c7d-8af9-dedf0ad0****", "workspaceName": "Test Workspace" }`'."\n", + 'type' => 'string', + 'example' => '返回JSON格式的数据集数据,详见左侧说明。', + 'title' => '', + ], + 'Success' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'Not.WorkspaceCube.Error', + 'errorMessage' => 'You can only use the %s dataset of the current workspace.', + 'description' => 'You can only use the dataset of the current workspace.', + ], + [ + 'errorCode' => 'DatasourceId.IsNull.Error', + 'errorMessage' => 'You must select a data source before selecting the table.', + 'description' => 'You must select a data source before selecting the table.', + ], + [ + 'errorCode' => 'Datasource.UserPermission.Error', + 'errorMessage' => 'You do not have datasource authorization.', + 'description' => 'You do not have datasource authorization.', + ], + [ + 'errorCode' => 'CubeDimension.NotExist.Error', + 'errorMessage' => 'The dimension does not exist in the dataset. The dimension ID is %s.', + 'description' => 'The dimension does not exist in the dataset. The dimension ID:%s.', + ], + ], + ], + 'title' => 'QueryDatasetDetailInfo', + 'description' => 'The data source, directory, and dataset model (including dimensions, measures, physical fields, custom SQL text, and association relationships).'."\n", + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetDetailInfo', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetDetailInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": \\"返回JSON格式的数据集数据,详见左侧说明。\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'QueryDatasetInfo' => [ + 'summary' => 'Indicates whether the table is a custom SQL table. Valid values:'."\n" + ."\n" + .'\\\\* true: custom SQL table'."\n" + .'\\\\* false: non-custom SQL table', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'DatasetId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Queries information about a specified dataset.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'a201c85c-******', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Whether the operation is successfully returned. Valid values:'."\n" + ."\n" + .'* true: The call is successful.'."\n" + .'* false: The call fails.'."\n", + 'type' => 'string', + 'example' => 'a4d1a221d-41za1-****', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The dataset information.'."\n", + 'type' => 'object', + 'properties' => [ + 'CubeTableList' => [ + 'description' => 'The unique ID of the dataset.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Caption' => [ + 'description' => 'Indicates whether the data source table is valid. Valid values:'."\n" + ."\n" + .'* true: data source table'."\n" + .'* false: custom table'."\n", + 'type' => 'string', + 'example' => 'odps_40', + 'title' => '', + ], + 'Customsql' => [ + 'description' => 'The display name of the table.'."\n", + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', + ], + 'DatasourceId' => [ + 'description' => 'The name of the table.'."\n", + 'type' => 'string', + 'example' => 'dfefd7f4-fc6e-42c9-b4******', + 'title' => '', + ], + 'DsType' => [ + 'description' => 'The ID of the data source.'."\n", + 'type' => 'string', + 'example' => 'maxcompute', + 'title' => '', + ], + 'FactTable' => [ + 'description' => 'The unique ID of the table.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Sql' => [ + 'description' => 'Indicates whether the table is a custom SQL table. Valid values:'."\n" + ."\n" + .'* true: custom SQL table'."\n" + .'* false: non-custom SQL table'."\n", + 'type' => 'string', + 'example' => 'select * from ****', + 'title' => '', + ], + 'TableName' => [ + 'description' => 'The list of tables used by the dataset.'."\n", + 'type' => 'string', + 'example' => 'viewdasb8494aab2612473cb74992159fe****', + 'title' => '', + ], + 'UniqueId' => [ + 'description' => 'The type of the data source. Valid values:'."\n" + ."\n" + .'* mysql'."\n" + .'* odps'."\n" + .'* oracle'."\n" + .'* ... and other data source types supported by Quick BI'."\n", + 'type' => 'string', + 'example' => '7a62530b36', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'CustimzeSql' => [ + 'description' => 'The unique ID of the workspace to which the dataset belongs.'."\n", + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', + ], + 'DatasetId' => [ + 'description' => 'The type of the data source. Valid values:'."\n" + ."\n" + .'* mysql'."\n" + .'* odps'."\n" + .'* oracle'."\n" + .'* ... Data source types supported by Quick BI such as'."\n", + 'type' => 'string', + 'example' => 'a201c85c-******', + 'title' => '', + ], + 'DatasetName' => [ + 'description' => 'The user ID of the dataset owner in the Quick BI.'."\n", + 'type' => 'string', + 'example' => 'opds_40', + 'title' => '', + ], + 'DimensionList' => [ + 'description' => 'A list of all dimensions in the dataset.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Caption' => [ + 'description' => 'The unique ID of the field that is referenced by the group measure. Non-NULL if and only if the metric is a grouping metric.'."\n", + 'type' => 'string', + 'example' => 'city', + 'title' => '', + ], + 'DataType' => [ + 'description' => 'A list of all dimensions in the dataset.'."\n", + 'type' => 'string', + 'example' => 'string', + 'title' => '', + ], + 'DimensionType' => [ + 'description' => 'The actual physical field.'."\n", + 'type' => 'string', + 'example' => 'group_dimension', + 'title' => '', + ], + 'Expression' => [ + 'description' => 'Data type; value:'."\n" + ."\n" + .'* string: character'."\n" + .'* number: a number'."\n" + .'* datetime: time'."\n", + 'type' => 'string', + 'example' => 'example_expression', + 'title' => '', + ], + 'FactColumn' => [ + 'description' => 'Expression for a calculated dimension; valid only for calculated dimensions.'."\n", + 'type' => 'string', + 'example' => 'city', + 'title' => '', + ], + 'FieldDescription' => [ + 'description' => 'The description of the field.'."\n", + 'type' => 'string', + 'example' => 'hhhh', + 'title' => '', + ], + 'Granularity' => [ + 'description' => 'The type of the dimension. Valid values:'."\n" + ."\n" + .'* standard_dimension: General Dimension'."\n" + .'* calculate_dimension: calculating dimensions'."\n" + .'* group_dimension: grouping dimensions'."\n", + 'type' => 'string', + 'example' => 'example_granularity', + 'title' => '', + ], + 'RefUid' => [ + 'description' => 'The granularity.'."\n", + 'type' => 'string', + 'example' => '308f7****', + 'title' => '', + ], + 'TableUniqueId' => [ + 'description' => 'The ARN.'."\n", + 'type' => 'string', + 'example' => '7a62530***', + 'title' => '', + ], + 'Uid' => [ + 'description' => 'The display name of the dimension.'."\n", + 'type' => 'string', + 'example' => 'a69774***', + 'title' => '', + ], + 'ExpressionV2' => [ + 'description' => 'Expression for the flattened calculation dimensions.', + 'type' => 'string', + 'example' => 'example_expression', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Directory' => [ + 'description' => 'The unique ID of the metric.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'Test directory'."\n", + 'type' => 'string', + 'example' => 'a3eecab7-618d-4f9f-*****', + 'title' => '', + ], + 'Name' => [ + 'description' => 'Test directory'."\n", + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + 'PathId' => [ + 'description' => 'The information about the directory to which the dataset belongs.'."\n", + 'type' => 'string', + 'example' => '88b680****', + 'title' => '', + ], + 'PathName' => [ + 'description' => 'The path of the directory ID, for example, aa/bb/cc/dd.'."\n", + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'DsId' => [ + 'description' => 'The name of the data source.'."\n", + 'type' => 'string', + 'example' => 'a201c85c-******', + 'title' => '', + ], + 'DsName' => [ + 'description' => 'The time when the dataset was last modified.'."\n", + 'type' => 'string', + 'example' => 'odps', + 'title' => '', + ], + 'DsType' => [ + 'description' => 'The point in time when the training dataset was created.'."\n", + 'type' => 'string', + 'example' => 'odps', + 'title' => '', + ], + 'GmtCreate' => [ + 'description' => 'Indicates whether to customize SQL statements. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'string', + 'example' => '1629450382000', + 'title' => '', + ], + 'GmtModify' => [ + 'description' => 'The information about the dataset.'."\n", + 'type' => 'string', + 'example' => '1629450382000', + 'title' => '', + ], + 'MeasureList' => [ + 'description' => 'A list of all measures for the dataset.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Caption' => [ + 'description' => 'The actual physical field.'."\n", + 'type' => 'string', + 'example' => 'profit_amt', + 'title' => '', + ], + 'DataType' => [ + 'description' => 'A list of all measures for the dataset.'."\n", + 'type' => 'string', + 'example' => 'string', + 'title' => '', + ], + 'Expression' => [ + 'description' => 'Data type; value:'."\n" + ."\n" + .'* string: character'."\n" + .'* number: a number'."\n" + .'* datetime: time'."\n", + 'type' => 'string', + 'example' => 'example_expression', + 'title' => '', + ], + 'FactColumn' => [ + 'description' => 'The type of the measure. Valid values:'."\n" + ."\n" + .'* standard_measure: General Metrics'."\n" + .'* calculate_measure: Calculating Measures'."\n", + 'type' => 'string', + 'example' => 'profit_amt', + 'title' => '', + ], + 'FieldDescription' => [ + 'description' => 'The description of the field.'."\n", + 'type' => 'string', + 'example' => 'asadsda', + 'title' => '', + ], + 'MeasureType' => [ + 'description' => 'An expression that calculates a measure; valid only for calculated measures.'."\n", + 'type' => 'string', + 'example' => 'calculate_measure', + 'title' => '', + ], + 'TableUniqueId' => [ + 'description' => 'The display name of the metric.'."\n", + 'type' => 'string', + 'example' => '7a62530b36', + 'title' => '', + ], + 'Uid' => [ + 'description' => 'The unique ID of the table to which the table belongs, which corresponds to the UniqueId of the CubeTypeList.'."\n", + 'type' => 'string', + 'example' => '88b680****', + 'title' => '', + ], + 'ExpressionV2' => [ + 'description' => 'Expression for flattened computation metrics.', + 'type' => 'string', + 'example' => 'example_expression', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'OpenOfflineAcceleration' => [ + 'description' => 'Whether to enable extraction acceleration. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'Test Space'."\n", + 'type' => 'string', + 'example' => 'b8494aab26124*****', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'The unique ID of the data source.'."\n", + 'type' => 'string', + 'example' => '大娃', + 'title' => '', + ], + 'RowLevel' => [ + 'description' => 'The name of the training dataset.'."\n", + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'Whether row-level permissions are enabled. Valid values:'."\n" + ."\n" + .'* true: The VIP Netty channel is enabled.'."\n" + .'* false: The VIP Netty channel is disabled.'."\n", + 'type' => 'string', + 'example' => '420abef4-a79b-4289-b12****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'Big Baby'."\n", + 'type' => 'string', + 'example' => '测试空间', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'The unique ID of the dataset.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'Not.WorkspaceCube.Error', + 'errorMessage' => 'You can only use the %s dataset of the current workspace.', + 'description' => 'You can only use the dataset of the current workspace.', + ], + [ + 'errorCode' => 'Decryption.Error', + 'errorMessage' => 'An error occurred while decoding.', + 'description' => 'An error occurred while decoding.', + ], + [ + 'errorCode' => 'Datasource.UserPermission.Error', + 'errorMessage' => 'You do not have datasource authorization.', + 'description' => 'You do not have datasource authorization.', + ], + [ + 'errorCode' => 'CubeMeta.ToXml.Error', + 'errorMessage' => 'An error occurred while converting the data object to the XML format.', + 'description' => 'An error occurred while converting the data object to the XML format.', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => 'The specified data source does not exist: %s.', + ], + [ + 'errorCode' => 'Cube.ParseToXml.Error', + 'errorMessage' => 'An error occurred while parsing a dataset object to XML format.', + 'description' => 'An error occurred while parsing a dataset object to XML format.', + ], + [ + 'errorCode' => 'DatasourceId.IsNull.Error', + 'errorMessage' => 'You must select a data source before selecting the table.', + 'description' => 'You must select a data source before selecting the table.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"a4d1a221d-41za1-****\\",\\n \\"Result\\": {\\n \\"CubeTableList\\": [\\n {\\n \\"Caption\\": \\"odps_40\\",\\n \\"Customsql\\": false,\\n \\"DatasourceId\\": \\"dfefd7f4-fc6e-42c9-b4******\\",\\n \\"DsType\\": \\"maxcompute\\",\\n \\"FactTable\\": true,\\n \\"Sql\\": \\"select * from ****\\",\\n \\"TableName\\": \\"viewdasb8494aab2612473cb74992159fe****\\",\\n \\"UniqueId\\": \\"7a62530b36\\"\\n }\\n ],\\n \\"CustimzeSql\\": false,\\n \\"DatasetId\\": \\"a201c85c-******\\",\\n \\"DatasetName\\": \\"opds_40\\",\\n \\"DimensionList\\": [\\n {\\n \\"Caption\\": \\"city\\",\\n \\"DataType\\": \\"string\\",\\n \\"DimensionType\\": \\"group_dimension\\",\\n \\"Expression\\": \\"example_expression\\",\\n \\"FactColumn\\": \\"city\\",\\n \\"FieldDescription\\": \\"hhhh\\",\\n \\"Granularity\\": \\"example_granularity\\",\\n \\"RefUid\\": \\"308f7****\\",\\n \\"TableUniqueId\\": \\"7a62530***\\",\\n \\"Uid\\": \\"a69774***\\",\\n \\"ExpressionV2\\": \\"example_expression\\"\\n }\\n ],\\n \\"Directory\\": {\\n \\"Id\\": \\"a3eecab7-618d-4f9f-*****\\",\\n \\"Name\\": \\"测试目录\\",\\n \\"PathId\\": \\"88b680****\\",\\n \\"PathName\\": \\"测试目录\\"\\n },\\n \\"DsId\\": \\"a201c85c-******\\",\\n \\"DsName\\": \\"odps\\",\\n \\"DsType\\": \\"odps\\",\\n \\"GmtCreate\\": \\"1629450382000\\",\\n \\"GmtModify\\": \\"1629450382000\\",\\n \\"MeasureList\\": [\\n {\\n \\"Caption\\": \\"profit_amt\\",\\n \\"DataType\\": \\"string\\",\\n \\"Expression\\": \\"example_expression\\",\\n \\"FactColumn\\": \\"profit_amt\\",\\n \\"FieldDescription\\": \\"asadsda\\",\\n \\"MeasureType\\": \\"calculate_measure\\",\\n \\"TableUniqueId\\": \\"7a62530b36\\",\\n \\"Uid\\": \\"88b680****\\",\\n \\"ExpressionV2\\": \\"example_expression\\"\\n }\\n ],\\n \\"OpenOfflineAcceleration\\": false,\\n \\"OwnerId\\": \\"b8494aab26124*****\\",\\n \\"OwnerName\\": \\"大娃\\",\\n \\"RowLevel\\": false,\\n \\"WorkspaceId\\": \\"420abef4-a79b-4289-b12****\\",\\n \\"WorkspaceName\\": \\"测试空间\\"\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<QueryDatasetInfoResponse>\\n <Success>true</Success>\\n <RequestId>a4d1a221d-41za1-****</RequestId>\\n <Result>\\n <GmtModify>1629450382000</GmtModify>\\n <DsName>odps</DsName>\\n <DsId>a201c85c-******</DsId>\\n <OwnerName>大娃</OwnerName>\\n <WorkspaceName>测试空间</WorkspaceName>\\n <OwnerId>b8494aab26124*****</OwnerId>\\n <DatasetName>opds_40</DatasetName>\\n <RowLevel>false</RowLevel>\\n <WorkspaceId>420abef4-a79b-4289-b12****</WorkspaceId>\\n <CustimzeSql>false</CustimzeSql>\\n <GmtCreate>1629450382000</GmtCreate>\\n <DsType>odps</DsType>\\n <DatasetId>a201c85c-******</DatasetId>\\n <CubeTableList>\\n <TableName>viewdasb8494aab2612473cb74992159fe****</TableName>\\n <DatasourceId>dfefd7f4-fc6e-42c9-b4******</DatasourceId>\\n <DsType>maxcompute</DsType>\\n <UniqueId>7a62530b36</UniqueId>\\n <FactTable>true</FactTable>\\n <Caption>odps_40</Caption>\\n <Customsql>false</Customsql>\\n <Sql>select * from ****</Sql>\\n </CubeTableList>\\n <DimensionList>\\n <DataType>string</DataType>\\n <Expression>example_expression</Expression>\\n <FactColumn>city</FactColumn>\\n <DimensionType>group_dimension</DimensionType>\\n <Granularity>example_granularity</Granularity>\\n <RefUid>308f7****</RefUid>\\n <Caption>city</Caption>\\n <Uid>a69774***</Uid>\\n <TableUniqueId>7a62530***</TableUniqueId>\\n </DimensionList>\\n <MeasureList>\\n <DataType>string</DataType>\\n <Expression>example_expression</Expression>\\n <MeasureType>calculate_measure</MeasureType>\\n <FactColumn>profit_amt</FactColumn>\\n <Caption>profit_amt</Caption>\\n <TableUniqueId>7a62530b36</TableUniqueId>\\n <Uid>88b680****</Uid>\\n </MeasureList>\\n <Directory>\\n <PathId>88b680****</PathId>\\n <PathName>测试目录</PathName>\\n <Name>测试目录</Name>\\n <Id>a3eecab7-618d-4f9f-*****</Id>\\n </Directory>\\n </Result>\\n</QueryDatasetInfoResponse>","errorExample":""}]', + 'title' => 'QueryDatasetInfo', + 'changeSet' => [ + [ + 'createdAt' => '2025-05-28T03:27:58.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:31.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-09-18T02:06:59.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2024-05-22T03:08:06.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetInfo', + ], + ], + ], + ], + 'QueryDatasetList' => [ + 'summary' => 'Queries the datasets in a specified workspace. The results are sorted in descending order by creation time.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + ], + ], + [ + 'name' => 'DirectoryId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the folder.'."\n" + ."\n" + .'- If you specify this parameter, all datasets in the folder are returned.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****', + ], + ], + [ + 'name' => 'WithChildren', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to recursively include datasets in subdirectories. Valid values:'."\n" + ."\n" + .'- true: Returns all datasets in the folder specified by DirectoryId and its subdirectories.'."\n" + ."\n" + .'- false: Returns only the datasets in the folder specified by DirectoryId.', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'true', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword used to search for datasets by name.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number of the dataset list.'."\n" + ."\n" + .'- Start value: 1'."\n" + ."\n" + .'- Default value: 1', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'- Default value: 10'."\n" + ."\n" + .'- Maximum value: 1000', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + ], + 'Result' => [ + 'description' => 'The paged results of the dataset list. The details of the datasets are returned in the Data parameter.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The details of the dataset list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => 'The time when the dataset was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-11-02 10:36:05', + ], + 'DataSource' => [ + 'description' => 'The information about the data source to which the dataset belongs.', + 'type' => 'object', + 'properties' => [ + 'DsId' => [ + 'description' => 'The data source ID.', + 'type' => 'string', + 'title' => '', + 'example' => '261b252d-c3c3-498a-a0a7-5d1ec6cd****', + ], + 'DsName' => [ + 'description' => 'The data source name.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'DsType' => [ + 'description' => 'The data source type.', + 'type' => 'string', + 'title' => '', + 'example' => 'mysql', + ], + ], + 'title' => '', + 'example' => '', + ], + 'DatasetId' => [ + 'description' => 'The dataset ID.', + 'type' => 'string', + 'title' => '', + 'example' => '5820f58c-c734-4d8a-baf1-7979af4f****', + ], + 'DatasetName' => [ + 'description' => 'The dataset name.', + 'type' => 'string', + 'title' => '', + 'example' => 'company_sales_record_copy12', + ], + 'Description' => [ + 'description' => 'The description of the dataset.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'Directory' => [ + 'description' => 'The information about the folder in which the dataset is located.', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'The folder ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****', + ], + 'Name' => [ + 'description' => 'The folder name.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'PathId' => [ + 'description' => 'The ID of the folder path.', + 'type' => 'string', + 'title' => '', + 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****', + ], + 'PathName' => [ + 'description' => 'The name of the folder path.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ModifyTime' => [ + 'description' => 'The time when the dataset was last modified.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-11-02 10:36:05', + ], + 'OpenOfflineAcceleration' => [ + 'type' => 'boolean', + 'description' => 'Indicates whether extraction-based acceleration is enabled. Valid values:'."\n" + ."\n" + .'- true: Enabled'."\n" + ."\n" + .'- false: Disabled', + 'title' => '', + 'example' => 'true', + ], + 'OwnerId' => [ + 'description' => 'The user ID of the dataset owner in Quick BI.', + 'type' => 'string', + 'title' => '', + 'example' => '136516262323****', + ], + 'OwnerName' => [ + 'description' => 'The nickname of the dataset owner.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'RowLevel' => [ + 'description' => 'Indicates whether row-level permissions are enabled. Valid values:'."\n" + ."\n" + .'- true: Enabled'."\n" + ."\n" + .'- false: Disabled', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'WorkspaceId' => [ + 'description' => 'The workspace ID.', + 'type' => 'string', + 'title' => '', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad06adf', + ], + 'WorkspaceName' => [ + 'description' => 'The workspace name.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'The page number.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => 'The number of entries per page specified in the request.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '10', + ], + 'TotalNum' => [ + 'description' => 'The total number of entries.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'CubeSchema.Not.Exist', + 'errorMessage' => 'The cube schema does not exist.', + 'description' => 'cube schema do not exists.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"CreateTime\\": \\"2020-11-02 10:36:05\\",\\n \\"DataSource\\": {\\n \\"DsId\\": \\"261b252d-c3c3-498a-a0a7-5d1ec6cd****\\",\\n \\"DsName\\": \\"test\\",\\n \\"DsType\\": \\"mysql\\"\\n },\\n \\"DatasetId\\": \\"5820f58c-c734-4d8a-baf1-7979af4f****\\",\\n \\"DatasetName\\": \\"company_sales_record_copy12\\",\\n \\"Description\\": \\"test\\",\\n \\"Directory\\": {\\n \\"Id\\": \\"schemaad8aad00-9c55-4984-a767-b4e0ec60****\\",\\n \\"Name\\": \\"test\\",\\n \\"PathId\\": \\"schemaad8aad00-9c55-4984-a767-b4e0ec60****\\",\\n \\"PathName\\": \\"test\\"\\n },\\n \\"ModifyTime\\": \\"2020-11-02 10:36:05\\",\\n \\"OpenOfflineAcceleration\\": true,\\n \\"OwnerId\\": \\"136516262323****\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"RowLevel\\": true,\\n \\"WorkspaceId\\": \\"95296e95-ca89-4c7d-8af9-dedf0ad06adf\\",\\n \\"WorkspaceName\\": \\"test\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n }\\n}","type":"json"}]', + 'title' => 'QueryDatasetList', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-05-22T03:08:06.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetList', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryDatasetSmartqStatus' => [ + 'summary' => 'Checks whether Intelligent Q&A is enabled for a dataset.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The dataset ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request succeeded.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => 'The specified user is not in the organizational unit.', + ], + [ + 'errorCode' => 'Query.Auth.Error', + 'errorMessage' => 'Query is not permitted.', + 'description' => 'No query permission.', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => 'The specified user does not exist.', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', + 'errorMessage' => 'Please purchase Nl2sql module first.', + 'description' => 'Please purchase Nl2sql module first.', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7c7223ae-****-3c744528014b\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Check if the Dataset has Enabled Smart Query', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-11T06:04:44.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetSmartqStatus', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetSmartqStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryDatasetSwitchInfo' => [ + 'summary' => 'Get the row-level permission switch status for a specified dataset.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Dataset ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'FAECEFA8-09BB-58AB-BC58-C8ACEFE4D232', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Details of the dataset\'s row and column permission switches.', + 'type' => 'object', + 'properties' => [ + 'CubeId' => [ + 'description' => 'Dataset ID.', + 'type' => 'string', + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + 'IsOpenColumnLevelPermission' => [ + 'description' => 'Status of the column-level field permission switch. Possible values:'."\n" + ."\n" + .'- 1: Enabled'."\n" + .'- 0: Disabled', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'IsOpenRowLevelPermission' => [ + 'description' => 'Status of the row-level permission switch.'."\n" + ."\n" + .'- 1: Enabled'."\n" + .'- 0: Disabled', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"FAECEFA8-09BB-58AB-BC58-C8ACEFE4D232\\",\\n \\"Result\\": {\\n \\"CubeId\\": \\"7c7223ae-****-3c744528014b\\",\\n \\"IsOpenColumnLevelPermission\\": 1,\\n \\"IsOpenRowLevelPermission\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryDatasetSwitchInfoResponse>\\n <Success>true</Success>\\n <RequestId>FAECEFA8-09BB-58AB-BC58-C8ACEFE4D232</RequestId>\\n <Result>\\n <IsOpenRowLevelPermission>1</IsOpenRowLevelPermission>\\n <CubeId>7c7223ae-****-3c744528014b</CubeId>\\n <IsOpenColumnLevelPermission>1</IsOpenColumnLevelPermission>\\n </Result>\\n</QueryDatasetSwitchInfoResponse>","errorExample":""}]', + 'title' => 'QueryDatasetSwitchInfo', + 'description' => '> This interface only supports the new row and column permission model of Quick BI. If you are still using the old row and column permissions, please migrate to the new row and column permission model before calling this interface. To migrate to the new row and column permission model, follow these steps: In Organization Management -> Security Configuration -> Upgrade Row and Column Permissions, click **One-Click Upgrade** to upgrade to the new row-level permissions.', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetSwitchInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetSwitchInfo', + ], + ], + ], + ], + 'QueryEmbeddedInfo' => [ + 'summary' => 'Obtain the embedding configuration in the organization, including the maximum number of embeddings and the number of embeddings.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The embedded information of the reports under the organization.'."\n", + 'type' => 'object', + 'properties' => [ + 'Detail' => [ + 'description' => 'Embed the statistics of the work.'."\n", + 'type' => 'object', + 'properties' => [ + 'DashboardOfflineQuery' => [ + 'description' => 'The number of embedded self-service fetching.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Page' => [ + 'description' => 'The number of embedded dashboards.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Report' => [ + 'description' => 'The number of embedded spreadsheets.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'EmbeddedCount' => [ + 'description' => 'The number of reports that are currently embedded.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'title' => '', + ], + 'MaxCount' => [ + 'description' => 'The maximum number of reports that can be embedded.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Detail\\": {\\n \\"DashboardOfflineQuery\\": 1,\\n \\"Page\\": 1,\\n \\"Report\\": 1\\n },\\n \\"EmbeddedCount\\": 3,\\n \\"MaxCount\\": 100\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryEmbeddedInfoResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <EmbeddedCount>3</EmbeddedCount>\\n <MaxCount>100</MaxCount>\\n <Detail>\\n <DashboardOfflineQuery>1</DashboardOfflineQuery>\\n <Report>1</Report>\\n <Page>1</Page>\\n </Detail>\\n </Result>\\n</QueryEmbeddedInfoResponse>","errorExample":""}]', + 'title' => 'QueryEmbeddedInfo', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryEmbeddedInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryEmbeddedStatus' => [ + 'summary' => 'Queries whether embedding is enabled for a report.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The work ID of the query.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Whether the work is enabled for embedding. Valid values:'."\n" + ."\n" + .'- true: embedded'."\n" + ."\n" + .'- false: not embedded', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => 'This work does not exist. It may have been deleted. Work ID is %s. ', + ], + [ + 'errorCode' => 'Resource.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The resource does not belong to the current organization.', + 'description' => 'This Resource is not belong to current organization.', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + ], + ], + 'title' => 'QueryEmbeddedStatus', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-07-04T12:54:29.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryEmbeddedStatus', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryEmbeddedStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'QueryLastAccelerationEngineJob' => [ + 'summary' => 'Query the Most Recent Acceleration Task by Dataset ID', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'title' => '数据集 ID。', + 'description' => 'Dataset ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'd23d30c0-****-6c92bf668356', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '46e53*********92704c8', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The entity of the most recent acceleration task.', + 'type' => 'object', + 'properties' => [ + 'JobHistoryId' => [ + 'title' => '加速任务ID。', + 'description' => 'Acceleration task ID.', + 'type' => 'string', + 'example' => '46e53********5464564', + ], + 'Status' => [ + 'title' => '任务状态。取值范围:'."\n" + .'● TODO -- 待运行'."\n" + .'● RUNNING -- 运行中'."\n" + .'● SUCCESS -- 正常结束'."\n" + .'● FAILURE -- 异常结束'."\n" + .'● CANCELED -- 取消', + 'description' => 'Task status. Possible values:'."\n" + ."\n" + .'- TODO -- To be run'."\n" + .'- RUNNING -- Running'."\n" + .'- SUCCESS -- Successfully completed'."\n" + .'- FAILURE -- Abnormally terminated'."\n" + .'- CANCELED -- Canceled'."\n" + .'- CHECK_DEPENDENCY -- Checking dependencies', + 'type' => 'string', + 'example' => 'SUCCESS ', + ], + 'GmtCreate' => [ + 'title' => '执行时间,yyyy-MM-dd hh:mm:ss。', + 'description' => 'Execution time, in the format yyyy-MM-dd hh:mm:ss.', + 'type' => 'string', + 'example' => '2025-06-18 17:07:43', + ], + 'GmtModified' => [ + 'title' => '结束时间,yyyy-MM-dd hh:mm:ss。', + 'description' => 'Completion time, in the format yyyy-MM-dd hh:mm:ss.', + 'type' => 'string', + 'example' => '2025-06-18 17:08:26', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'title' => '请求是否成功。', + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Access.Forbidden', + 'errorMessage' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', + 'description' => '', + ], + [ + 'errorCode' => 'OrgAdminOrPermissionAdmin.CannotChangeTo.Viewer', + 'errorMessage' => 'Organization admin or permission admin can not change to viewer.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'QueryLastAccelerationEngineJob', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e53*********92704c8\\",\\n \\"Result\\": {\\n \\"JobHistoryId\\": \\"46e53********5464564\\",\\n \\"Status\\": \\"SUCCESS \\",\\n \\"GmtCreate\\": \\"2025-06-18 17:07:43\\",\\n \\"GmtModified\\": \\"2025-06-18 17:08:26\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'QueryLlmCubeWithThemeListByUserId' => [ + 'summary' => 'Check which datasets and analysis themes the user has question authorization for', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'adsdasd-***********-123wdasd', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '2EE822B***************F-F5B42DDADC12', + 'title' => '', + ], + 'Result' => [ + 'description' => 'List of datasets and analysis themes.', + 'type' => 'object', + 'properties' => [ + 'CubeIds' => [ + 'description' => 'Dataset map.'."\n" + ."\n" + .'- key - Dataset ID'."\n" + .'- value - Dataset name', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'JSON object of the dataset.', + 'example' => '"4d93*******0-9614-c97adea37911": "common***值"', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ThemeIds' => [ + 'description' => 'Analysis theme map.'."\n" + .'- key - Analysis theme ID '."\n" + .'- value - Analysis theme name', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '"9aefb3************75abecbe": "www*********eeee"', + 'description' => 'JSON object of the analysis theme.', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful'."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => '', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => '', + ], + [ + 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', + 'errorMessage' => 'Please purchase Nl2sql module first.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2EE822B***************F-F5B42DDADC12\\",\\n \\"Result\\": {\\n \\"CubeIds\\": {\\n \\"key\\": \\"\\\\\\"4d93*******0-9614-c97adea37911\\\\\\": \\\\\\"common***值\\\\\\"\\"\\n },\\n \\"ThemeIds\\": {\\n \\"key\\": \\"\\\\\\"9aefb3************75abecbe\\\\\\": \\\\\\"www*********eeee\\\\\\"\\"\\n }\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Check which datasets and analysis themes the user has question authorization for', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryLlmCubeWithThemeListByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'QueryOrganizationRoleConfig' => [ + 'summary' => 'Gets the configuration of the specified organization role.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Organization role ID, including predefined roles and custom roles:'."\n" + ."\n" + .'- Organization Administrator (predefined role): 111111111'."\n" + .'- Permission Administrator (predefined role): 111111112'."\n" + .'- Regular User (predefined role): 111111113'."\n" + .'- Custom Role: The corresponding role ID of the custom role', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '111111111', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Details of the organization role configuration.', + 'type' => 'object', + 'properties' => [ + 'AuthConfigList' => [ + 'description' => 'List of role permission configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'Specific permission configurations.', + 'type' => 'object', + 'properties' => [ + 'AuthKey' => [ + 'description' => 'Permission type:'."\n" + .'- quick_monitor: Metric Monitoring'."\n" + .'- subscription: Subscription Management'."\n" + .'- offline_download: Self-service Data Retrieval'."\n" + .'- resource_package: Resource Package Management'."\n" + .'- organization_ask: Organization Access Key/Secret (AK/SK)'."\n" + .'- developer_openapi: OpenAPI'."\n" + .'- data_service: Data Service'."\n" + .'- admin_authorize3rd: Embedded Analysis'."\n" + .'- component_manage: Custom Component'."\n" + .'- template_open: Custom Template'."\n" + .'- custom_driver: Custom Driver (supported only in standalone deployment)'."\n" + .'- open_platform_custom_plugin: Custom Plugin (supported only in standalone deployment)'."\n" + .'- enterprise_safety: Enterprise Security', + 'type' => 'string', + 'example' => 'quick_monitor', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'IsSystemRole' => [ + 'description' => 'Whether it is a predefined role. Possible values:'."\n" + ."\n" + .'- true: Yes'."\n" + .'- false: No', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RoleId' => [ + 'description' => 'Organization role ID, including predefined roles and custom roles:'."\n" + ."\n" + .'- Organization Administrator (predefined role): 111111111'."\n" + .'- Permission Administrator (predefined role): 111111112'."\n" + .'- Regular User (predefined role): 111111113'."\n" + .'- Custom Role: The corresponding role ID of the custom role', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '111111111', + 'title' => '', + ], + 'RoleName' => [ + 'description' => 'Role name.', + 'type' => 'string', + 'example' => '组织管理员', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request was successful '."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'User.Role.NotExist', + 'errorMessage' => 'User role not exist: %s.', + 'description' => '', + ], + ], + ], + 'title' => 'QueryOrganizationRoleConfig', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryOrganizationRoleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCE45E6D-9304-4F94-86BB-5A772B1615FF\\",\\n \\"Result\\": {\\n \\"AuthConfigList\\": [\\n {\\n \\"AuthKey\\": \\"quick_monitor\\"\\n }\\n ],\\n \\"IsSystemRole\\": true,\\n \\"RoleId\\": 111111111,\\n \\"RoleName\\": \\"组织管理员\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'QueryOrganizationWorkspaceList' => [ + 'summary' => 'Retrieve the list of workspaces under the current organization.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword for the workspace name.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '程序', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Current page number of the workspace list:'."\n" + ."\n" + .'- Starting value: 1'."\n" + .'- Default value: 1', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000000', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of rows per page in a paginated query:'."\n" + ."\n" + .'- Default value: 10'."\n" + .'- Maximum value: 1000', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID in Quick BI.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the paginated result of the workspace list, with detailed information about the workspaces stored in the Data parameter.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'List of workspaces.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AllowPublishOperation' => [ + 'description' => 'Whether the work can be made public. Value range:'."\n" + ."\n" + .'- true: Public'."\n" + .'- false: Not public', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'AllowShareOperation' => [ + 'description' => 'Indicates whether the work can be authorized for sharing. Possible values:'."\n" + ."\n" + .'- true: Authorized'."\n" + .'- false: Not authorized', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'CreateTime' => [ + 'description' => 'Creation time of the workspace.', + 'type' => 'string', + 'example' => '2020-11-10 17:51:07', + 'title' => '', + ], + 'CreateUser' => [ + 'description' => 'Quick BI user ID of the creator.', + 'type' => 'string', + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + 'CreateUserAccountName' => [ + 'description' => 'Aliyun account name of the creator.', + 'type' => 'string', + 'example' => 'pop****@aliyun.com', + 'title' => '', + ], + 'ModifiedTime' => [ + 'description' => 'Last modified time of the workspace.', + 'type' => 'string', + 'example' => '2020-11-10 17:51:07', + 'title' => '', + ], + 'ModifyUser' => [ + 'description' => 'ID of the Quick BI user who modified the workspace.', + 'type' => 'string', + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + 'ModifyUserAccountName' => [ + 'description' => 'Aliyun account name of the modifier.', + 'type' => 'string', + 'example' => 'pop****@aliyun.com', + 'title' => '', + ], + 'OrganizationId' => [ + 'description' => 'ID of the organization to which the workspace belongs.', + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', + 'title' => '', + ], + 'Owner' => [ + 'description' => 'Quick BI user ID of the workspace owner.', + 'type' => 'string', + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + 'OwnerAccountName' => [ + 'description' => 'Aliyun account name of the workspace owner.', + 'type' => 'string', + 'example' => 'pop****@aliyun.com', + 'title' => '', + ], + 'WorkspaceDescription' => [ + 'description' => 'Workspace description.', + 'type' => 'string', + 'example' => '该空间是测试空间', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'example' => '7350a155-0e94-4c6c-8620-57bbec38****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'Name of the workspace.', + 'type' => 'string', + 'example' => '测试空间', + 'title' => '', + ], + 'RealOwnerAccountName' => [ + 'description' => 'The Quick BI account name of the workspace owner.', + 'title' => 'The Quick BI account name of the workspace owner.', + 'type' => 'string', + 'example' => 'test', + ], + ], + 'description' => 'Space information.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'Page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'Number of rows per page as set in the request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'Total number of rows.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'Total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"AllowPublishOperation\\": true,\\n \\"AllowShareOperation\\": true,\\n \\"CreateTime\\": \\"2020-11-10 17:51:07\\",\\n \\"CreateUser\\": \\"de4bc5f9429141cc8091cdd1c15b****\\",\\n \\"CreateUserAccountName\\": \\"pop****@aliyun.com\\",\\n \\"ModifiedTime\\": \\"2020-11-10 17:51:07\\",\\n \\"ModifyUser\\": \\"de4bc5f9429141cc8091cdd1c15b****\\",\\n \\"ModifyUserAccountName\\": \\"pop****@aliyun.com\\",\\n \\"OrganizationId\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af0****\\",\\n \\"Owner\\": \\"de4bc5f9429141cc8091cdd1c15b****\\",\\n \\"OwnerAccountName\\": \\"pop****@aliyun.com\\",\\n \\"WorkspaceDescription\\": \\"该空间是测试空间\\",\\n \\"WorkspaceId\\": \\"7350a155-0e94-4c6c-8620-57bbec38****\\",\\n \\"WorkspaceName\\": \\"测试空间\\",\\n \\"RealOwnerAccountName\\": \\"test\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n }\\n}","type":"json"}]', + 'title' => 'Get Workspace List Under Organization', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryOrganizationWorkspaceList', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryOrganizationWorkspaceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryReadableResourcesListByUserId' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Quick BI the user ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The list of works that the user has permission to view.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => 'The timestamp of the creation time in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1611023338000', + 'title' => '', + ], + 'Description' => [ + 'description' => 'Remarks on the work.'."\n", + 'type' => 'string', + 'example' => '备注', + 'title' => '', + ], + 'Directory' => [ + 'description' => 'The directory structure in which the work is located.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'The ID of the directory.'."\n", + 'type' => 'string', + 'example' => 'e4276ea5-b232-4fb1-8f0f-efcee4a2****', + 'title' => '', + ], + 'Name' => [ + 'description' => 'The name of the directory.'."\n", + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + 'PathId' => [ + 'description' => 'The hierarchical structure of the directory ID, which is separated with \'/\'.'."\n", + 'type' => 'string', + 'example' => 'e4276ea5-b232-4fb1-8f0f-efcee4a2****', + 'title' => '', + ], + 'PathName' => [ + 'description' => 'The hierarchical structure of the directory name, which is separated with \'/\'.'."\n", + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ModifyName' => [ + 'description' => 'The name of the Alibaba Cloud account to which the modifier belongs.'."\n", + 'type' => 'string', + 'example' => '李四', + 'title' => '', + ], + 'ModifyTime' => [ + 'description' => 'The timestamp of the modification time in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1611023338000', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'The Quick BI UserID of the work owner.'."\n", + 'type' => 'string', + 'example' => '46e5374665ba4b679ee22e2a2927****', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'The Alibaba Cloud account name of the owner.'."\n", + 'type' => 'string', + 'example' => '张三', + 'title' => '', + ], + 'SecurityLevel' => [ + 'description' => 'Security policies for collaborative authorization of works. Valid values:'."\n" + ."\n" + .'* 0: private'."\n" + .'* 12: Authorize specified members'."\n" + .'* 1 or 11: Authorize all workspace members'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you use legacy permissions, the return value is 1.'."\n" + ."\n" + .'* If you use the new permissions, the return value is 11.'."\n", + 'type' => 'string', + 'example' => '0', + 'title' => '', + ], + 'Status' => [ + 'description' => 'The status of the report. Valid values:'."\n" + ."\n" + .'* 0: unpublished'."\n" + .'* 1: published'."\n" + .'* 2: modified but not published'."\n" + .'* 3: unpublished'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'ThirdPartAuthFlag' => [ + 'description' => 'Third-party embedding status. Valid values:'."\n" + ."\n" + .'* 0: The embed service is not enabled.'."\n" + .'* 1: Embed is enabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'WorkName' => [ + 'description' => 'The name of the work.'."\n", + 'type' => 'string', + 'example' => '公司地区表', + 'title' => '', + ], + 'WorkType' => [ + 'description' => 'The type of the work. Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* FULLPAGE: full-screen dashboards'."\n" + .'* REPORT: workbook'."\n", + 'type' => 'string', + 'example' => 'PAGE', + 'title' => '', + ], + 'WorksId' => [ + 'description' => 'The ID of the work.'."\n", + 'type' => 'string', + 'example' => '03366b16-69ce-43c8-b782-56c2f6ec****', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '89713491-cb4f-4579-b889-e82c35f1****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'substitutions' => [ + 'quickbi-public::2022-01-01::QueryReadableResourcesListByUserIdV2', + ], + ], + 'title' => 'QueryReadableResourcesListByUserId', + 'summary' => 'Queries the list of works that a user has the permission to view, including the statements that are authorized to share in a space.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryReadableResourcesListByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"CreateTime\\": \\"1611023338000\\",\\n \\"Description\\": \\"备注\\",\\n \\"Directory\\": {\\n \\"Id\\": \\"e4276ea5-b232-4fb1-8f0f-efcee4a2****\\",\\n \\"Name\\": \\"测试目录\\",\\n \\"PathId\\": \\"e4276ea5-b232-4fb1-8f0f-efcee4a2****\\",\\n \\"PathName\\": \\"测试目录\\"\\n },\\n \\"ModifyName\\": \\"李四\\",\\n \\"ModifyTime\\": \\"1611023338000\\",\\n \\"OwnerId\\": \\"46e5374665ba4b679ee22e2a2927****\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"SecurityLevel\\": \\"0\\",\\n \\"Status\\": 1,\\n \\"ThirdPartAuthFlag\\": 1,\\n \\"WorkName\\": \\"公司地区表\\",\\n \\"WorkType\\": \\"PAGE\\",\\n \\"WorksId\\": \\"03366b16-69ce-43c8-b782-56c2f6ec****\\",\\n \\"WorkspaceId\\": \\"89713491-cb4f-4579-b889-e82c35f1****\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'QueryReadableResourcesListByUserIdV2' => [ + 'summary' => 'Query list of works user has permission to view (new)', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'asdas*********sdsddf', + 'title' => '', + ], + ], + [ + 'name' => 'WorkType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Work type. Possible values:'."\n" + .'- DATAPRODUCT: Data Portal'."\n" + .'- PAGE: Dashboard'."\n" + .'- REPORT: Spreadsheet'."\n" + .'- dashboardOfflineQuery: Self-service Data Extraction'."\n" + .'- SCREEN: Data Wall'."\n" + .'- DATAFORM: Data Entry'."\n" + .'- ANALYSIS: Ad-hoc Analysis', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'DATAFORM', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C********05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the query result.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of works that the user has permission to view.', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'Report status. Possible values:'."\n" + .'- 0: Unpublished'."\n" + .'- 1: Published'."\n" + .'- 2: Modified but not published'."\n" + .'- 3: Offline', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'ModifyTime' => [ + 'description' => 'Timestamp of the last modification in milliseconds.', + 'type' => 'string', + 'example' => '1530078690000', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'Alibaba Cloud account name of the owner.', + 'type' => 'string', + 'example' => '张三', + 'title' => '', + ], + 'Description' => [ + 'description' => 'Work remarks.', + 'type' => 'string', + 'example' => '备注', + 'title' => '', + ], + 'WorkType' => [ + 'description' => 'Work type. Possible values:'."\n" + .'- DATAPRODUCT: Data Portal'."\n" + .'- PAGE: Dashboard'."\n" + .'- REPORT: Spreadsheet'."\n" + .'- dashboardOfflineQuery: Self-service Data Extraction'."\n" + .'- SCREEN: Data Wall'."\n" + .'- DATAFORM: Data Entry'."\n" + .'- ANALYSIS: Ad-hoc Analysis', + 'type' => 'string', + 'example' => 'PAGE', + 'title' => '', + ], + 'ModifyName' => [ + 'description' => 'Alibaba Cloud account name of the modifier.', + 'type' => 'string', + 'example' => '李四', + 'title' => '', + ], + 'CreateTime' => [ + 'description' => 'Timestamp of creation in milliseconds.', + 'type' => 'string', + 'example' => '1611023338000'."\n", + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'ID of the workspace to which the work belongs.', + 'type' => 'string', + 'example' => 'c5f86ad2-ef53-4c51-8720-162ecfdb****', + 'title' => '', + ], + 'ThirdPartAuthFlag' => [ + 'description' => 'Third-party embedding status. Possible values:'."\n" + .'- 0: Embedding not enabled'."\n" + .'- 1: Embedding enabled', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'The UserID of the work owner in Quick BI.', + 'type' => 'string', + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + 'SecurityLevel' => [ + 'description' => 'Security policy for collaborative work. Values: - 0: Private - 12: Authorize specific members - 1 or 11: Authorize all space members'."\n" + .'>- If you are using the old version of permissions, the return value is 1. - If you are using the new version of permissions, the return value is 11.', + 'type' => 'string', + 'example' => '0', + 'title' => '', + ], + 'WorkName' => [ + 'description' => 'The name of the work.', + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the work belongs.', + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + 'WorksId' => [ + 'description' => 'The ID of the work.', + 'type' => 'string', + 'example' => 'ccd3428c-****-****-a608-26bae29dffee', + 'title' => '', + ], + 'Directory' => [ + 'description' => 'The directory structure where the work is located.', + 'type' => 'object', + 'properties' => [ + 'PathId' => [ + 'description' => 'The hierarchical structure of directory IDs, separated by『/』.', + 'type' => 'string', + 'example' => '88b680****', + 'title' => '', + ], + 'Id' => [ + 'description' => 'The ID of the directory to which it belongs.', + 'type' => 'string', + 'example' => 'a3eecab7-618d-4f9f-*****', + 'title' => '', + ], + 'PathName' => [ + 'description' => 'The hierarchical structure of directory names, separated by『/』.', + 'type' => 'string', + 'example' => '一级目录/二级目录', + 'title' => '', + ], + 'Name' => [ + 'description' => 'The name of the directory to which it belongs.', + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.Param.Error', + 'errorMessage' => 'The parameter is invalid.', + 'description' => 'The parameter is invalid.', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => 'The user is not in your organization.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'Query List of Works User Has Permission to View (New)', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryReadableResourcesListByUserIdV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C********05DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"Status\\": 1,\\n \\"ModifyTime\\": \\"1530078690000\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Description\\": \\"备注\\",\\n \\"WorkType\\": \\"PAGE\\",\\n \\"ModifyName\\": \\"李四\\",\\n \\"CreateTime\\": \\"1611023338000\\\\n\\",\\n \\"WorkspaceId\\": \\"c5f86ad2-ef53-4c51-8720-162ecfdb****\\",\\n \\"ThirdPartAuthFlag\\": 1,\\n \\"OwnerId\\": \\"fe67f61a35a94b7da1a34ba174a7****\\",\\n \\"SecurityLevel\\": \\"0\\",\\n \\"WorkName\\": \\"测试报表\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\",\\n \\"WorksId\\": \\"ccd3428c-****-****-a608-26bae29dffee\\",\\n \\"Directory\\": {\\n \\"PathId\\": \\"88b680****\\",\\n \\"Id\\": \\"a3eecab7-618d-4f9f-*****\\",\\n \\"PathName\\": \\"一级目录/二级目录\\",\\n \\"Name\\": \\"测试目录\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'machine', + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'QueryReportPerformance' => [ + 'summary' => 'Queries report performance logs.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The query type. Valid values:'."\n" + ."\n" + .'* **lastDay**: Yesterday'."\n" + .'* **sevenDays**: Within seven days'."\n" + .'* **thirtyDays**: Within 30 days'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'sevenDays', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The workspace ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'ReportId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the security report.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource types.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'report', + 'title' => '', + ], + ], + [ + 'name' => 'CostTimeAvgMin', + 'in' => 'query', + 'schema' => [ + 'description' => 'The average duration (minutes).'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of rows per page in a paged query.'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Maximum value: 1,000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '10', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Current page number for organization member list:'."\n" + ."\n" + .'* Pages start from page 1.'."\n" + .'* Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '1FC71085-D5FD-08E0-813A-4D4BD1031BC5', + 'title' => '', + ], + 'Result' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'Report the performance analysis model.'."\n", + 'type' => 'object', + 'properties' => [ + 'CacheCostTimeAvg' => [ + 'description' => 'The average duration of cache hits.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '2.2', + 'title' => '', + ], + 'CacheQueryCount' => [ + 'description' => 'The number of cache hits.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'ComponentQueryCount' => [ + 'description' => 'The number of times the chart is queried.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'ComponentQueryCountAvg' => [ + 'description' => 'The average number of times the chart is queried.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '2.0', + 'title' => '', + ], + 'CostTimeAvg' => [ + 'description' => 'The average query duration associated with the SQL pattern.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.2', + 'title' => '', + ], + 'QueryCount' => [ + 'description' => 'The number of queries.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + 'title' => '', + ], + 'QueryCountAvg' => [ + 'description' => 'The average number of queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '3.3', + 'title' => '', + ], + 'QueryOverFivePercentNum' => [ + 'description' => 'The percentage of the number of queries that exceed the 5S.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.5', + 'title' => '', + ], + 'QueryOverFiveSecPercent' => [ + 'description' => 'Query the proportion of more than 5S.'."\n", + 'type' => 'string', + 'example' => '0.5', + 'title' => '', + ], + 'QueryOverTenSecPercent' => [ + 'description' => 'The percentage of queries that exceed 10s.'."\n", + 'type' => 'string', + 'example' => '0.5', + 'title' => '', + ], + 'QueryOverTenSecPercentNum' => [ + 'description' => 'The number of queries that exceed 10 seconds.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.5', + 'title' => '', + ], + 'QueryTimeoutCount' => [ + 'description' => 'The number of times that the chart query times out.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + 'title' => '', + ], + 'QueryTimeoutCountPercent' => [ + 'description' => 'The percentage of timeout times for chart queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '0.5', + 'title' => '', + ], + 'QuickIndexCostTimeAvg' => [ + 'description' => 'The average time consumed by the Quick engine query.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + 'title' => '', + ], + 'QuickIndexQueryCount' => [ + 'description' => 'The number of times that the Quick engine is hit.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + 'title' => '', + ], + 'RepeatQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '0.8', + 'title' => '', + ], + 'RepeatQueryPercentNum' => [ + 'description' => 'The number of duplicate queries.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '3', + 'title' => '', + ], + 'RepeatSqlQueryCount' => [ + 'description' => 'The number of times the query is repeated.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'RepeatSqlQueryPercent' => [ + 'description' => 'The proportion of duplicate queries.'."\n", + 'type' => 'string', + 'example' => '0.7'."\n", + 'title' => '', + ], + 'ReportId' => [ + 'description' => 'The ID of the work.'."\n", + 'type' => 'string', + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + 'ReportName' => [ + 'description' => 'The name of the report.'."\n", + 'type' => 'string', + 'example' => 'ClusterAddonUpgradeReport', + 'title' => '', + ], + 'ReportType' => [ + 'description' => 'The format of the report.'."\n", + 'type' => 'string', + 'example' => 'report', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => 'ab46ed33-6278-4ef7-8013-8c1335f266ee', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the group.'."\n", + 'type' => 'string', + 'example' => '自定义模板', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'description' => 'The returned results.'."\n", + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'True', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1FC71085-D5FD-08E0-813A-4D4BD1031BC5\\",\\n \\"Result\\": [\\n {\\n \\"CacheCostTimeAvg\\": 2.2,\\n \\"CacheQueryCount\\": 1,\\n \\"ComponentQueryCount\\": 1,\\n \\"ComponentQueryCountAvg\\": 2,\\n \\"CostTimeAvg\\": 0.2,\\n \\"QueryCount\\": 50,\\n \\"QueryCountAvg\\": 3.3,\\n \\"QueryOverFivePercentNum\\": 0.5,\\n \\"QueryOverFiveSecPercent\\": \\"0.5\\",\\n \\"QueryOverTenSecPercent\\": \\"0.5\\",\\n \\"QueryOverTenSecPercentNum\\": 0.5,\\n \\"QueryTimeoutCount\\": 8,\\n \\"QueryTimeoutCountPercent\\": 0.5,\\n \\"QuickIndexCostTimeAvg\\": 10,\\n \\"QuickIndexQueryCount\\": 5,\\n \\"RepeatQueryPercent\\": \\"0.8\\",\\n \\"RepeatQueryPercentNum\\": 3,\\n \\"RepeatSqlQueryCount\\": 1,\\n \\"RepeatSqlQueryPercent\\": \\"0.7\\\\n\\",\\n \\"ReportId\\": \\"6b407e50-e774-406b-9956-da2425c2****\\",\\n \\"ReportName\\": \\"ClusterAddonUpgradeReport\\",\\n \\"ReportType\\": \\"report\\",\\n \\"WorkspaceId\\": \\"ab46ed33-6278-4ef7-8013-8c1335f266ee\\",\\n \\"WorkspaceName\\": \\"自定义模板\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryReportPerformance', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryReportPerformance', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryReportPerformance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryShareList' => [ + 'summary' => 'Query the list of objects to which a work has been shared, returning only the sharing configurations that are still within their validity period.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'ReportId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the work. The works include data portal, dashboard, spreadsheet, self-service data retrieval, ad-hoc analysis, data entry, and data screen.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the list of objects to which the work has been shared.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AuthPoint' => [ + 'description' => 'Sharing permissions. Possible values:'."\n" + ."\n" + .'- 1: View only'."\n" + .'- 3: View and export', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'title' => '', + ], + 'ExpireDate' => [ + 'description' => 'The timestamp in milliseconds indicating the expiration time of the authorization.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1640102400000', + 'title' => '', + ], + 'ReportId' => [ + 'description' => 'The ID of the work.', + 'type' => 'string', + 'example' => '6b407e50-e774-406b-9956-da2425c2****', + 'title' => '', + ], + 'ShareId' => [ + 'description' => 'The ID of the sharing configuration.', + 'type' => 'string', + 'example' => '0ab9659e-29cf-47d7-a364-3a91553b****', + 'title' => '', + ], + 'ShareToId' => [ + 'description' => 'The ID of the sharing target, which could be a user ID or a group ID in Quick BI.'."\n" + ."\n" + .'- When ShareToType=2 (all members within an organization), ShareToId is the organization ID.', + 'type' => 'string', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + 'ShareToName' => [ + 'description' => 'The name of the sharing target.', + 'type' => 'string', + 'example' => '小张', + 'title' => '', + ], + 'ShareToType' => [ + 'description' => 'The type of sharing. Possible values:'."\n" + ."\n" + .'- 0: User'."\n" + .'- 1: Group'."\n" + .'- 2: Organization'."\n" + .'- 3: Space', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'title' => '', + ], + 'ShareType' => [ + 'description' => 'The type of the shared work. The value range includes: '."\n" + .'- dataProduct: Data Portal '."\n" + .'- dashboard: Dashboard '."\n" + .'- report: Spreadsheet '."\n" + .'- dashboardOfflineQuery: Self-service Data Extraction '."\n" + .'- ANALYSIS: Ad-hoc Analysis '."\n" + .'- DATAFORM: Data Entry '."\n" + .'- SCREEN: Data Visualization Screen', + 'type' => 'string', + 'example' => 'dashboard', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => 'This work does not exist. It may have been deleted. Work ID is %s. ', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": [\\n {\\n \\"AuthPoint\\": 3,\\n \\"ExpireDate\\": 1640102400000,\\n \\"ReportId\\": \\"6b407e50-e774-406b-9956-da2425c2****\\",\\n \\"ShareId\\": \\"0ab9659e-29cf-47d7-a364-3a91553b****\\",\\n \\"ShareToId\\": \\"95296e95-ca89-4c7d-8af9-dedf0ad0****\\",\\n \\"ShareToName\\": \\"小张\\",\\n \\"ShareToType\\": 0,\\n \\"ShareType\\": \\"dashboard\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<QueryShareListResponse>\\n <Success>true</Success>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>\\n <ShareId>0ab9659e-29cf-47d7-a364-3a91553b****</ShareId>\\n <ShareToId>95296e95-ca89-4c7d-8af9-dedf0ad0****</ShareToId>\\n <AuthPoint>3</AuthPoint>\\n <ExpireDate>1640102400000</ExpireDate>\\n <ShareToType>0</ShareToType>\\n <ShareToName>小张</ShareToName>\\n <ShareType>0</ShareType>\\n </Result>\\n</QueryShareListResponse>","errorExample":""}]', + 'title' => 'Query the Sharing Records of a Work', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryShareList', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryShareList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QuerySharesToUserList' => [ + 'summary' => 'You can call this operation to query the list of works authorized to a user.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user. The user ID is the UserID of the Quick BI, not the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '46e53****5ba4b679ee22e2a2927****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns a list of works authorized to the user.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => 'The timestamp of the creation time in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1530078690000', + 'title' => '', + ], + 'Description' => [ + 'description' => 'Remarks on the work.'."\n", + 'type' => 'string', + 'example' => '测试报表的描述', + 'title' => '', + ], + 'Directory' => [ + 'description' => 'Information about the directory where the work is located.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'The ID of the directory where the resource is located.'."\n", + 'type' => 'string', + 'example' => 'f7f6e22b-83be-47fd-b49d-9ca686a9****', + 'title' => '', + ], + 'Name' => [ + 'description' => 'The name of the resource.'."\n", + 'type' => 'string', + 'example' => '图表报表', + 'title' => '', + ], + 'PathId' => [ + 'description' => 'The path ID of the directory where the resource is located.'."\n", + 'type' => 'string', + 'example' => '66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****', + 'title' => '', + ], + 'PathName' => [ + 'description' => 'The path name of the directory where the resource is located.'."\n", + 'type' => 'string', + 'example' => '一级目录/二级目录', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ModifyName' => [ + 'description' => 'The name of the Alibaba Cloud account to which the modifier belongs.'."\n", + 'type' => 'string', + 'example' => '13855265****@163.com', + 'title' => '', + ], + 'ModifyTime' => [ + 'description' => 'The timestamp of the modification time in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1530078690000', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'The UserID of the work owner in Quickbi.'."\n", + 'type' => 'string', + 'example' => '74f5527216d14e9892245320ebf2****', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'The Alibaba Cloud account name of the work owner.'."\n", + 'type' => 'string', + 'example' => 'w****@aliyun.com', + 'title' => '', + ], + 'SecurityLevel' => [ + 'description' => 'Security policies for collaborative authorization of works. Valid values:'."\n" + ."\n" + .'* 0: private'."\n" + .'* 12: Authorize specified members'."\n" + .'* 1 or 11: Authorize all workspace members'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you use legacy permissions, the return value is 1.'."\n" + ."\n" + .'* If you use the new permissions, the return value is 11.'."\n", + 'type' => 'string', + 'example' => '0', + 'title' => '', + ], + 'Status' => [ + 'description' => 'The publishing status of the report. Valid values:'."\n" + ."\n" + .'* 0: unpublished'."\n" + .'* 1: published'."\n" + .'* 2: modified but not published'."\n" + .'* 3: unpublished'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'ThirdPartAuthFlag' => [ + 'description' => 'Third-party embedding status. Valid values:'."\n" + ."\n" + .'* 0: No embedding is enabled.'."\n" + .'* 1: Embed is enabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'title' => '', + ], + 'WorkName' => [ + 'description' => 'The name of the report.'."\n", + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'WorkType' => [ + 'description' => 'The type of the work. Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* FULLPAGE: full-screen dashboards'."\n" + .'* REPORT: workbook'."\n" + .'* dashboardOfflineQuery: self-service data retrieval'."\n", + 'type' => 'string', + 'example' => 'DATAFORM', + 'title' => '', + ], + 'WorksId' => [ + 'description' => 'The ID of the operations report.'."\n", + 'type' => 'string', + 'example' => '97f7f4c1-543a-4069-8e8d-a56cfcd6****', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the report belongs.'."\n", + 'type' => 'string', + 'example' => 'c5f86ad2-ef53-4c51-8720-162ecfdb****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the report belongs.'."\n", + 'type' => 'string', + 'example' => '专业版回归', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": [\\n {\\n \\"CreateTime\\": \\"1530078690000\\",\\n \\"Description\\": \\"测试报表的描述\\",\\n \\"Directory\\": {\\n \\"Id\\": \\"f7f6e22b-83be-47fd-b49d-9ca686a9****\\",\\n \\"Name\\": \\"图表报表\\",\\n \\"PathId\\": \\"66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****\\",\\n \\"PathName\\": \\"一级目录/二级目录\\"\\n },\\n \\"ModifyName\\": \\"13855265****@163.com\\",\\n \\"ModifyTime\\": \\"1530078690000\\",\\n \\"OwnerId\\": \\"74f5527216d14e9892245320ebf2****\\",\\n \\"OwnerName\\": \\"w****@aliyun.com\\",\\n \\"SecurityLevel\\": \\"0\\",\\n \\"Status\\": 1,\\n \\"ThirdPartAuthFlag\\": 0,\\n \\"WorkName\\": \\"测试报表\\",\\n \\"WorkType\\": \\"DATAFORM\\",\\n \\"WorksId\\": \\"97f7f4c1-543a-4069-8e8d-a56cfcd6****\\",\\n \\"WorkspaceId\\": \\"c5f86ad2-ef53-4c51-8720-162ecfdb****\\",\\n \\"WorkspaceName\\": \\"专业版回归\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'QuerySharesToUserList', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QuerySharesToUserList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QuerySmartqPermissionByCubeId' => [ + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95c4d**************3852e202', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => '617277******************ABA47E31', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The basic information about the dataset.', + 'type' => 'object', + 'properties' => [ + 'HasPerssion' => [ + 'description' => 'Indicates whether the current user has permissions for Smart Q\\&A.', + 'type' => 'boolean', + 'title' => '', + 'example' => '', + ], + 'CubeId' => [ + 'description' => 'The ID of the dataset.', + 'type' => 'string', + 'example' => '7c7223ae-****-3c744528014b', + 'title' => '', + ], + 'CubeName' => [ + 'description' => 'The name of the dataset.', + 'type' => 'string', + 'example' => 'test', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => 'The specified user is not in the organizational unit.', + ], + [ + 'errorCode' => 'Query.Auth.Error', + 'errorMessage' => 'Query is not permitted.', + 'description' => 'No query permission.', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => 'The specified user does not exist.', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', + 'errorMessage' => 'Please purchase Nl2sql module first.', + 'description' => 'Please purchase Nl2sql module first.', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'Check if a user has permission for a specific smart question dataset', + 'summary' => 'Queries the permissions of a user on a Smart Q&A dataset.', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QuerySmartqPermissionByCubeId', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QuerySmartqPermissionByCubeId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"617277******************ABA47E31\\",\\n \\"Result\\": {\\n \\"HasPerssion\\": false,\\n \\"CubeId\\": \\"7c7223ae-****-3c744528014b\\",\\n \\"CubeName\\": \\"test\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'QueryTicketInfo' => [ + 'summary' => 'Obtains the details of a specified ticket for a report that is not embedded in the report.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Ticket', + 'in' => 'query', + 'schema' => [ + 'description' => 'The value of the bill.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'a27a9aec-****-****-bd40-1a21ea41d7c5', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The details of the generated ticket.', + 'type' => 'object', + 'properties' => [ + 'AccessTicket' => [ + 'description' => 'Notes.', + 'type' => 'string', + 'example' => 'a27a9aec-****-****-bd40-1a21ea41d7c5', + 'title' => '', + ], + 'CmptId' => [ + 'description' => 'The ID of the component in the report.', + 'type' => 'string', + 'example' => 'sfdgsds-****-****-a608-mghdgd', + 'title' => '', + ], + 'GlobalParam' => [ + 'description' => 'Global parameters.', + 'type' => 'string', + 'example' => '[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]},{"paramKey":"product_type","joinType":"and","conditionList":[{"operate":"in","value":["]}]}]\\n', + 'title' => '', + ], + 'InvalidTime' => [ + 'description' => 'Expiration time of the note.', + 'type' => 'string', + 'example' => '2022-01-30 03:03:49', + 'title' => '', + ], + 'MaxTicketNum' => [ + 'description' => 'The maximum number of supported bills.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '9999', + 'title' => '', + ], + 'OrganizationId' => [ + 'description' => 'The ID of the organization.', + 'type' => 'string', + 'example' => '2fe4fbd8-****-****-b3e1-e92c7af083ea', + 'title' => '', + ], + 'RegisterTime' => [ + 'description' => 'The registration time of the ticket.', + 'type' => 'string', + 'example' => '2022-01-09 22:23:49', + 'title' => '', + ], + 'UsedTicketNum' => [ + 'description' => 'The number of bills that have been consumed.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '47', + 'title' => '', + ], + 'UserId' => [ + 'description' => 'The user ID of the Quick BI.', + 'type' => 'string', + 'example' => '974e50**********9033f46', + 'title' => '', + ], + 'WatermarkParam' => [ + 'description' => 'Set the watermarking parameters.', + 'type' => 'string', + 'example' => 'ticket', + 'title' => '', + ], + 'WorksId' => [ + 'description' => 'The ID of the operations report.', + 'type' => 'string', + 'example' => 'ccd3428c-****-****-a608-26bae29dffee', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', + 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Expired', + 'errorMessage' => 'Ticket [%s] has expired.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', + 'errorMessage' => 'The request [%s] has no token.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.NotExist', + 'errorMessage' => 'Ticket %s does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.Exceed', + 'errorMessage' => 'The number of tickets %s is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.HasNoLeft', + 'errorMessage' => 'There is no ticket number left, please generate new ticket.', + 'description' => '', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"AccessTicket\\": \\"a27a9aec-****-****-bd40-1a21ea41d7c5\\",\\n \\"CmptId\\": \\"sfdgsds-****-****-a608-mghdgd\\",\\n \\"GlobalParam\\": \\"[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]},{"paramKey":"product_type","joinType":"and","conditionList":[{"operate":"in","value":["]}]}]\\\\\\\\n\\",\\n \\"InvalidTime\\": \\"2022-01-30 03:03:49\\",\\n \\"MaxTicketNum\\": 9999,\\n \\"OrganizationId\\": \\"2fe4fbd8-****-****-b3e1-e92c7af083ea\\",\\n \\"RegisterTime\\": \\"2022-01-09 22:23:49\\",\\n \\"UsedTicketNum\\": 47,\\n \\"UserId\\": \\"974e50**********9033f46\\",\\n \\"WatermarkParam\\": \\"ticket\\",\\n \\"WorksId\\": \\"ccd3428c-****-****-a608-26bae29dffee\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryTicketInfo', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryTicketInfo', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryTicketInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryUserGroupListByParentId' => [ + 'summary' => 'You can this operation to obtain information about child user groups under a specified parent user group.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'ParentUserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the parent user group.'."\n" + ."\n" + .'* If you enter the ID of the parent user group, you can obtain the information of the child user group under this ID.'."\n" + .'* If you enter -1, you can obtain the sub-user group information under the root directory.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '72B19D61-B37A-5C7A-9389-0856CD7935B3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The information about the sub-user group.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => 'The time when the sub-user group was created.'."\n", + 'type' => 'string', + 'example' => '2020-10-30 10:03:09', + 'title' => '', + ], + 'CreateUser' => [ + 'description' => 'The creator of the sub-user group. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'example' => '136516262323****', + 'title' => '', + ], + 'IdentifiedPath' => [ + 'description' => 'Directory level of the sub-user group.'."\n", + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', + 'title' => '', + ], + 'ModifiedTime' => [ + 'description' => 'The time when the sub-user group was last modified.'."\n", + 'type' => 'string', + 'example' => '2020-11-16 15:49:08', + 'title' => '', + ], + 'ModifyUser' => [ + 'description' => 'The user who modified the subgroup. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'example' => '136516262323****', + 'title' => '', + ], + 'ParentUserGroupId' => [ + 'description' => 'The ID of the parent user group.'."\n", + 'type' => 'string', + 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', + 'title' => '', + ], + 'UserGroupDescription' => [ + 'description' => 'The description of the sub-user group.'."\n", + 'type' => 'string', + 'example' => '用来测试的用户组', + 'title' => '', + ], + 'UserGroupId' => [ + 'description' => 'The ID of the sub-user group.'."\n", + 'type' => 'string', + 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', + 'title' => '', + ], + 'UserGroupName' => [ + 'description' => 'The name of the sub-user group.'."\n", + 'type' => 'string', + 'example' => 'popapi测试分组', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserGroup.NotIn.Organization', + 'errorMessage' => 'The user group is not in the current organization.', + 'description' => 'Usergroup is not belong to current organization.', + ], + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => 'The user group does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"72B19D61-B37A-5C7A-9389-0856CD7935B3\\",\\n \\"Result\\": [\\n {\\n \\"CreateTime\\": \\"2020-10-30 10:03:09\\",\\n \\"CreateUser\\": \\"136516262323****\\",\\n \\"IdentifiedPath\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****\\",\\n \\"ModifiedTime\\": \\"2020-11-16 15:49:08\\",\\n \\"ModifyUser\\": \\"136516262323****\\",\\n \\"ParentUserGroupId\\": \\"3d2c23d4-2b41-4af8-a1f5-f6390f32****\\",\\n \\"UserGroupDescription\\": \\"用来测试的用户组\\",\\n \\"UserGroupId\\": \\"f5eeb52e-d9c2-4a8b-80e3-47ab55c2****\\",\\n \\"UserGroupName\\": \\"popapi测试分组\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'QueryUserGroupListByParentId', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserGroupListByParentId', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserGroupListByParentId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryUserGroupMember' => [ + 'summary' => 'Retrieve the list of members under a user group.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User group ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', + 'title' => '', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword for the username or nickname of the user group member.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '小刘', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '48C930FF-DFCF-5986-902B-E24C202E2443', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The result of the request for the user group member list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'ID of the user group or the user group member.', + 'type' => 'string', + 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', + 'title' => '', + ], + 'IsUserGroup' => [ + 'description' => 'Indicates whether it is a user group. Possible values:'."\n" + ."\n" + .'- true: It is a user group.'."\n" + .'- false: It is a user.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Name' => [ + 'description' => 'Name or nickname of the user group or its member.', + 'type' => 'string', + 'example' => '小刘的测试用户组', + 'title' => '', + ], + 'ParentUserGroupId' => [ + 'description' => 'ID of the parent user group.', + 'type' => 'string', + 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', + 'title' => '', + ], + 'ParentUserGroupName' => [ + 'description' => 'Name of the parent user group.', + 'type' => 'string', + 'example' => '财务组', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => 'The user group does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"48C930FF-DFCF-5986-902B-E24C202E2443\\",\\n \\"Result\\": [\\n {\\n \\"Id\\": \\"3d2c23d4-2b41-4af8-a1f5-f6390f32****\\",\\n \\"IsUserGroup\\": true,\\n \\"Name\\": \\"小刘的测试用户组\\",\\n \\"ParentUserGroupId\\": \\"2fe4fbd8-588f-489a-b3e1-e92c7af0****\\",\\n \\"ParentUserGroupName\\": \\"财务组\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<QueryUserGroupMemberResponse>\\n <Success>true</Success>\\n <RequestId>48C930FF-DFCF-5986-902B-E24C202E2443</RequestId>\\n <Result>\\n <ParentUserGroupName>财务组</ParentUserGroupName>\\n <IsUserGroup>true</IsUserGroup>\\n <Name>小刘的测试用户组</Name>\\n <ParentUserGroupId>2fe4fbd8-588f-489a-b3e1-e92c7af0****</ParentUserGroupId>\\n <Id>3d2c23d4-2b41-4af8-a1f5-f6390f32****</Id>\\n </Result>\\n</QueryUserGroupMemberResponse>","errorExample":""}]', + 'title' => 'Query User Group Member List', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserGroupMember', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserGroupMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryUserInfoByAccount' => [ + 'summary' => 'Queries user information based on the Alibaba Cloud ID or Alibaba Cloud account name.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Account', + 'in' => 'query', + 'schema' => [ + 'description' => 'Enter the name or ID of the Alibaba Cloud account that you want to query.'."\n" + ."\n" + .'* When you enter an account name:'."\n" + ."\n" + .' * If the organization user is a master account, such as main_account, the query account format is master account. That is, the main account main_account to be entered.'."\n" + .' * If the organization user is a RAM user, such as a <[email protected]>, the query account format is the head of the RAM user, that is, the RAM user to be entered is zhangsan.'."\n" + ."\n" + .'* ID:'."\n" + ."\n" + .' * Enter the UID of the account to query the account information.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1386587****@163.com', + 'title' => '', + ], + ], + [ + 'name' => 'ParentAccountName', + 'in' => 'query', + 'schema' => [ + 'description' => 'When a duplicate error occurs while querying the sub-account, enter the primary account\'s username, for example, [email protected].', + 'type' => 'string', + 'required' => false, + 'example' => '[email protected]', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The returned organization user information.'."\n", + 'type' => 'object', + 'properties' => [ + 'AccountId' => [ + 'description' => 'The ID of the Alibaba Cloud account.'."\n", + 'type' => 'string', + 'example' => '135****5848', + 'title' => '', + ], + 'AccountName' => [ + 'description' => 'The name of the Alibaba Cloud account that corresponds to the member. (If you use a RAM user, the domain name information that follows @ is removed. For example, if you use a <[email protected]>, test is returned.)'."\n", + 'type' => 'string', + 'example' => '1386587****@163.com', + 'title' => '', + ], + 'AdminUser' => [ + 'description' => 'Whether you are an administrator of the organization. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'AuthAdminUser' => [ + 'description' => 'Whether you are a permission administrator. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Email' => [ + 'description' => 'The email address of the user.'."\n", + 'type' => 'string', + 'example' => '1386587****@163.com', + 'title' => '', + ], + 'NickName' => [ + 'description' => 'The nickname of the account.'."\n", + 'type' => 'string', + 'example' => '测试用户', + 'title' => '', + ], + 'Phone' => [ + 'description' => 'The phone number of the alert contact.'."\n", + 'type' => 'string', + 'example' => '1386587****', + 'title' => '', + ], + 'RoleIdList' => [ + 'description' => 'List of organization role IDs bound to the user.', + 'type' => 'array', + 'items' => [ + 'description' => 'Organization role IDs, up to 3, including but not limited to the pre-defined organization roles:'."\n" + .'- Organization Administrator (pre-defined role): 111111111 - Permission Administrator (pre-defined role): 111111112 - Regular User (pre-defined role): 111111113', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '111111111', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + 'UserId' => [ + 'description' => 'The UserID in the Quick BI.'."\n", + 'type' => 'string', + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + 'UserType' => [ + 'description' => 'The role type of the organization member. Valid values:'."\n" + ."\n" + .'* 1 : developer'."\n" + .'* 2 : visitors'."\n" + .'* 3 : Analyst'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'User.Duplicative', + 'errorMessage' => 'Duplicate users found with account name : %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"AccountId\\": \\"135****5848\\",\\n \\"AccountName\\": \\"1386587****@163.com\\",\\n \\"AdminUser\\": true,\\n \\"AuthAdminUser\\": true,\\n \\"Email\\": \\"1386587****@163.com\\",\\n \\"NickName\\": \\"测试用户\\",\\n \\"Phone\\": \\"1386587****\\",\\n \\"RoleIdList\\": [\\n 111111111\\n ],\\n \\"UserId\\": \\"fe67f61a35a94b7da1a34ba174a7****\\",\\n \\"UserType\\": 1\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<QueryUserInfoByAccountResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <UserType>1</UserType>\\n <Email>1386587****@163.com</Email>\\n <UserId>fe67f61a35a94b7da1a34ba174a7****</UserId>\\n <AuthAdminUser>true</AuthAdminUser>\\n <AccountId>135****5848</AccountId>\\n <NickName>测试用户</NickName>\\n <AdminUser>true</AdminUser>\\n <Phone>1386587****</Phone>\\n <AccountName>1386587****@163.com</AccountName>\\n </Result>\\n</QueryUserInfoByAccountResponse>","errorExample":""}]', + 'title' => 'QueryUserInfoByAccount', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserInfoByAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'QueryUserInfoByUserId' => [ + 'summary' => 'Queries user information based on the user ID.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user. The UserID is the UserID of the Quick BI, not the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The returned organization user information.'."\n", + 'type' => 'object', + 'properties' => [ + 'AccountId' => [ + 'description' => 'The ID of the Alibaba Cloud account.'."\n", + 'type' => 'string', + 'example' => '135****5848', + 'title' => '', + ], + 'AccountName' => [ + 'description' => 'The name of the Alibaba Cloud account that corresponds to the member.'."\n", + 'type' => 'string', + 'example' => '1386587****@163.com', + 'title' => '', + ], + 'AdminUser' => [ + 'description' => 'Whether you are an administrator of the organization. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'AuthAdminUser' => [ + 'description' => 'Whether you are a permission administrator. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Email' => [ + 'description' => 'The email address of the user.'."\n", + 'type' => 'string', + 'example' => '1386587****@163.com', + 'title' => '', + ], + 'NickName' => [ + 'description' => 'The nickname of the account.'."\n", + 'type' => 'string', + 'example' => '测试用户', + 'title' => '', + ], + 'Phone' => [ + 'description' => 'The phone number of the alert contact.'."\n", + 'type' => 'string', + 'example' => '1386587****', + 'title' => '', + ], + 'RoleIdList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'integer', + 'format' => 'int64', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'UserId' => [ + 'description' => 'The UserID in the Quick BI.'."\n", + 'type' => 'string', + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + 'UserType' => [ + 'description' => 'The role type of the organization member. Valid values:'."\n" + ."\n" + .'* 1 : developer'."\n" + .'* 2 : visitors'."\n" + .'* 3 : Analyst'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"AccountId\\": \\"135****5848\\",\\n \\"AccountName\\": \\"1386587****@163.com\\",\\n \\"AdminUser\\": true,\\n \\"AuthAdminUser\\": true,\\n \\"Email\\": \\"1386587****@163.com\\",\\n \\"NickName\\": \\"测试用户\\",\\n \\"Phone\\": \\"1386587****\\",\\n \\"RoleIdList\\": [\\n 0\\n ],\\n \\"UserId\\": \\"fe67f61a35a94b7da1a34ba174a7****\\",\\n \\"UserType\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'QueryUserInfoByUserId', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-02-26T09:29:01.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserInfoByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryUserList' => [ + 'summary' => 'Queries the members of an organization.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword of the username or nickname of the organization member.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '测试用户', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Current page number for organization member list:'."\n" + ."\n" + .'* Pages start from page 1.'."\n" + .'* Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '99999999', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of rows per page in a paged query.'."\n" + ."\n" + .'* Default value: 10.'."\n" + .'* Maximum value: 1,000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The pagination result of the user list is returned. The detailed information list of organization members is stored in the response parameter Data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Returns the list of requested users.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AccountId' => [ + 'description' => 'The ID of the Alibaba Cloud account.'."\n", + 'type' => 'string', + 'example' => '1355********', + 'title' => '', + ], + 'AccountName' => [ + 'description' => 'The name of the Alibaba Cloud account that corresponds to the member.'."\n", + 'type' => 'string', + 'example' => '测试用户', + 'title' => '', + ], + 'AdminUser' => [ + 'description' => 'Indicates whether the organization administrator. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'AuthAdminUser' => [ + 'description' => 'Indicate whether the RAM user is a permission administrator. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'JoinedDate' => [ + 'description' => 'Join Date', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1718691704000', + 'title' => '', + ], + 'LastLoginTime' => [ + 'description' => 'Last login time.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1718761320681', + 'title' => '', + ], + 'NickName' => [ + 'description' => 'The nickname of the organization member.'."\n", + 'type' => 'string', + 'example' => '测试用户', + 'title' => '', + ], + 'RoleIdList' => [ + 'description' => 'List of organization role IDs bound to the user.', + 'type' => 'array', + 'items' => [ + 'description' => 'Organization role IDs, up to three, including but not limited to pre-defined organization roles:'."\n" + .'- Organization Administrator (pre-defined role): 111111111 - Permission Administrator (pre-defined role): 111111112 - Regular User (pre-defined role): 111111113', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '111111111', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + 'UserId' => [ + 'description' => 'The UserID in the Quick BI.'."\n", + 'type' => 'string', + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + 'UserType' => [ + 'description' => 'The role type of the organization member. Valid values:'."\n" + ."\n" + .'* 1 : developer'."\n" + .'* 2 : visitors'."\n" + .'* 3 : Analyst'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'IsDeleted' => [ + 'description' => 'User status: '."\n" + .'- Active - false '."\n" + .'- Inactive - true', + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'The number of rows per page set when the interface is requested.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'The total number of rows in the table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"AccountId\\": \\"1355********\\",\\n \\"AccountName\\": \\"测试用户\\",\\n \\"AdminUser\\": true,\\n \\"AuthAdminUser\\": true,\\n \\"JoinedDate\\": 1718691704000,\\n \\"LastLoginTime\\": 1718761320681,\\n \\"NickName\\": \\"测试用户\\",\\n \\"RoleIdList\\": [\\n 111111111\\n ],\\n \\"UserId\\": \\"fe67f61a35a94b7da1a34ba174a7****\\",\\n \\"UserType\\": 1,\\n \\"IsDeleted\\": false\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryUserListResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <TotalPages>1</TotalPages>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <TotalNum>1</TotalNum>\\n <Data>\\n <UserType>1</UserType>\\n <UserId>fe67f61a35a94b7da1a34ba174a7****</UserId>\\n <AuthAdminUser>true</AuthAdminUser>\\n <AccountId>135562959848</AccountId>\\n <NickName>测试用户</NickName>\\n <AdminUser>true</AdminUser>\\n <AccountName>测试用户</AccountName>\\n </Data>\\n </Result>\\n</QueryUserListResponse>","errorExample":""}]', + 'title' => 'QueryUserList', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryUserRoleInfoInWorkspace' => [ + 'summary' => 'Get the preset workspace role information for a specified workspace member.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Quick BI user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f5698bedeb384b1986afccd9e434****', + 'title' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request succeeded.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Preset space role information of the user.', + 'type' => 'object', + 'properties' => [ + 'RoleCode' => [ + 'description' => 'Preset role code.', + 'type' => 'string', + 'example' => 'role_workspace_admin', + 'title' => '', + ], + 'RoleId' => [ + 'description' => 'Preset role ID. Possible values:'."\n" + .'- 25: Space Administrator'."\n" + .'- 26: Space Developer'."\n" + .'- 27: Space Analyst'."\n" + .'- 30: Space Viewer', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '25', + 'title' => '', + ], + 'RoleName' => [ + 'description' => 'Preset role name.', + 'type' => 'string', + 'example' => '空间管理员', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => 'The group workspace does not exist.', + ], + [ + 'errorCode' => 'User.RoleType.Valid', + 'errorMessage' => 'The role ID is invalid.', + 'description' => 'The role ID is invalid.', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => 'The user is not a member of the group workspace.', + ], + [ + 'errorCode' => 'User.PresetWorkspaceRole.NotExist', + 'errorMessage' => 'User does not have a predefined workspace role.', + 'description' => 'User does not have a predefined workspace role.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"RoleCode\\": \\"role_workspace_admin\\",\\n \\"RoleId\\": 25,\\n \\"RoleName\\": \\"空间管理员\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryUserRoleInfoInWorkspaceResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <RoleCode>role_workspace_admin</RoleCode>\\n <RoleName>管理员</RoleName>\\n <RoleId>25</RoleId>\\n </Result>\\n</QueryUserRoleInfoInWorkspaceResponse>","errorExample":""}]', + 'title' => 'Query Preset Roles of Workspace Members', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-08-07T06:37:07.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserRoleInfoInWorkspace', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserRoleInfoInWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryUserTagMetaList' => [ + 'summary' => 'Queries the metadata list of member tags in an organization.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns a list of user tags in an organization.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagDescription' => [ + 'description' => 'The description of the tag.'."\n", + 'type' => 'string', + 'example' => '用于区分部分职位', + 'title' => '', + ], + 'TagId' => [ + 'description' => 'The ID of the label.'."\n", + 'type' => 'string', + 'example' => 'pop_001', + 'title' => '', + ], + 'TagName' => [ + 'description' => 'The name of the tag.'."\n", + 'type' => 'string', + 'example' => '职位', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"TagDescription\\": \\"用于区分部分职位\\",\\n \\"TagId\\": \\"pop_001\\",\\n \\"TagName\\": \\"职位\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'QueryUserTagMetaList', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserTagMetaList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryUserTagValueList' => [ + 'summary' => 'Query the list of specific user tag values.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'This UserID refers to the Quick BI UserID, not the Alibaba Cloud UID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The result of the request for a list of user tags and their values.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagId' => [ + 'description' => 'Tag ID.', + 'type' => 'string', + 'example' => 'pop_001', + 'title' => '', + ], + 'TagName' => [ + 'description' => 'Tag name.', + 'type' => 'string', + 'example' => '职位', + 'title' => '', + ], + 'TagValue' => [ + 'description' => 'The value of the tag.', + 'type' => 'string', + 'example' => '主管', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserTag.NotIn.CurrentOrganization', + 'errorMessage' => 'The user tag is not in the current organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"TagId\\": \\"pop_001\\",\\n \\"TagName\\": \\"职位\\",\\n \\"TagValue\\": \\"主管\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<QueryUserTagValueListResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <TagValue>主管</TagValue>\\n <TagName>职位</TagName>\\n <TagId>pop_001</TagId>\\n </Result>\\n</QueryUserTagValueListResponse>","errorExample":""}]', + 'title' => 'QueryUserTagValueList', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserTagValueList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryWorks' => [ + 'summary' => 'Queries information about a specified data work.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'title' => '报表ID', + 'description' => 'Report ID'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'abcd****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'title' => 'QueryWorksModel', + 'description' => 'The details of the work.'."\n", + 'type' => 'object', + 'properties' => [ + 'Auth3rdFlag' => [ + 'title' => '', + 'description' => 'Third-party embedding status. Valid values:'."\n" + ."\n" + .'* 0: The embed service is not enabled.'."\n" + .'* 1: Embed is enabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Description' => [ + 'title' => '', + 'description' => 'Remarks on the work.'."\n", + 'type' => 'string', + 'example' => '备注', + ], + 'Directory' => [ + 'title' => '', + 'description' => 'The directory to which the work belongs.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => '', + 'description' => 'The ID of the directory.'."\n", + 'type' => 'string', + 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', + ], + 'Name' => [ + 'title' => '', + 'description' => 'The name of the directory.'."\n", + 'type' => 'string', + 'example' => '测试目录', + ], + 'PathId' => [ + 'title' => '', + 'description' => 'The hierarchical structure of the directory ID to which the directory belongs. Separate the hierarchical structure with a /.'."\n", + 'type' => 'string', + 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', + ], + 'PathName' => [ + 'title' => '', + 'description' => 'The hierarchical structure of the directory to which the directory belongs. Separate the hierarchical structure with a (/).'."\n", + 'type' => 'string', + 'example' => '测试目录', + ], + ], + 'example' => '', + ], + 'GmtCreate' => [ + 'title' => '', + 'description' => 'The timestamp of the creation of the work in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1496651577000', + ], + 'GmtModify' => [ + 'title' => '', + 'description' => 'The timestamp of the modification of the work in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1496651577000', + ], + 'ModifyName' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud account name of the person who modified the work.'."\n", + 'type' => 'string', + 'example' => '张三', + ], + 'OwnerId' => [ + 'title' => '', + 'description' => 'The user ID of the work owner in the Quick BI.'."\n", + 'type' => 'string', + 'example' => '9187a612aa474e2a8ac1414d5529****', + ], + 'OwnerName' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud account name of the work owner.'."\n", + 'type' => 'string', + 'example' => '张三', + ], + 'PublicFlag' => [ + 'description' => 'Is it public', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'PublicInvalidTime' => [ + 'description' => 'Deadline for the public release of the report', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1721366354000', + 'title' => '', + ], + 'SecurityLevel' => [ + 'title' => '', + 'description' => 'Security policies for collaborative authorization of works. Valid values:'."\n" + ."\n" + .'* 0: private'."\n" + .'* 12: Authorize specified members'."\n" + .'* 1 or 11: Authorize all workspace members'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you use legacy permissions, the return value is 1.'."\n" + ."\n" + .'* If you use the new permissions, the return value is 11.'."\n", + 'type' => 'string', + 'example' => '0', + ], + 'Status' => [ + 'title' => '', + 'description' => 'The status of the report. Valid values:'."\n" + ."\n" + .'* 0: unpublished'."\n" + .'* 1: published'."\n" + .'* 2: modified but not published'."\n" + .'* 3: unpublished'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'WorkName' => [ + 'title' => '', + 'description' => 'The name of the work.'."\n", + 'type' => 'string', + 'example' => '测试报表', + ], + 'WorkType' => [ + 'title' => '', + 'description' => 'Queries the types of works. Fill in the blanks to query all types. Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* FULLPAGE: full-screen dashboards'."\n" + .'* REPORT: workbook'."\n" + .'* dashboardOfflineQuery: self-service data retrieval'."\n", + 'type' => 'string', + 'example' => 'PAGE', + ], + 'WorksId' => [ + 'title' => '', + 'description' => 'The ID of the work.'."\n", + 'type' => 'string', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + ], + 'WorkspaceId' => [ + 'title' => '', + 'description' => 'The ID of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '87c6b145-090c-43e1-9426-8f93be23****', + ], + 'WorkspaceName' => [ + 'title' => '', + 'description' => 'The name of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '测试空间', + ], + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Works.Empty', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Resource.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The resource does not belong to the current organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Auth3rdFlag\\": 0,\\n \\"Description\\": \\"备注\\",\\n \\"Directory\\": {\\n \\"Id\\": \\"83d37ba6-d909-48a2-a517-f4d05c3a****\\",\\n \\"Name\\": \\"测试目录\\",\\n \\"PathId\\": \\"83d37ba6-d909-48a2-a517-f4d05c3a****\\",\\n \\"PathName\\": \\"测试目录\\"\\n },\\n \\"GmtCreate\\": \\"1496651577000\\",\\n \\"GmtModify\\": \\"1496651577000\\",\\n \\"ModifyName\\": \\"张三\\",\\n \\"OwnerId\\": \\"9187a612aa474e2a8ac1414d5529****\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"PublicFlag\\": true,\\n \\"PublicInvalidTime\\": 1721366354000,\\n \\"SecurityLevel\\": \\"0\\",\\n \\"Status\\": 0,\\n \\"WorkName\\": \\"测试报表\\",\\n \\"WorkType\\": \\"PAGE\\",\\n \\"WorksId\\": \\"95296e95-ca89-4c7d-8af9-dedf0ad0****\\",\\n \\"WorkspaceId\\": \\"87c6b145-090c-43e1-9426-8f93be23****\\",\\n \\"WorkspaceName\\": \\"测试空间\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryWorksResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <WorksId>95296e95-ca89-4c7d-8af9-dedf0ad0****</WorksId>\\n <WorkType>PAGE</WorkType>\\n <WorkName>测试报表</WorkName>\\n <WorkspaceId>87c6b145-090c-43e1-9426-8f93be23****</WorkspaceId>\\n <WorkspaceName>测试空间</WorkspaceName>\\n <Directory>\\n <Id>83d37ba6-d909-48a2-a517-f4d05c3a****</Id>\\n <Name>测试目录</Name>\\n <PathId>83d37ba6-d909-48a2-a517-f4d05c3a****</PathId>\\n <PathName>测试目录</PathName>\\n </Directory>\\n <SecurityLevel>0</SecurityLevel>\\n <Auth3rdFlag>0</Auth3rdFlag>\\n <Description>备注</Description>\\n <OwnerId>9187a612aa474e2a8ac1414d5529****</OwnerId>\\n <OwnerName>张三</OwnerName>\\n <ModifyName>张三</ModifyName>\\n <GmtCreate>1496651577000</GmtCreate>\\n <GmtModify>1496651577000</GmtModify>\\n <Status>0</Status>\\n </Result>\\n</QueryWorksResponse>","errorExample":""}]', + 'title' => 'QueryWorks', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-06-27T01:51:43.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryWorksBloodRelationship' => [ + 'summary' => 'Obtains the kinship of a data work, including the datasets referenced by each component and query field information. Currently, only supported data works include dashboards, workbooks, and self-service data retrieval.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'title' => '报表ID', + 'description' => 'The ID of the data work.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'abcd****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response.'."\n", + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'List of work blood information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ComponentId' => [ + 'title' => '', + 'description' => 'The ID of the component that you want to modify.'."\n", + 'type' => 'string', + 'example' => '0696083a-ca72-4d89-8e7a-c017910e0***', + ], + 'ComponentName' => [ + 'description' => 'The name of the component.'."\n", + 'type' => 'string', + 'example' => '线图', + 'title' => '', + ], + 'ComponentType' => [ + 'title' => '', + 'description' => 'The type of the image component.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'ComponentTypeName' => [ + 'description' => 'The name of the component type.'."\n", + 'type' => 'string', + 'example' => 'LINE', + 'title' => '', + ], + 'ComponentTypeCnName' => [ + 'title' => '组件类型中文名称', + 'description' => 'Chinese name of the component type', + 'type' => 'string', + 'example' => '交叉表', + ], + 'DatasetId' => [ + 'title' => '', + 'description' => 'The ID of the training dataset that you want to remove from the specified custom linguistic model.'."\n", + 'type' => 'string', + 'example' => 'dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record', + ], + 'QueryParams' => [ + 'title' => '', + 'description' => 'A list of query parameter reference columns.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AreaId' => [ + 'title' => '', + 'description' => 'The ID of the owning location.'."\n", + 'type' => 'string', + 'example' => 'area_column', + ], + 'AreaName' => [ + 'description' => 'The name of the owning location.'."\n", + 'type' => 'string', + 'example' => '列(度量)', + 'title' => '', + ], + 'Caption' => [ + 'title' => '', + 'description' => 'The display name of the field.'."\n", + 'type' => 'string', + 'example' => 'order_number', + ], + 'DataType' => [ + 'title' => '', + 'description' => 'The type of the field. Valid values:'."\n" + ."\n" + .'* string: string type'."\n" + .'* date: a date type that contains only the year, month, and day parts'."\n" + .'* datetime: a common date type'."\n" + .'* time: a date type that contains only hours, minutes, and seconds.'."\n" + .'* number: numeric'."\n" + .'* boolean: Boolean type'."\n" + .'* geographical: geographical location'."\n" + .'* url: string type'."\n" + .'* imageUrl: the type of the image link.'."\n" + .'* multivalue: a multi-value column'."\n", + 'type' => 'string', + 'example' => 'number', + ], + 'IsMeasure' => [ + 'title' => '', + 'description' => 'Indices whether the metric. Valid values:'."\n" + ."\n" + .'true false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'PathId' => [ + 'title' => '', + 'description' => 'The globally unique PathId.'."\n", + 'type' => 'string', + 'example' => 'schema7d1944eb-443e-48c6-8123-bf45a99e7e74.dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record.[Ndc78a4_order_level].[Ndc78a4_order_level].[Ndc78a4_order_level]', + ], + 'Uid' => [ + 'title' => '', + 'description' => 'The unique ID of the field.'."\n", + 'type' => 'string', + 'example' => 'Ndc78a4_order_number', + ], + 'Expression' => [ + 'title' => '计算字段表达式', + 'description' => 'Calculate field expression.', + 'type' => 'string', + 'example' => 'BI_DATEADD([时间], 100, \'day\')', + ], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid.Works.Empty', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.WorksId.Not.Publish', + 'errorMessage' => 'Works %s is not published yet.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Workspace', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"ComponentId\\": \\"0696083a-ca72-4d89-8e7a-c017910e0***\\",\\n \\"ComponentName\\": \\"线图\\",\\n \\"ComponentType\\": 3,\\n \\"ComponentTypeName\\": \\"LINE\\",\\n \\"ComponentTypeCnName\\": \\"交叉表\\",\\n \\"DatasetId\\": \\"dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record\\",\\n \\"QueryParams\\": [\\n {\\n \\"AreaId\\": \\"area_column\\",\\n \\"AreaName\\": \\"列(度量)\\",\\n \\"Caption\\": \\"order_number\\",\\n \\"DataType\\": \\"number\\",\\n \\"IsMeasure\\": true,\\n \\"PathId\\": \\"schema7d1944eb-443e-48c6-8123-bf45a99e7e74.dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record.[Ndc78a4_order_level].[Ndc78a4_order_level].[Ndc78a4_order_level]\\",\\n \\"Uid\\": \\"Ndc78a4_order_number\\",\\n \\"Expression\\": \\"BI_DATEADD([时间], 100, \'day\')\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<QueryWorksBloodRelationshipResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <ComponentId>0696083a-ca72-4d89-8e7a-c017910e0***</ComponentId>\\n <ComponentName>线图</ComponentName>\\n <ComponentType>3</ComponentType>\\n <ComponentTypeName>LINE</ComponentTypeName>\\n <QueryParams>\\n <Uid>Ndc78a4_order_number</Uid>\\n <PathId>schema7d1944eb-443e-48c6-8123-bf45a99e7e74.dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record.[Ndc78a4_order_level].[Ndc78a4_order_level].[Ndc78a4_order_level]</PathId>\\n <Caption>order_number</Caption>\\n <DataType>number</DataType>\\n <IsMeasure>true</IsMeasure>\\n <AreaId>area_column</AreaId>\\n <AreaName>列(度量)</AreaName>\\n </QueryParams>\\n <DatasetId>dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record</DatasetId>\\n </Result>\\n</QueryWorksBloodRelationshipResponse>","errorExample":""}]', + 'title' => 'QueryWorksBloodRelationship', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorksBloodRelationship', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryWorksByOrganization' => [ + 'summary' => 'Query all works under the entire organization, with the option to specify the type of work.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of work to query. Leave blank to query all types. Possible values:'."\n" + ."\n" + .'- DATAPRODUCT: Data Portal'."\n" + .'- PAGE: Dashboard'."\n" + .'- REPORT: Spreadsheet'."\n" + .'- dashboardOfflineQuery: Self-service Data Retrieval', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'PAGE', + 'title' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the work to query. Possible values:'."\n" + ."\n" + .'- 0: Unpublished'."\n" + .'- 1: Published'."\n" + .'- 2: Modified but not published'."\n" + .'- 3: Offline', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '0', + 'title' => '', + ], + ], + [ + 'name' => 'ThirdPartAuthFlag', + 'in' => 'query', + 'schema' => [ + 'description' => 'Third-party embedding status. Possible values:'."\n" + ."\n" + .'- 0: Embedding not enabled'."\n" + .'- 1: Embedding enabled', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Page number.'."\n" + ."\n" + .'- Default value is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '99999999', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of items per page.'."\n" + ."\n" + .'- Default value is 10.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns a list of all works under the organization that meet the request criteria.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Details of the work list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Auth3rdFlag' => [ + 'description' => 'Third-party embedding status. Possible values:'."\n" + ."\n" + .'- 0: Embedding not enabled'."\n" + .'- 1: Embedding enabled', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Description' => [ + 'description' => 'Notes for the work.', + 'type' => 'string', + 'example' => '备注', + 'title' => '', + ], + 'Directory' => [ + 'description' => 'Directory to which the work belongs.', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'ID of the directory to which it belongs.', + 'type' => 'string', + 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', + 'title' => '', + ], + 'Name' => [ + 'description' => 'Name of the directory to which it belongs.', + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + 'PathId' => [ + 'description' => 'Hierarchical structure of the directory ID, separated by『/』.', + 'type' => 'string', + 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', + 'title' => '', + ], + 'PathName' => [ + 'description' => 'Hierarchical structure of the directory name, separated by『/』.', + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'GmtCreate' => [ + 'description' => 'Timestamp (in milliseconds) when the work was created.', + 'type' => 'string', + 'example' => '1496651577000', + 'title' => '', + ], + 'GmtModify' => [ + 'description' => 'Millisecond-level timestamp of the work modification.', + 'type' => 'string', + 'example' => '1572334870000', + 'title' => '', + ], + 'ModifyName' => [ + 'description' => 'The Alibaba Cloud account name of the work modifier.', + 'type' => 'string', + 'example' => '张三', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'The UserID of the work\'s owner in Quick BI.', + 'type' => 'string', + 'example' => '作品所属工作空间名称。', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'The Alibaba Cloud account name of the work\'s owner.', + 'type' => 'string', + 'example' => '李四', + 'title' => '', + ], + 'PublicFlag' => [ + 'description' => 'Whether it is public', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'PublicInvalidTime' => [ + 'description' => 'The expiration date for the report to be made public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1721366354000', + 'title' => '', + ], + 'SecurityLevel' => [ + 'description' => 'The security policy for collaborative authorization of the work. Values:'."\n" + .'- 0: Private'."\n" + .'- 12: Authorize specific members'."\n" + .'- 1 or 11: Authorize all space members'."\n" + ."\n" + .'>- If you are using the old version of permissions, the returned value is 1.'."\n" + .'>- If you are using the new version of permissions, the returned value is 11.', + 'type' => 'string', + 'example' => '1', + 'title' => '', + ], + 'Status' => [ + 'description' => 'The status of the report. Value range:'."\n" + ."\n" + .'- 0: Unpublished'."\n" + .'- 1: Published'."\n" + .'- 2: Modified but not published'."\n" + .'- 3: Offline', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'WorkName' => [ + 'description' => 'The name of the work.', + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'WorkType' => [ + 'description' => 'The type of the work. Value range:'."\n" + ."\n" + .'- DATAPRODUCT: Data portal'."\n" + .'- PAGE: Dashboard'."\n" + .'- REPORT: Spreadsheet'."\n" + .'- dashboardOfflineQuery: Self-service data retrieval', + 'type' => 'string', + 'example' => 'PAGE', + 'title' => '', + ], + 'WorksId' => [ + 'description' => 'The ID of the work.', + 'type' => 'string', + 'example' => '897ce25e-****-****-af84-d13c5610****', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.', + 'type' => 'string', + 'example' => '作品修改者的阿里云账户名。', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the work belongs.', + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'Page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'The number of rows per page set when requesting the interface.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'Total number of rows.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'Total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"Auth3rdFlag\\": 1,\\n \\"Description\\": \\"备注\\",\\n \\"Directory\\": {\\n \\"Id\\": \\"83d37ba6-d909-48a2-a517-f4d05c3a****\\",\\n \\"Name\\": \\"测试目录\\",\\n \\"PathId\\": \\"83d37ba6-d909-48a2-a517-f4d05c3a****\\",\\n \\"PathName\\": \\"测试目录\\"\\n },\\n \\"GmtCreate\\": \\"1496651577000\\",\\n \\"GmtModify\\": \\"1572334870000\\",\\n \\"ModifyName\\": \\"张三\\",\\n \\"OwnerId\\": \\"作品所属工作空间名称。\\",\\n \\"OwnerName\\": \\"李四\\",\\n \\"PublicFlag\\": true,\\n \\"PublicInvalidTime\\": 1721366354000,\\n \\"SecurityLevel\\": \\"1\\",\\n \\"Status\\": 1,\\n \\"WorkName\\": \\"测试报表\\",\\n \\"WorkType\\": \\"PAGE\\",\\n \\"WorksId\\": \\"897ce25e-****-****-af84-d13c5610****\\",\\n \\"WorkspaceId\\": \\"作品修改者的阿里云账户名。\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryWorksByOrganizationResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <TotalPages>1</TotalPages>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <TotalNum>1</TotalNum>\\n <Data>\\n <Status>1</Status>\\n <Auth3rdFlag>1</Auth3rdFlag>\\n <GmtModify>1572334870000</GmtModify>\\n <WorksId>897ce25e-****-****-af84-d13c5610****</WorksId>\\n <WorkType>PAGE</WorkType>\\n <OwnerName>李四</OwnerName>\\n <WorkspaceName>测试工作空间</WorkspaceName>\\n <OwnerId>作品所属工作空间名称。</OwnerId>\\n <ModifyName>张三</ModifyName>\\n <WorkspaceId>作品修改者的阿里云账户名。</WorkspaceId>\\n <SecurityLevel>1</SecurityLevel>\\n <Description>备注</Description>\\n <WorkName>测试报表</WorkName>\\n <GmtCreate>1496651577000</GmtCreate>\\n <Directory>\\n <PathId>83d37ba6-d909-48a2-a517-f4d05c3a****</PathId>\\n <PathName>测试目录</PathName>\\n <Name>测试目录</Name>\\n <Id>83d37ba6-d909-48a2-a517-f4d05c3a****</Id>\\n </Directory>\\n </Data>\\n </Result>\\n</QueryWorksByOrganizationResponse>","errorExample":""}]', + 'title' => 'Query All Works Under the Organization', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorksByOrganization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'QueryWorksByWorkspace' => [ + 'summary' => 'Queries all works in a workspace under an organization. You can specify the type of work.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the workspace.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '89713491-cb4f-4579-b889-e82c35f1****', + 'title' => '', + ], + ], + [ + 'name' => 'WorksType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the work. Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* FULLPAGE: full-screen dashboards'."\n" + .'* REPORT: workbook'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'PAGE', + 'title' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the work. Valid values:'."\n" + ."\n" + .'* 0: unpublished'."\n" + .'* 1: published'."\n" + .'* 2: modified but not published'."\n" + .'* 3: unpublished'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '0', + 'title' => '', + ], + ], + [ + 'name' => 'ThirdPartAuthFlag', + 'in' => 'query', + 'schema' => [ + 'description' => 'Third-party embedding status. Valid values:'."\n" + ."\n" + .'* 0: The embed service is not enabled.'."\n" + .'* 1: Embed is enabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '0', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number of the returned page.'."\n" + ."\n" + .'* Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '99999999', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries returned per page.'."\n" + ."\n" + .'* Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns a list of all works in the organization workspace that meet the requested criteria.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The details of the list of works.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Auth3rdFlag' => [ + 'description' => 'Third-party embedding status. Valid values:'."\n" + ."\n" + .'* 0: The embed service is not enabled.'."\n" + .'* 1: Embed is enabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Description' => [ + 'description' => 'Remarks on the work.'."\n", + 'type' => 'string', + 'example' => '备注', + 'title' => '', + ], + 'Directory' => [ + 'description' => 'The directory to which the work belongs.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'The ID of the directory.'."\n", + 'type' => 'string', + 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', + 'title' => '', + ], + 'Name' => [ + 'description' => 'The name of the directory.'."\n", + 'type' => 'string', + 'example' => '所属目录名称。', + 'title' => '', + ], + 'PathId' => [ + 'description' => 'The hierarchical structure of the directory ID to which the directory belongs. Separate the hierarchical structure with a /.'."\n", + 'type' => 'string', + 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', + 'title' => '', + ], + 'PathName' => [ + 'description' => 'The hierarchical structure of the directory to which the directory belongs. Separate the hierarchical structure with a (/).'."\n", + 'type' => 'string', + 'example' => '测试目录', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'GmtCreate' => [ + 'description' => 'The timestamp of the creation of the work in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1496651577000', + 'title' => '', + ], + 'GmtModify' => [ + 'description' => 'The timestamp of the modification of the work in milliseconds.'."\n", + 'type' => 'string', + 'example' => '1572334870000', + 'title' => '', + ], + 'ModifyName' => [ + 'description' => 'Nickname of the work modifier.'."\n", + 'type' => 'string', + 'example' => '张三', + 'title' => '', + ], + 'OwnerId' => [ + 'description' => 'The user ID of the work owner in the Quick BI.'."\n", + 'type' => 'string', + 'example' => '作品所属工作空间名称。', + 'title' => '', + ], + 'OwnerName' => [ + 'description' => 'The nickname of the work owner.'."\n", + 'type' => 'string', + 'example' => '李四', + 'title' => '', + ], + 'PublicFlag' => [ + 'description' => 'Is it public', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'PublicInvalidTime' => [ + 'description' => 'Deadline for the public release of the report', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1721366354000', + 'title' => '', + ], + 'SecurityLevel' => [ + 'description' => 'Security policies for collaborative authorization of works. Valid values:'."\n" + ."\n" + .'* 0: private'."\n" + .'* 12: Authorize specified members'."\n" + .'* 1 or 11: Authorize all workspace members'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you use legacy permissions, the return value is 1.'."\n" + ."\n" + .'* If you use the new permissions, the return value is 11.'."\n", + 'type' => 'string', + 'example' => '0', + 'title' => '', + ], + 'Status' => [ + 'description' => 'Status of dashboards, full-screen dashboards, spreadsheets. The default value of other work types is 1. Valid values:'."\n" + ."\n" + .'* 0: unpublished'."\n" + .'* 1: published'."\n" + .'* 2: modified but not published'."\n" + .'* 3: unpublished'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'WorkName' => [ + 'description' => 'The name of the work.'."\n", + 'type' => 'string', + 'example' => '测试报表', + 'title' => '', + ], + 'WorkType' => [ + 'description' => 'The type of the work. Valid values:'."\n" + ."\n" + .'* DATAPRODUCT: BI portal'."\n" + .'* PAGE: Dashboard'."\n" + .'* FULLPAGE: full-screen dashboards'."\n" + .'* REPORT: workbook'."\n" + .'* dashboardOfflineQuery: self-service data retrieval'."\n" + .'* Analysis: Ad hoc analysis'."\n" + .'* DATAFORM: form filling'."\n", + 'type' => 'string', + 'example' => 'PAGE', + 'title' => '', + ], + 'WorksId' => [ + 'description' => 'The ID of the work.'."\n", + 'type' => 'string', + 'example' => '897ce25e-f993-4abd-af84-d13c5610****', + 'title' => '', + ], + 'WorkspaceId' => [ + 'description' => 'The ID of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '87c6b145-090c-43e1-9426-8f93be23****', + 'title' => '', + ], + 'WorkspaceName' => [ + 'description' => 'The name of the workspace to which the work belongs.'."\n", + 'type' => 'string', + 'example' => '测试工作空间', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'The number of rows per page set when the interface is requested.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'The total number of rows in the table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"Auth3rdFlag\\": 1,\\n \\"Description\\": \\"备注\\",\\n \\"Directory\\": {\\n \\"Id\\": \\"83d37ba6-d909-48a2-a517-f4d05c3a****\\",\\n \\"Name\\": \\"所属目录名称。\\",\\n \\"PathId\\": \\"83d37ba6-d909-48a2-a517-f4d05c3a****\\",\\n \\"PathName\\": \\"测试目录\\"\\n },\\n \\"GmtCreate\\": \\"1496651577000\\",\\n \\"GmtModify\\": \\"1572334870000\\",\\n \\"ModifyName\\": \\"张三\\",\\n \\"OwnerId\\": \\"作品所属工作空间名称。\\",\\n \\"OwnerName\\": \\"李四\\",\\n \\"PublicFlag\\": true,\\n \\"PublicInvalidTime\\": 1721366354000,\\n \\"SecurityLevel\\": \\"0\\",\\n \\"Status\\": 1,\\n \\"WorkName\\": \\"测试报表\\",\\n \\"WorkType\\": \\"PAGE\\",\\n \\"WorksId\\": \\"897ce25e-f993-4abd-af84-d13c5610****\\",\\n \\"WorkspaceId\\": \\"87c6b145-090c-43e1-9426-8f93be23****\\",\\n \\"WorkspaceName\\": \\"测试工作空间\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n }\\n}","type":"json"}]', + 'title' => 'QueryWorksByWorkspace', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorksByWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryWorkspaceRoleConfig' => [ + 'summary' => 'Get Configuration Information for a Specified Workspace Role', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace role ID, including predefined roles and custom roles:'."\n" + ."\n" + .'- 25: Workspace Administrator (predefined role)'."\n" + .'- 26: Developer (predefined role)'."\n" + .'- 27: Analyst (predefined role)'."\n" + .'- 30: Viewer (predefined role)'."\n" + .'- Custom role: The corresponding role ID for the custom role', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '25', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the query result of the interface.', + 'type' => 'object', + 'properties' => [ + 'AuthConfigList' => [ + 'description' => 'List of role permission configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'Specific permission configuration.', + 'type' => 'object', + 'properties' => [ + 'ActionAuthKeys' => [ + 'description' => 'Permission scope.', + 'type' => 'array', + 'items' => [ + 'description' => 'Specific permissions:'."\n" + .'- edit: Create'."\n" + .'- use: Use'."\n" + .'- list: Display list', + 'type' => 'string', + 'example' => 'edit', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + 'AuthKey' => [ + 'description' => 'Permission type:'."\n" + .'- portal_create: Data Portal'."\n" + .'- dashboard_create: Dashboard'."\n" + .'- report_create: Spreadsheet'."\n" + .'- screen_create: Data Screen'."\n" + .'- analysis: Ad-hoc Analysis'."\n" + .'- offline_download: Self-service Data Retrieval'."\n" + .'- data_form: Data Entry'."\n" + .'- quick_etl: Data Preparation'."\n" + .'- cube: Dataset'."\n" + .'- datasource: Data Source', + 'type' => 'string', + 'example' => 'portal_create', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'IsSystemRole' => [ + 'description' => 'Whether it is a predefined role. Value range:'."\n" + ."\n" + .'- true: Yes'."\n" + .'- false: No', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RoleId' => [ + 'description' => 'Workspace role ID, including predefined roles and custom roles:'."\n" + ."\n" + .'- 25: Workspace Administrator (predefined role)'."\n" + .'- 26: Developer (predefined role)'."\n" + .'- 27: Analyst (predefined role)'."\n" + .'- 30: Viewer (predefined role)'."\n" + .'- Custom role: The corresponding role ID for the custom role', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '25', + 'title' => '', + ], + 'RoleName' => [ + 'description' => 'Role name.', + 'type' => 'string', + 'example' => '空间管理员', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'User.Role.NotExist', + 'errorMessage' => 'User role not exist: %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": {\\n \\"AuthConfigList\\": [\\n {\\n \\"ActionAuthKeys\\": [\\n \\"edit\\"\\n ],\\n \\"AuthKey\\": \\"portal_create\\"\\n }\\n ],\\n \\"IsSystemRole\\": true,\\n \\"RoleId\\": 25,\\n \\"RoleName\\": \\"空间管理员\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryWorkspaceRoleConfig', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorkspaceRoleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'QueryWorkspaceUserList' => [ + 'summary' => 'Query the list of members under a specified workspace.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'Keyword for the username of the workspace member.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '分析', + 'title' => '', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'Current page number of the workspace member list:'."\n" + ."\n" + .'- Starting value: 1'."\n" + .'- Default value: 1', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000000', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of rows per page in a paginated query:'."\n" + ."\n" + .'- Default value: 10'."\n" + .'- Maximum value: 1000', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the paginated result of the member list, with detailed information about the members stored in the Data parameter of the response.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Information about the workspace members.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AccountId' => [ + 'description' => 'Alibaba Cloud account ID.', + 'type' => 'string', + 'example' => '16020915****8429', + 'title' => '', + ], + 'AccountName' => [ + 'description' => 'Alibaba Cloud account name.', + 'type' => 'string', + 'example' => 'pop****@aliyunid.test', + 'title' => '', + ], + 'NickName' => [ + 'description' => 'Nickname.', + 'type' => 'string', + 'example' => '我就是那个分析师大神', + 'title' => '', + ], + 'Role' => [ + 'description' => 'Preset role information for the workspace member.', + 'type' => 'object', + 'properties' => [ + 'RoleCode' => [ + 'description' => 'Code corresponding to the preset role.', + 'type' => 'string', + 'example' => 'role_workspace_admin', + 'title' => '', + ], + 'RoleId' => [ + 'description' => 'Preset role ID. Possible values:'."\n" + ."\n" + .'- 25: Workspace Administrator'."\n" + .'- 26: Workspace Developer'."\n" + .'- 27: Workspace Analyst'."\n" + .'- 30: Workspace Viewer', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '25', + 'title' => '', + ], + 'RoleName' => [ + 'description' => 'Name of the preset role.', + 'type' => 'string', + 'example' => '管理员', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'UserId' => [ + 'description' => 'Quick BI user ID.', + 'type' => 'string', + 'example' => 'de4bc5f9429141cc8091cdd1c15b****', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageNum' => [ + 'description' => 'Page number.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PageSize' => [ + 'description' => 'Number of rows per page as set in the request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'TotalNum' => [ + 'description' => 'Total number of rows.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'Total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"Data\\": [\\n {\\n \\"AccountId\\": \\"16020915****8429\\",\\n \\"AccountName\\": \\"pop****@aliyunid.test\\",\\n \\"NickName\\": \\"我就是那个分析师大神\\",\\n \\"Role\\": {\\n \\"RoleCode\\": \\"role_workspace_admin\\",\\n \\"RoleId\\": 25,\\n \\"RoleName\\": \\"管理员\\"\\n },\\n \\"UserId\\": \\"de4bc5f9429141cc8091cdd1c15b****\\"\\n }\\n ],\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalNum\\": 1,\\n \\"TotalPages\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryWorkspaceUserListResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <TotalPages>1</TotalPages>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <TotalNum>1</TotalNum>\\n <Data>\\n <UserId>de4bc5f9429141cc8091cdd1c15b****</UserId>\\n <AccountId>16020915****8429</AccountId>\\n <NickName>我就是那个分析师大神</NickName>\\n <AccountName>pop****@aliyunid.test</AccountName>\\n <Role>\\n <RoleCode>role_workspace_admin</RoleCode>\\n <RoleName>管理员</RoleName>\\n <RoleId>25</RoleId>\\n </Role>\\n </Data>\\n </Result>\\n</QueryWorkspaceUserListResponse>","errorExample":""}]', + 'title' => 'List Members Under a Workspace', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorkspaceUserList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'ResultCallback' => [ + 'summary' => 'You can customize the callback interface for approval processes to process Quick BI approval processes.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the approval process.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'c5ea0db8-****-****-9081-04bc0df4c6a3', + 'title' => '', + ], + ], + [ + 'name' => 'HandleReason', + 'in' => 'query', + 'schema' => [ + 'description' => 'The reason for the approval.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '你不是A部门分析师。', + 'title' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'Approval result:'."\n" + ."\n" + .'* 1: passed'."\n" + .'* 2: rejected'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Application.RecordClosed', + 'errorMessage' => 'The closed application record cannot be operated.', + 'description' => '', + ], + [ + 'errorCode' => 'Application.NotExist', + 'errorMessage' => 'The application is not exists.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ResultCallback', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ResultCallback', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'SaveFavorites' => [ + 'summary' => 'Add a user\'s favorite work', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID of the person who favorites the work. This user ID is the UserID of Quick BI, not the UID of Alibaba Cloud.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '121344444790****', + 'title' => '', + ], + ], + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the work being favorited.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'd23e84a1-82a0-4292-bfdb-521306c3****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the interface execution. Possible values:'."\n" + ."\n" + .'- true: Execution successful'."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request successful'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Status.Error', + 'errorMessage' => 'This group workspace has been disabled or deleted.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SaveFavoritesResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</SaveFavoritesResponse>","errorExample":""}]', + 'title' => 'Add Work to Favorites', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SaveFavorites', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'SetDataLevelPermissionExtraConfig' => [ + 'summary' => 'Set extra configuration for row and column permissions.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Dataset ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '7c7223ae-******-3c744528014b', + 'title' => '', + ], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Type of dataset row and column permissions. Possible values:'."\n" + ."\n" + .'- ROW_LEVEL: Row-level permission'."\n" + .'- COLUMN_LEVEL: Column-level permission', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ROW_LEVEL', + 'title' => '', + ], + ], + [ + 'name' => 'MissHitPolicy', + 'in' => 'query', + 'schema' => [ + 'description' => 'Policy when no rule is matched:'."\n" + ."\n" + .'- NONE: No permission'."\n" + .'- ALL: Full permission', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'NONE', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'B70E1FBD-E533-52F2-A7A1-E02B92F78DDF', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Result of the API execution. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => '', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => '', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => '', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B70E1FBD-E533-52F2-A7A1-E02B92F78DDF\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SetDataLevelPermissionExtraConfigResponse>\\n <RequestId>B70E1FBD-E533-52F2-A7A1-E02B92F78DDF</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</SetDataLevelPermissionExtraConfigResponse>","errorExample":""}]', + 'title' => 'SetDataLevelPermissionExtraConfig', + 'description' => '> This interface only supports the new version of Quick BI\'s row and column permission model. If you are still using the old row and column permissions, please migrate to the new row and column permission model before calling this interface. The steps to migrate to the new row and column permission model: In Organization Management --> Security Configuration --> Upgrade Row and Column Permissions to New Version, click **One-Click Upgrade** to upgrade to the new row-level permissions.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SetDataLevelPermissionExtraConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'SetDataLevelPermissionRuleConfig' => [ + 'summary' => 'Set single dataset row and column permission configuration information (addition and update)', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'RuleModel', + 'in' => 'query', + 'schema' => [ + 'description' => '{'."\n" + .'"rule": "a5bb24da-****-a891683e14da", // ID of the row and column permission rule; when provided, it modifies the row-level permission rule, otherwise, it adds a new one'."\n" + .'"cubeId": "7c7223ae-****-3c744528014b", // Dataset ID'."\n" + .'"ruleName": "Test Row-Level Permission", // Name of the row-level permission rule'."\n" + .'"ruleLevelType": "ROW\\_LEVEL", // Type of row-level permission: ROW\\_LEVEL: Row-level permission, COLUMN\\_LEVEL: Column-level permission'."\n" + .'"ruleTargetScope": "ALL", // Target audience for the row-level permission rule: 1: Everyone, 2: Specific people'."\n" + .'"hitTakeEffect": 1, // Whether the rule takes effect after being hit (for column-level permissions): 1: Takes effect (default), 0: Does not take effect'."\n" + .'"ruleUsersModel": {'."\n" + .'"userGroups": \\['."\n" + .'"9bd2c6440ac542****589f16bf12ca8178dd", // User group IDs for the target user groups'."\n" + .'"0d5fb19b-****-1248fc27ca51",'."\n" + .'"3d2c23d4-****-f6390f325c2d"'."\n" + .'],'."\n" + .'"users": \\['."\n" + .'"43342****3784358", // User IDs for the target users'."\n" + .'"Huang****2e3fa822"'."\n" + .']'."\n" + .'},'."\n" + .'"ruleContentModel": {'."\n" + .'"ruleContentType": "ROW\\_FIELD", // Type of the row and column permission rule'."\n" + .'"ruleContentJson": "{"conditionNode":{"caption":"Period","isMeasure":false,"pathId":"7d3b***bc6","relationOperator":"not-null","name":"7d3b***bc6","value":{"value":\\[""],"valueType":"ENUM"}}}", // JSON string of the rule'."\n" + .'"ruleOriginConfigJson": "{"operator":"and","operands":\\[{"labelName":"Period","isValid":true,"uniqueId":"5","fieldId":"7d3b\\*\\*\\*bc6","error":false,"fieldType":"string","defaultValue":{"selectType":"condition","value":{"conditionOp":"not-null","conditionValue":""},"valueType":"ENUM"}}],"isRelation":true}" // JSON result used by the frontend template (specific to row-level permissions)'."\n" + .'}'."\n" + .'}', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{'."\n" + .' "cubeId": "aa574353-41cf-****-8d0d-455176c101fa",'."\n" + .' "hitTakeEffect": 1,'."\n" + .' "isOpen": 1,'."\n" + .' "permissionMode": "COMPLEX",'."\n" + .' "ruleContentModel": {'."\n" + .' "ruleContent": {'."\n" + .' "pathId": ['."\n" + .' "264b7a970b"'."\n" + .' ]'."\n" + .' },'."\n" + .' "ruleContentJson": "{\\"pathId\\":[\\"264b7a970b\\"]}",'."\n" + .' "ruleContentType": "COLUMN_FORBID"'."\n" + .' },'."\n" + .' "ruleId": "3971fa8e-f7e0-****-b6e3-5b3167dd7247",'."\n" + .' "ruleLevelType": "COLUMN_LEVEL",'."\n" + .' "ruleName": "rulename",'."\n" + .' "ruleTargetScope": "ALL"'."\n" + .'}', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Successfully saved row and column permission information.', + 'type' => 'string', + 'example' => '{'."\n" + .' "cubeId": "aa574353-41cf-****-8d0d-455176c101fa",'."\n" + .' "hitTakeEffect": 1,'."\n" + .' "isOpen": 1,'."\n" + .' "permissionMode": "COMPLEX",'."\n" + .' "ruleContentModel": {'."\n" + .' "ruleContent": {'."\n" + .' "pathId": ['."\n" + .' "264b7a970b"'."\n" + .' ]'."\n" + .' },'."\n" + .' "ruleContentJson": "{\\"pathId\\":[\\"264b7a970b\\"]}",'."\n" + .' "ruleContentType": "COLUMN_FORBID"'."\n" + .' },'."\n" + .' "ruleId": "3971fa8e-f7e0-****-b6e3-5b3167dd7247",'."\n" + .' "ruleLevelType": "COLUMN_LEVEL",'."\n" + .' "ruleName": "name",'."\n" + .' "ruleTargetScope": "ALL"'."\n" + .'}', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. The value range is as follows:'."\n" + ."\n" + .'- true: The request succeeded'."\n" + ."\n" + .'- false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'CubePermission.ColumnlevelField.Repeat', + 'errorMessage' => 'There are duplicate field configurations.', + 'description' => 'There are duplicate field configurations.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + [ + 'errorCode' => 'PathId.NotExist.Error', + 'errorMessage' => 'The cube field does not exist ,path id: %s.', + 'description' => 'Dataset field does not exist, field id:%s.', + ], + [ + 'errorCode' => 'Cannot.Support.MultipleDatasource', + 'errorMessage' => 'The current user tag table fields come from multiple tag tables, and separate calculations for multiple rows are not allowed.', + 'description' => 'The current user tag table fields come from multiple tag tables, and separate calculations for multiple rows are not allowed.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": \\"{\\\\n \\\\\\"cubeId\\\\\\": \\\\\\"aa574353-41cf-****-8d0d-455176c101fa\\\\\\",\\\\n \\\\\\"hitTakeEffect\\\\\\": 1,\\\\n \\\\\\"isOpen\\\\\\": 1,\\\\n \\\\\\"permissionMode\\\\\\": \\\\\\"COMPLEX\\\\\\",\\\\n \\\\\\"ruleContentModel\\\\\\": {\\\\n \\\\\\"ruleContent\\\\\\": {\\\\n \\\\\\"pathId\\\\\\": [\\\\n \\\\\\"264b7a970b\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"ruleContentJson\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"pathId\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"264b7a970b\\\\\\\\\\\\\\"]}\\\\\\",\\\\n \\\\\\"ruleContentType\\\\\\": \\\\\\"COLUMN_FORBID\\\\\\"\\\\n },\\\\n \\\\\\"ruleId\\\\\\": \\\\\\"3971fa8e-f7e0-****-b6e3-5b3167dd7247\\\\\\",\\\\n \\\\\\"ruleLevelType\\\\\\": \\\\\\"COLUMN_LEVEL\\\\\\",\\\\n \\\\\\"ruleName\\\\\\": \\\\\\"name\\\\\\",\\\\n \\\\\\"ruleTargetScope\\\\\\": \\\\\\"ALL\\\\\\"\\\\n}\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Set Single Dataset Row and Column Permission Configuration Information', + 'description' => '> This interface only supports the new row and column permission model of Quick BI. If you are still using the old row and column permissions, please migrate to the new row and column permission model before calling this interface. Steps to migrate to the new row and column permission model: In Organization Management --> Security Configuration --> Upgrade Row and Column Permissions to New Version, click **One-Click Upgrade** to upgrade to the new row-level permissions.', + 'changeSet' => [ + [ + 'createdAt' => '2024-12-30T02:38:46.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetDataLevelPermissionRuleConfig', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SetDataLevelPermissionRuleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'SetDataLevelPermissionWhiteList' => [ + 'summary' => 'Sets the whitelist for the specified row-level permissions.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WhiteListModel', + 'in' => 'query', + 'schema' => [ + 'description' => '{ "ruleType": "ROW_LEVEL", // The row-level permission type. "usersModel": { "userGroups": \\[ "0d5fb19b- ***-1248 fc27ca51", // The ID of the user group. "3d2c23d4-***-f6390f325c2d" ], "users": \\[ "4334 ***358", // Quick BI the UserID of the user. "Huang***3fa822" ] }, "cubeId": "7c7223ae-31d1-4d2f-b11f-3c744528014b" }'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{"ruleType":"ROW_LEVEL","usersModel":{"userGroups":["26edcb76-****-bdbab78267cb","187e6dd5-1611-4cf7-a034-1a93bd5fecf9"],"users":["4334***358","Huang***3fa822"]},"cubeId":"7c7223ae-****44528014b"}', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + [ + 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The usergroup %s does not belong to the current organization.', + 'description' => 'Usergroup %s is not belong to current organization.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SetDataLevelPermissionWhiteListResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</SetDataLevelPermissionWhiteListResponse>","errorExample":""}]', + 'title' => 'SetDataLevelPermissionWhiteList', + 'description' => '> : You can only Quick BI the new row-column permission model. If you are still using the old row-column permission model, migrate to the new row-column permission model before you call this operation. To migrate row-level permissions to the new row-level permission model, perform the following steps: Choose Organizations> Security Configurations> Upgrade Row-Level Permissions. On the Upgrade Row-Level Permissions page, click **Upgrade**.'."\n", + 'changeSet' => [ + [ + 'createdAt' => '2025-03-14T06:35:33.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetDataLevelPermissionWhiteList', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:SetDataLevelPermissionWhiteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'SmartqAuthTransfer' => [ + 'summary' => 'Synchronize the question count permissions of a specified user to other users', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'OriginUserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Source user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ASDHASD*************12EASDA', + 'title' => '', + ], + ], + [ + 'name' => 'TargetUserIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'Target user ID array, separated by English commas.'."\n" + .'><warning>The number of user IDs cannot exceed 100.></warning>', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '12313********dasfa,ASDASF*****SDAFEEG', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1*****************5DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'API execution result. Possible values:'."\n" + ."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: Request succeeded'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => '', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Param.Error', + 'errorMessage' => 'The parameter is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => '', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Query.Auth.Error', + 'errorMessage' => 'Query is not permitted.', + 'description' => '', + ], + [ + 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', + 'errorMessage' => 'Please purchase Nl2sql module first.', + 'description' => '', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The user %s does not belong to the current organization.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1*****************5DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Synchronize the question count permissions of a specified user to other users', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SmartqAuthTransfer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'SmartqAuthorize' => [ + 'summary' => 'Manages authorizations for Intelligent Q&A in batches.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'OperationType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The operation type. Valid values:'."\n" + ."\n" + .'- 0: Grant authorization'."\n" + ."\n" + .'- 1: Delete authorization', + 'enumValueTitles' => [ + 'Grant authorization', + 'Delete authorization', + ], + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '1', + 'minimum' => '0', + 'enum' => [ + '0', + '1', + ], + 'example' => '0', + 'title' => '', + ], + ], + [ + 'name' => 'UserIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'An array of user IDs. Separate multiple IDs with commas.'."\n" + .'><notice>The number of user IDs × (the number of Q\\&A resources + the number of analysis subjects) in a single request cannot exceed 100.></notice>', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123', + 'title' => '', + ], + ], + [ + 'name' => 'LlmCubes', + 'in' => 'query', + 'schema' => [ + 'description' => 'An array of Q\\&A resource IDs. Separate multiple IDs with commas.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123', + 'title' => '', + ], + ], + [ + 'name' => 'LlmCubeThemes', + 'in' => 'query', + 'schema' => [ + 'description' => 'An array of analysis subject IDs. Separate multiple IDs with commas.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123', + 'title' => '', + ], + ], + [ + 'name' => 'ExpireDay', + 'in' => 'query', + 'schema' => [ + 'description' => 'The expiration time. The default is seven days.'."\n" + .'Format: 2099-12-31', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '2099-12-31', + 'title' => '', + ], + ], + [ + 'name' => 'CubeIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'An array of dataset IDs. Separate multiple IDs with commas.'."\n" + .'><notice>This parameter is converted to the corresponding Q\\&A resource ID for authorization. If a \\`cubeId\\` does not correspond to an existing Q\\&A resource, an error is reported that the Q\\&A resource does not exist. Ensure that the \\`cubeId\\` is correct.></notice>', + 'type' => 'string', + 'required' => false, + 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123'."\n", + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The returned result.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => '617277C****************ABA47E31', + 'title' => '', + ], + 'Result' => [ + 'description' => 'An array of user information for failed operations.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about the user for whom the operation failed.', + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'title' => '用户id。', + 'description' => 'The user ID.', + 'type' => 'string', + 'example' => '617277C****************ABA47E31', + ], + 'LlmCube' => [ + 'title' => '问数资源id。', + 'description' => 'The Q\\&A resource ID.', + 'type' => 'string', + 'example' => '617277C****************ABA47E31', + ], + 'LlmCubeTheme' => [ + 'title' => '分析主题id。', + 'description' => 'The analysis subject ID.', + 'type' => 'string', + 'example' => '617277C****************ABA47E31', + ], + 'DetailMessage' => [ + 'title' => '失败原因。', + 'description' => 'The reason for the failure.', + 'type' => 'string', + 'example' => 'INVALID_FILE_FORMAT', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'errorCode' => 'Date.Format.Error', + 'errorMessage' => 'Date format conversion error.', + 'description' => 'Date format conversion error', + ], + [ + 'errorCode' => 'Date.Exceed.Error', + 'errorMessage' => 'The start date must be within 90 days from the current date.', + 'description' => 'Start date cannot be 90 days earlier than current date', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => 'The specified user is not in the organizational unit.', + ], + [ + 'errorCode' => 'Query.Auth.Error', + 'errorMessage' => 'Query is not permitted.', + 'description' => 'No query permission.', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => 'The specified user does not exist.', + ], + [ + 'errorCode' => 'Share.ExpireDate.Error', + 'errorMessage' => 'The expire date is illegal.', + 'description' => '', + ], + [ + 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', + 'errorMessage' => 'Please purchase Nl2sql module first.', + 'description' => 'Please purchase Nl2sql module first.', + ], + [ + 'errorCode' => 'API.Not.Exist', + 'errorMessage' => 'The data service API operation does not exist.', + 'description' => 'The data service API operation does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'Batch Management of Smart Q\\\\\\\\\\\\&A Authorizations', + 'description' => 'Manages authorizations for Intelligent Q\\&A in batches. Granting an existing authorization is treated as a new grant operation. By default, an attempt to delete an authorization that does not exist is skipped and no audit log is recorded.', + 'changeSet' => [ + [ + 'createdAt' => '2025-05-28T03:27:58.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2025-02-21T06:02:16.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SmartqAuthorize', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:SmartqAuthorize', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"617277C****************ABA47E31\\",\\n \\"Result\\": [\\n {\\n \\"UserId\\": \\"617277C****************ABA47E31\\",\\n \\"LlmCube\\": \\"617277C****************ABA47E31\\",\\n \\"LlmCubeTheme\\": \\"617277C****************ABA47E31\\",\\n \\"DetailMessage\\": \\"INVALID_FILE_FORMAT\\"\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SmartqQueryAbility' => [ + 'summary' => 'Runs an intelligent Q&A query.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'title' => '用户id。', + 'description' => 'The ID of the user.'."\n" + .'><notice>If you do not specify this parameter, data is queried as the organization owner by default.></notice>', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + [ + 'name' => 'UserQuestion', + 'in' => 'query', + 'schema' => [ + 'title' => '问题文本。', + 'description' => 'The question in text format.', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'title' => '数据集Id。', + 'description' => 'The ID of the dataset. To obtain the ID, navigate to \\*\\*Workbench\\*\\* > \\*\\*Dataset\\*\\* in the Quick BI console. Open the dataset and find the \\`cubeId\\` in the URL.'."\n" + ."\n" + .'In multi-table scenarios, this parameter must be empty.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + [ + 'name' => 'MultipleCubeIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'A list of dataset IDs. The model selects one or more tables from the list to generate an answer based on the question. This parameter is required for multi-table scenarios and is not used for single-table scenarios.', + 'type' => 'string', + 'example' => '7c7****-3c744528014b,a876asd***yhashd2', + 'title' => '', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id。', + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => 'D787E1A3-A************2B05DF8D885', + ], + 'Result' => [ + 'title' => '返回结果。', + 'description' => 'The returned result.', + 'type' => 'object', + 'properties' => [ + 'ChartType' => [ + 'title' => '建议图表类型。', + 'description' => 'The recommended chart type.', + 'type' => 'string', + 'example' => 'NEW_TABLE', + ], + 'MetaType' => [ + 'title' => '列元组类型列表。', + 'description' => 'A list of column tuple types.', + 'type' => 'array', + 'items' => [ + 'description' => 'A metadata object.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '列元组名称。', + 'description' => 'The name of the column tuple.', + 'type' => 'string', + 'example' => 'Polar***STPS', + ], + 'Value' => [ + 'title' => '列元组类型。', + 'description' => 'The type of the column tuple.', + 'type' => 'string', + 'example' => 'string', + ], + 'Type' => [ + 'description' => 'The type of the metadata. Valid values:'."\n" + ."\n" + .'- Dimension'."\n" + ."\n" + .'- Measure', + 'type' => 'string', + 'title' => '', + 'example' => 'Dimension', + ], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'Values' => [ + 'title' => '数据值列表数组。', + 'description' => 'An array of data value lists.', + 'type' => 'array', + 'items' => [ + 'description' => 'A data value list object.', + 'type' => 'object', + 'properties' => [ + 'Row' => [ + 'description' => 'The data values in a row.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data value of a field.', + 'type' => 'string', + 'example' => '199', + 'title' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'LogicSql' => [ + 'title' => '可视化逻辑sql', + 'description' => 'The visual logical SQL statement.', + 'type' => 'string', + 'example' => 'select * ****', + ], + 'ConclusionText' => [ + 'title' => '总结信息', + 'description' => 'The summary.', + 'type' => 'string', + 'example' => 'test', + ], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'The chart data.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'title' => '', + 'description' => 'The list of data that is returned only in multi-step scenarios. Each element corresponds to a set of chart data.', + 'example' => '', + ], + ], + 'example' => '', + ], + 'Success' => [ + 'title' => '是否成功。', + 'description' => 'Indicates whether the request was successful.', + 'type' => 'boolean', + 'required' => true, + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Query.Auth.Error', + 'errorMessage' => 'Query is not permitted.', + 'description' => 'No query permission.', + ], + [ + 'errorCode' => 'Instance.Expired', + 'errorMessage' => 'Your instance has expired.', + 'description' => 'Your instance has expired.', + ], + [ + 'errorCode' => 'Instance.Not.Exist', + 'errorMessage' => 'The specified instance does not exist.', + 'description' => 'The specified instance does not exist.', + ], + [ + 'errorCode' => 'Invalid.Organization', + 'errorMessage' => 'The specified organizational unit does not exist.', + 'description' => 'The specified organizational unit does not exist.', + ], + [ + 'errorCode' => 'User.Not.In.Organization', + 'errorMessage' => 'The specified user is not in the organizational unit.', + 'description' => 'The specified user is not in the organizational unit.', + ], + [ + 'errorCode' => 'Invalid.Parameter', + 'errorMessage' => 'An error occurred while verifying parameters.', + 'description' => 'An error occurred while verifying parameters.', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'errorCode' => 'Invalid.Param.Error', + 'errorMessage' => 'The parameter is invalid.', + 'description' => 'The parameter is invalid.', + ], + [ + 'errorCode' => 'Invalid.User.Admin', + 'errorMessage' => 'You are not an administrator of this organization.', + 'description' => 'Only organization administrators can perform this operation.', + ], + [ + 'errorCode' => 'System.Param.Empty', + 'errorMessage' => 'You must specify the %s parameter.', + 'description' => 'You must specify the %s parameter.', + ], + [ + 'errorCode' => 'Access.Forbidden', + 'errorMessage' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', + 'description' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', + ], + [ + 'errorCode' => 'UserInfo.Error', + 'errorMessage' => 'The personal information is invalid.', + 'description' => 'The personal information is invalid.', + ], + [ + 'errorCode' => 'ApiUser.Not.Exists', + 'errorMessage' => 'The specified user does not exist.', + 'description' => 'The specified user does not exist.', + ], + [ + 'errorCode' => 'User.Not.WorkspaceAdmin', + 'errorMessage' => 'Only administrators of the group workspace can perform this operation.', + 'description' => 'Only administrators of the group workspace can perform this operation.', + ], + [ + 'errorCode' => 'Application.Object.NotExist', + 'errorMessage' => 'The object you are operating does not exist or has been deleted.', + 'description' => '', + ], + [ + 'errorCode' => 'Not.ApiCall.AuthUser', + 'errorMessage' => 'You are not an administrator or API call auth user of this organization.', + 'description' => 'Not an organization administrator or API call authorized user.', + ], + [ + 'errorCode' => 'UserRoleConfig.NotContain.Function', + 'errorMessage' => 'The user %s does not have permission to operate.', + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', + 'errorMessage' => 'Please purchase Nl2sql module first.', + 'description' => 'Please purchase Nl2sql module first.', + ], + ], + 500 => [ + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A************2B05DF8D885\\",\\n \\"Result\\": {\\n \\"ChartType\\": \\"NEW_TABLE\\",\\n \\"MetaType\\": [\\n {\\n \\"Key\\": \\"Polar***STPS\\",\\n \\"Value\\": \\"string\\",\\n \\"Type\\": \\"Dimension\\"\\n }\\n ],\\n \\"Values\\": [\\n {\\n \\"Row\\": [\\n \\"199\\"\\n ]\\n }\\n ],\\n \\"LogicSql\\": \\"select * ****\\",\\n \\"ConclusionText\\": \\"test\\",\\n \\"DataList\\": [\\n \\"test\\"\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Smart Query', + 'description' => 'Note: Authorized users can query data as another user by passing the userId of the target user.', + 'changeSet' => [ + [ + 'createdAt' => '2025-05-28T03:27:58.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2025-04-14T07:10:39.000Z', + 'description' => 'Error codes changed, Response parameters changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SmartqQueryAbility', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:SmartqQueryAbility', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'UpdateCubeBySql' => [ + 'summary' => 'Updates a dataset that is based on a custom SQL statement.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + [ + 'name' => 'CustomSql', + 'in' => 'query', + 'schema' => [ + 'description' => 'The custom SQL statement.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'select * from sdsd', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the workspace.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Quick BI user. The user must have permissions to create datasets. This ID is not your Alibaba Cloud account ID. Call the [QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=api-workbench.api_explorer.0.0.672f50daGq9ooV\\¶ms=%7B%7D\\&tab=DOC\\&sdkStyle=old\\&RegionId=cn-hangzhou) operation to obtain the user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + ], + ], + [ + 'name' => 'DsId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the data source.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7AAB95D-*****-****-*4FC0C976', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '617277******************ABA47E31', + ], + 'Result' => [ + 'description' => 'The result of the request. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => 'An internal system error occurred.', + ], + [ + 'errorCode' => 'Invalid.User.Organization', + 'errorMessage' => 'The user is not in your organization.', + 'description' => 'The user is not in your organization.', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => 'The user is not a member of the group workspace.', + ], + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => 'The specified data source does not exist: %s.', + ], + [ + 'errorCode' => 'Invalid.Param.Error', + 'errorMessage' => 'The parameter is invalid.', + 'description' => 'The parameter is invalid.', + ], + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubeSchema.Not.Exist', + 'errorMessage' => 'The cube schema does not exist.', + 'description' => 'cube schema do not exists.', + ], + [ + 'errorCode' => 'Cube.DuplicatedName.Error', + 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', + 'description' => 'The dataset name already exists. Modify the name before saving.', + ], + [ + 'errorCode' => 'Directory.NotExist.Error', + 'errorMessage' => 'The directory does not exist.', + 'description' => 'The directory does not exist.', + ], + [ + 'errorCode' => 'Xengnie.TaskExecute.Error', + 'errorMessage' => 'Fail to execute task %s.', + 'description' => 'Fail to execute task %s.', + ], + [ + 'errorCode' => 'Datasource.Sql.ExecuteFailed', + 'errorMessage' => 'Failed to execute the SQL statement in the data source.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"617277******************ABA47E31\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'UpdateCubeBySql', + 'changeSet' => [], + 'ramActions' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'UpdateDataLevelPermissionStatus' => [ + 'summary' => 'Updates the row-level and column-level permission status for a dataset.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'CubeId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the dataset.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '7c7223ae-****-3c744528014b', + ], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of data-level permission. Valid values:'."\n" + ."\n" + .'- ROW\\_LEVEL: Row-level permission'."\n" + ."\n" + .'- COLUMN\\_LEVEL: Column-level permission', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'ROW_LEVEL', + ], + ], + [ + 'name' => 'IsOpen', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the permission switch. Valid values:'."\n" + ."\n" + .'- 1: On'."\n" + ."\n" + .'- 0: Off', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '10', + 'minimum' => '0', + 'title' => '', + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + ], + 'Result' => [ + 'description' => 'The result of the operation. Valid values:'."\n" + ."\n" + .'- true: The operation was successful.'."\n" + ."\n" + .'- false: The operation failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Cube.Not.Exist', + 'errorMessage' => 'The Cube does not exist.', + 'description' => 'The Cube does not exist.', + ], + [ + 'errorCode' => 'CubePermission.Columnlevel.VersionError', + 'errorMessage' => 'You are not allowed to use the new dataLevelPermission API.', + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'errorCode' => 'RowLevelPermission.SwitchClose.Error', + 'errorMessage' => 'The row level permission switch must be on.', + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotExsist', + 'errorMessage' => 'The row level permission rule does not exist: %s.', + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'errorCode' => 'RowLevelPermission.Rule.NotBelongToCube', + 'errorMessage' => 'The row level permission rule does not belong to the current cube.', + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'errorCode' => 'Cube.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The cube does not belong to the current organization %s.', + 'description' => 'Cube do not belong to current organization:%s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'UpdateDataLevelPermissionStatus', + 'description' => '> This API operation supports only the new row-level and column-level permission model in Quick BI. If you are using the old permission model, you must migrate to the new model before calling this operation. To migrate, navigate to Organization Management > Security Configuration > Upgrade to New Row-level and Column-level Permissions, and then click **One-click Upgrade**.', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-04-06T10:12:47.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateDataLevelPermissionStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateDataLevelPermissionStatus', + ], + ], + ], + ], + 'UpdateDataSource' => [ + 'summary' => 'Modify Data Source Configuration', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'UpdateModel', + 'in' => 'query', + 'schema' => [ + 'description' => 'Refer to the example JSON for parameter values. The parameters are explained as follows:'."\n" + ."\n" + .'- dsId -- Required -- Data source ID'."\n" + .'- userId -- Optional -- User identity for modifying the data source, quickbi\'s userId. If provided, it will use the current userId for modification.'."\n" + .'- dsType -- Required -- Data source type, not allowed to be modified, just pass the data source type.'."\n" + .'- showName -- Optional -- Display name of the data source.'."\n" + .'- address -- Optional -- Database connection string (domain or IP)'."\n" + .'- port -- Optional -- Port'."\n" + .'- schema -- Optional -- Database schema, only required for databases that support schemas. Example: sqlserver uses dbo by default; mysql does not support schemas.'."\n" + .'- instance -- Optional -- Instance db'."\n" + .'- username -- Optional -- Database username/ak'."\n" + .'- password -- Optional -- Database key'."\n" + .'- config -- Optional -- Additional database configuration items. Note that this data should be consistent with the different config parameters passed during creation for different data sources. Fields that do not need to be modified do not require parameters. For fields where parameters are passed, the default is to modify according to the passed parameters (including empty strings).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{'."\n" + .' "schema": "schema",'."\n" + .' "userId":"S*****46345",'."\n" + .' "password": "Ta****34",'."\n" + .' "showName": "数据源编辑测试修改名称",'."\n" + .' "address": "11*****.55",'."\n" + .' "instance": "quickbi_test",'."\n" + .' "dsId": "34d6d******3ca8ac267",'."\n" + .' "port": "3306",'."\n" + .' "dsType": "mysql",'."\n" + .' "username": "root",'."\n" + .' "config": {'."\n" + .' "initialSql": "Set timezone = \'-10\'"'."\n" + .' }'."\n" + .'}', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A***********5DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Result of the API call. Possible values:'."\n" + ."\n" + .'- true: Request successful'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + ."\n" + .'- true: Request successful'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Internal.System.Error', + 'errorMessage' => 'An internal system error occurred.', + 'description' => '', + ], + [ + 'errorCode' => 'Invalid.Parameter.Error', + 'errorMessage' => 'The parameter is invalid:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => '', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => '', + ], + [ + 'errorCode' => 'DatasourceId.IsNull.Error', + 'errorMessage' => 'You must select a data source before selecting the table.', + 'description' => '', + ], + [ + 'errorCode' => 'Datasource.NotFound.Error', + 'errorMessage' => 'The specified data source does not exist: %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Name.RegularExpression.Error', + 'errorMessage' => 'Name format validation failed.', + 'description' => '', + ], + [ + 'errorCode' => 'NameExceeded.MaxLength.Error', + 'errorMessage' => 'The name cannot exceed %s characters in length.', + 'description' => '', + ], + [ + 'errorCode' => 'Database.PortInvalid.Error', + 'errorMessage' => 'The database port is invalid.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'title' => 'UpdateDataSource', + 'requestParamsDescription' => 'Example Code:'."\n" + .'@Test'."\n" + ."\n" + .' public void UpdateDataSource () throws SDKException, ClientException {'."\n" + .' UpdateDataSourceRequest request = new UpdateDataSourceRequest();'."\n" + .' HashMap<String,Object> updateModel = new HashMap<>();'."\n" + .' updateModel.put("dsId", "342e*******455");'."\n" + .' updateModel.put("userId","74f5*****20ebf278c8");'."\n" + .' updateModel.put("dsType", "impala");'."\n" + .' updateModel.put("address", "12***22");'."\n" + .' updateModel.put("instance", "default");'."\n" + .' updateModel.put("showName", "wk***TETST");'."\n" + .' request.setUpdateModel(JSONObject.toJSONString(updateModel));'."\n" + .' System.out.println(JSONObject.toJSONString(updateModel));'."\n" + .' request.setSysConnectTimeout(60000);request.setSysReadTimeout(60000);'."\n" + .' UpdateDataSourceResponse acsResponse = getPopAPIClient("test").getAcsResponse(request);'."\n" + ."\n" + .' System.out.println(JSONObject.toJSONString(acsResponse.getResult()));'."\n" + .' }', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A***********5DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'UpdateEmbeddedStatus' => [ + 'summary' => 'Change the embedding status of a report, turn on embedding, or turn off embedding.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorksId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the work.'."\n" + ."\n" + .'- Batch modification is supported. Separate multiple values with commas (,).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '897ce25e-f993-4abd-af84-d13c5610****', + 'title' => '', + ], + ], + [ + 'name' => 'ThirdPartAuthFlag', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether to enable the embedding feature for the work. Valid values:'."\n" + ."\n" + .'- true: enables embedding.'."\n" + ."\n" + .'- false: disables embedding.', + 'type' => 'boolean', + 'required' => true, + 'docRequired' => true, + 'example' => 'true', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The number of works that are opened or closed.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Auth3Rd.Over.MaxQuota', + 'errorMessage' => 'You have reached the maximum number of reports that can be shared. Please upgrade the configurations or remove some reports first.', + 'description' => 'You have reached the maximum number of reports that can be shared. Please upgrade the configurations or remove some reports first.', + ], + [ + 'errorCode' => 'Resource.NotBelongTo.CurrentOrganization', + 'errorMessage' => 'The resource does not belong to the current organization.', + 'description' => 'This Resource is not belong to current organization.', + ], + [ + 'errorCode' => 'Report.NotExist.Error', + 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'description' => 'This work does not exist. It may have been deleted. Work ID is %s. ', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + ], + ], + 'title' => 'UpdateEmbeddedStatus', + 'changeSet' => [ + [ + 'createdAt' => '2025-02-11T06:04:44.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-09-18T02:06:59.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-04-06T10:12:47.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:57.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateEmbeddedStatus', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateEmbeddedStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": 1,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UpdateTicketNum' => [ + 'summary' => 'Update the ticket quantity on the specified ticket used for the exemption embedded report.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'Ticket', + 'in' => 'query', + 'schema' => [ + 'description' => 'The value of the third-party embedded ticket, that is, the accessTicket value in the URL.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '040e6f79d33444838***83c7206c070', + 'title' => '', + ], + ], + [ + 'name' => 'TicketNum', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of bills.'."\n" + ."\n" + .'- Valid values: 1 to 99998. Recommended value: 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Indicates whether the update is successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', + 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Expired', + 'errorMessage' => 'Ticket [%s] has expired.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', + 'errorMessage' => 'The request [%s] has no token.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.NotExist', + 'errorMessage' => 'Ticket %s does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.Exceed', + 'errorMessage' => 'The number of tickets %s is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Authorize3rdTicket.Num.HasNoLeft', + 'errorMessage' => 'There is no ticket number left, please generate new ticket.', + 'description' => '', + ], + [ + 'errorCode' => 'NoPermissionTo.Operate.Object', + 'errorMessage' => 'You are not authorized to operate the objects.', + 'description' => 'You are not authorized to do this.', + ], + ], + ], + 'title' => 'UpdateTicketNum', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-04-06T10:12:47.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateTicketNum', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateTicketNum', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UpdateUser' => [ + 'summary' => 'Updates the information of a specified member in an organization.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user to be updated. The user ID is the UserID of the Quick BI, not the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + ], + [ + 'name' => 'AdminUser', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Indicates whether the organization administrator. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'deprecated' => false, + 'required' => false, + 'docRequired' => false, + 'example' => 'true', + 'title' => '', + ], + ], + [ + 'name' => 'AuthAdminUser', + 'in' => 'query', + 'schema' => [ + 'description' => 'Indicate whether the RAM user is a permission administrator. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'example' => 'true', + 'title' => '', + ], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of user who is a member of the organization. Valid values:'."\n" + ."\n" + .'* 1 : developer'."\n" + .'* 2 : visitors'."\n" + .'* 3 : Analyst'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '10', + 'minimum' => '1', + 'example' => '1', + 'enum' => [ + '1', + '2', + '3', + ], + 'title' => '', + ], + ], + [ + 'name' => 'NickName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The nickname of the account.'."\n" + ."\n" + .'* Format check: The value can be up to 50 characters in length.'."\n" + .'* Special format verification: Chinese and English digits\\_ \\ / | () ] \\['."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '小张', + 'title' => '', + ], + ], + [ + 'name' => 'RoleIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IDs of the preset or custom organization roles bound to the user, separated by English commas \',\', with a maximum of 3. The value range is as follows: - Organization Administrator (preset role): 111111111 - Permission Administrator (preset role): 111111112 - Regular User (preset role): 111111113', + 'type' => 'string', + 'required' => false, + 'example' => '111111111,456', + 'title' => '', + ], + ], + [ + 'name' => 'IsDeleted', + 'in' => 'query', + 'schema' => [ + 'description' => 'User status: '."\n" + .'* **false**: Active'."\n" + .' * **true**: Inactive', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NickName.AlreadyIn.Organization', + 'errorMessage' => 'The alias already exists.', + 'description' => '', + ], + [ + 'errorCode' => 'Fobbiden.Action', + 'errorMessage' => 'The organization owner must have the administrator role.', + 'description' => '', + ], + [ + 'errorCode' => 'Organization.Developers.ReachedTheUpperLimit', + 'errorMessage' => 'The developers of the organization have reached the upper limit:%s', + 'description' => '', + ], + [ + 'errorCode' => 'Organization.Viewers.ReachedTheUpperLimit', + 'errorMessage' => 'The visitors of the organization have reached the upper limit:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Organization.Analysts.ReachedTheUpperLimit', + 'errorMessage' => 'The analysts of the organization have reached the upper limit:%s.', + 'description' => '', + ], + [ + 'errorCode' => 'Instance.Over.MaxLicense', + 'errorMessage' => 'You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first.', + 'description' => '', + ], + [ + 'errorCode' => 'Mail.Invalid', + 'errorMessage' => 'Email/phone number is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'OrganizationDeveloper.CanNotChangeTo.AnalystOrViewer', + 'errorMessage' => 'Organization user can not change developer to analyst or viewer.', + 'description' => '', + ], + [ + 'errorCode' => 'OrgAdminOrPermissionAdmin.CannotChangeTo.Viewer', + 'errorMessage' => 'Organization admin or permission admin can not change to viewer.', + 'description' => '', + ], + [ + 'errorCode' => 'ChangeTo.Viewer.Error', + 'errorMessage' => 'The organization user type cannot be changed because the user already belongs to a workspace.', + 'description' => '', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => '', + ], + [ + 'errorCode' => 'Viewer.CannotHave.CustomRole', + 'errorMessage' => 'Organization viewer cannot have custom roles.', + 'description' => '', + ], + [ + 'errorCode' => 'User.OrganizationRole.NotExist', + 'errorMessage' => 'User %s must have role in organization.', + 'description' => '', + ], + [ + 'errorCode' => 'RoleCount.ExceedsLimit.Error', + 'errorMessage' => 'The user role cannot exceed three.', + 'description' => '', + ], + [ + 'errorCode' => 'BindRole.NotExist.Error', + 'errorMessage' => 'Bind role not exist, %s.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateUserResponse>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</UpdateUserResponse>","errorExample":""}]', + 'title' => 'UpdateUser', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'UpdateUserGroup' => [ + 'summary' => 'Updates information about a specified user group in an organization.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user group.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the user group.'."\n" + ."\n" + .'* Format verification: Maximum length 255'."\n" + .'* Special format verification: Chinese and English digits\\_ \\ / | () ] \\['."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'pop0001', + 'title' => '', + ], + ], + [ + 'name' => 'UserGroupDescription', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of the user group.'."\n" + ."\n" + .'* Format verification: Maximum length 255'."\n" + .'* Special format verification: Chinese and English digits\\_ \\ / | () ] \\['."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '描述信息', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '4AEF8C5C-D5D2-55D3-BB2F-9D3AA1B6F4FA', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Whether the interface is successfully executed. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Usergroup.Not.Exist', + 'errorMessage' => 'The user group does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Remove.RootNode', + 'errorMessage' => 'The root user group cannot be deleted.', + 'description' => '', + ], + [ + 'errorCode' => 'UserGroup.Remove.WithChildren', + 'errorMessage' => 'This user group contains a child user group and cannot be deleted.', + 'description' => '', + ], + [ + 'errorCode' => 'Duplicate.Name.Error', + 'errorMessage' => 'The name already exists.', + 'description' => '', + ], + [ + 'errorCode' => 'Duplicate.UserGroupName.Error', + 'errorMessage' => 'There is already a user group with the same name %s, please rename it before saving.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4AEF8C5C-D5D2-55D3-BB2F-9D3AA1B6F4FA\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateUserGroupResponse>\\n <RequestId>4AEF8C5C-D5D2-55D3-BB2F-9D3AA1B6F4FA</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</UpdateUserGroupResponse>","errorExample":""}]', + 'title' => 'UpdateUserGroup', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUserGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'UpdateUserTagMeta' => [ + 'summary' => 'Used for updating the metadata of organization member tags', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The specified TagID.'."\n" + ."\n" + .'- Format check: Maximum length is 64 characters.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'e82f6c6c0333431bad0225b2f85e****', + 'title' => '', + ], + ], + [ + 'name' => 'TagName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The tag name.'."\n" + .'- Format check: Maximum length is 50 characters.'."\n" + .'- Only Chinese, English, numbers, and /\\|[]() symbols are allowed.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '职位', + 'title' => '', + ], + ], + [ + 'name' => 'TagDescription', + 'in' => 'query', + 'schema' => [ + 'description' => 'The tag description.'."\n" + ."\n" + .'- Format check: Maximum length is 255 characters.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '部门内的工作职位', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Indicates whether the interface was executed successfully. Possible values:'."\n" + ."\n" + .'- true: Execution succeeded'."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Possible values:'."\n" + .'- true: The request succeeded - false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserTag.NotIn.CurrentOrganization', + 'errorMessage' => 'The user tag is not in the current organization.', + 'description' => '', + ], + [ + 'errorCode' => 'TagName.Repeat', + 'errorMessage' => 'The tag name is duplicated.', + 'description' => '', + ], + [ + 'errorCode' => 'Name.Length.Exceeded', + 'errorMessage' => 'The max length of name exceeded.', + 'description' => '', + ], + [ + 'errorCode' => 'Name.RegularExpression.Error', + 'errorMessage' => 'Name format validation failed.', + 'description' => '', + ], + [ + 'errorCode' => 'NameExceeded.MaxLength.Error', + 'errorMessage' => 'The name cannot exceed %s characters in length.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateUserTagMetaResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</UpdateUserTagMetaResponse>","errorExample":""}]', + 'title' => 'UpdateUserTagMeta', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2025-03-14T06:35:33.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-04-06T10:12:47.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUserTagMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'UpdateUserTagValue' => [ + 'summary' => 'Update the tag value of an organization member.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user ID for which the tag value is to be modified. This user ID refers to the Quick BI UserID, not the Alibaba Cloud UID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'fe67f61a35a94b7da1a34ba174a7****', + 'title' => '', + ], + ], + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the tag to be modified.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'pop_001', + 'title' => '', + ], + ], + [ + 'name' => 'TagValue', + 'in' => 'query', + 'schema' => [ + 'description' => 'The tag value to be modified.'."\n" + ."\n" + .'- To clear this tag, set the tag value to ($NULL$).'."\n" + .'- For multiple values, use English commas to separate them.'."\n" + .'- Format validation, maximum length: 3000 characters', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '产品总监', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '46e5374665ba4b679ee22e2a29270', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of modifying the user tag. Possible values:'."\n" + ."\n" + .'- true: Operation succeeded'."\n" + .'- false: Operation failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + .'- true: The request was successful - false: The request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserTag.NotIn.CurrentOrganization', + 'errorMessage' => 'The user tag is not in the current organization.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"46e5374665ba4b679ee22e2a29270\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateUserTagValueResponse>\\n <RequestId>46e5374665ba4b679ee22e2a29270</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</UpdateUserTagValueResponse>","errorExample":""}]', + 'title' => 'Update Organization Member Tag Value', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUserTagValue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'UpdateWorkspaceUserRole' => [ + 'summary' => 'Modify the role of a specified member under the workspace, existing roles will be overwritten.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Quick BI user ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f5698bedeb384b1986afccd9e434****', + 'title' => '', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Preset workspace role ID, existing roles will be overwritten. Value range:'."\n" + .'- 25: Workspace Administrator'."\n" + .'- 26: Workspace Developer'."\n" + .'- 27: Workspace Analyst'."\n" + .'- 30: Workspace Viewer', + 'type' => 'integer', + 'format' => 'int64', + 'deprecated' => true, + 'required' => false, + 'docRequired' => false, + 'maximum' => '30', + 'minimum' => '25', + 'example' => '25', + 'enum' => [ + '25', + '26', + '27', + '30', + ], + 'title' => '', + ], + ], + [ + 'name' => 'RoleIds', + 'in' => 'query', + 'schema' => [ + 'title' => '空间角色ID数组', + 'description' => 'Multiple workspace role IDs, separated by commas. If this value is provided, it takes precedence.'."\n" + .'><notice>roleId and roleIds cannot both be empty></notice>', + 'type' => 'string', + 'required' => false, + 'example' => '25,26', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the interface execution. Value range:'."\n" + ."\n" + .'- true: Execution successful'."\n" + .'- false: Execution failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + ."\n" + .'- true: Request successful'."\n" + .'- false: Request failed', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Type.Error', + 'errorMessage' => 'The type of group workspace is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => '', + ], + [ + 'errorCode' => 'Remove.AdminRoleOf.WorkspaceOwner', + 'errorMessage' => 'The owner of the group workspace must be assigned the administrator role.', + 'description' => '', + ], + [ + 'errorCode' => 'User.RoleType.Valid', + 'errorMessage' => 'The role ID is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'User.AlreadyIn.Role', + 'errorMessage' => 'The user is already assigned this role.', + 'description' => '', + ], + [ + 'errorCode' => 'AnalystUser.NotSupport.AdminOrDevRole', + 'errorMessage' => 'Analyst users do not support granting workspace administrator or developer roles.', + 'description' => '', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => '', + ], + [ + 'errorCode' => 'Viewer.CannotHave.CustomRole', + 'errorMessage' => 'Organization viewer cannot have custom roles.', + 'description' => '', + ], + [ + 'errorCode' => 'BindRole.NotExist.Error', + 'errorMessage' => 'Bind role not exist, %s.', + 'description' => '', + ], + [ + 'errorCode' => 'Name.RegularExpression.Error', + 'errorMessage' => 'Name format validation failed.', + 'description' => '', + ], + [ + 'errorCode' => 'NameExceeded.MaxLength.Error', + 'errorMessage' => 'The name cannot exceed %s characters in length.', + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateWorkspaceUserRoleResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</UpdateWorkspaceUserRoleResponse>","errorExample":""}]', + 'title' => 'Modify Workspace Member Role', + 'translator' => 'machine', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateWorkspaceUserRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'UpdateWorkspaceUsersRole' => [ + 'summary' => 'Batch update the role information of workspace members, existing roles will be overwritten', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Workspace ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', + 'title' => '', + ], + ], + [ + 'name' => 'UserIds', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID. This is the UserID for Quick BI, not the UID for Alibaba Cloud.'."\n" + ."\n" + .'- Supports batch parameters, separate user IDs with a comma (,).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '136516262323****,124498444445****', + 'title' => '', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Preset space role ID, existing roles will be overwritten. Value range:'."\n" + .'- 25: Space Administrator'."\n" + .'- 26: Space Developer'."\n" + .'- 27: Space Analyst'."\n" + .'- 30: Space Viewer', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'maximum' => '30', + 'minimum' => '25', + 'example' => '25', + 'enum' => [ + '25', + '26', + '27', + '30', + ], + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Value range:'."\n" + ."\n" + .'- true: The request was successful, some members may have been updated successfully while others failed, refer to FailureDetail in the response for reasons of failure'."\n" + .'- false: The request failed, no data will be persisted', + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976', + 'title' => '', + ], + 'Result' => [ + 'description' => 'Returns the result of the interface execution.', + 'type' => 'object', + 'properties' => [ + 'Failure' => [ + 'description' => 'Number of users that failed to update.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'title' => '', + ], + 'FailureDetail' => [ + 'description' => 'Reasons for the update failures.', + 'type' => 'object', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Number of users that were updated successfully.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'Total' => [ + 'description' => 'Modify the total number of users.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Workspace.NotIn.Organization', + 'errorMessage' => 'The workspace is not owned by the organization.', + 'description' => '', + ], + [ + 'errorCode' => 'User.RoleType.Valid', + 'errorMessage' => 'The role ID is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Not.Exist', + 'errorMessage' => 'The group workspace does not exist.', + 'description' => '', + ], + [ + 'errorCode' => 'Workspace.Type.Error', + 'errorMessage' => 'The type of group workspace is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Remove.AdminRoleOf.WorkspaceOwner', + 'errorMessage' => 'The owner of the group workspace must be assigned the administrator role.', + 'description' => '', + ], + [ + 'errorCode' => 'User.NotIn.Workspace', + 'errorMessage' => 'The user is not a member of the group workspace.', + 'description' => '', + ], + [ + 'errorCode' => 'AnalystUser.NotSupport.AdminOrDevRole', + 'errorMessage' => 'Analyst users do not support granting workspace administrator or developer roles.', + 'description' => '', + ], + [ + 'errorCode' => 'Viewer.CannotHave.CustomRole', + 'errorMessage' => 'Organization viewer cannot have custom roles.', + 'description' => '', + ], + [ + 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', + 'errorMessage' => 'This role has permissions that analysts cannot grant.', + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"7AAB95D7-2E11-4FE2-94BC-858E4FC0C976\\",\\n \\"Result\\": {\\n \\"Failure\\": 0,\\n \\"FailureDetail\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Success\\": 2,\\n \\"Total\\": 2\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateWorkspaceUsersRoleResponse>\\n <Success>true</Success>\\n <RequestId>7AAB95D7-2E11-4FE2-94BC-858E4FC0C976</RequestId>\\n <Result>\\n <Failure>0</Failure>\\n <Total>2</Total>\\n <Success>2</Success>\\n </Result>\\n</UpdateWorkspaceUsersRoleResponse>","errorExample":""}]', + 'title' => 'Batch Update Workspace Member Roles', + 'translator' => 'machine', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:30.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-08-07T06:37:07.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-04-06T10:12:47.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateWorkspaceUsersRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + 'WithdrawAllUserGroups' => [ + 'summary' => 'Make the user exit all user groups. This process is irreversible. Exercise caution when performing this operation.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => false, + 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '46e5374665ba4b679ee22e2a2927****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', + 'title' => '', + ], + 'Result' => [ + 'description' => 'The execution result of the interface is returned. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request fails.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<WithdrawAllUserGroupsResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</WithdrawAllUserGroupsResponse>","errorExample":""}]', + 'title' => 'WithdrawAllUserGroups', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-18T01:53:31.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2023-04-06T10:12:47.000Z', + 'description' => 'Error codes changed', + ], + [ + 'createdAt' => '2022-03-04T09:50:58.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:WithdrawAllUserGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-northeast-1', + 'regionName' => 'Japan (Tokyo)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'quickbi-public.ap-northeast-1.aliyuncs.com', + 'endpoint' => 'quickbi-public.ap-northeast-1.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'regionName' => 'Singapore', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'quickbi-public.ap-southeast-1.aliyuncs.com', + 'endpoint' => 'quickbi-public.ap-southeast-1.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'regionName' => 'Malaysia (Kuala Lumpur)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'quickbi-public.ap-southeast-3.aliyuncs.com', + 'endpoint' => 'quickbi-public.ap-southeast-3.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'regionName' => 'Indonesia (Jakarta)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'quickbi-public.ap-southeast-5.aliyuncs.com', + 'endpoint' => 'quickbi-public.ap-southeast-5.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'regionName' => 'China (Hangzhou)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'quickbi-public.cn-hangzhou.aliyuncs.com', + 'endpoint' => 'quickbi-public.cn-hangzhou.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'regionName' => 'China (Hong Kong)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'quickbi-public.cn-hongkong.aliyuncs.com', + 'endpoint' => 'quickbi-public.cn-hongkong.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'regionName' => 'US (Virginia)', + 'areaId' => 'europeAmerica', + 'areaName' => 'Europe & Americas', + 'public' => 'quickbi-public.us-east-1.aliyuncs.com', + 'endpoint' => 'quickbi-public.us-east-1.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'regionName' => 'Germany (Frankfurt)', + 'areaId' => 'europeAmerica', + 'areaName' => 'Europe & Americas', + 'public' => 'quickbi-public.eu-central-1.aliyuncs.com', + 'endpoint' => 'quickbi-public.eu-central-1.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'me-central-1', + 'regionName' => 'Saudi Arabia (Riyadh)', + 'areaId' => 'middleEast', + 'areaName' => 'Middle East & India', + 'public' => 'quickbi-public.me-central-1.aliyuncs.com', + 'endpoint' => 'quickbi-public.me-central-1.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.me-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'regionName' => 'China East 2 Finance', + 'areaId' => 'industryCloud', + 'areaName' => 'Industry Cloud', + 'public' => 'quickbi-public.cn-shanghai-finance-1.aliyuncs.com', + 'endpoint' => 'quickbi-public.cn-shanghai-finance-1.aliyuncs.com', + 'vpc' => 'quickbi-public-vpc.cn-shanghai-finance-1.aliyuncs.com', + ], + ], + 'errorCodes' => [ + [ + 'code' => 'Access.Forbidden', + 'message' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', + 'http_code' => 400, + 'description' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', + ], + [ + 'code' => 'Access.ReportTree.Unauthorized', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'AccessMenu.NotMatch.Portal', + 'message' => 'The menu does not match the BI portal.', + 'http_code' => 400, + 'description' => 'The menu does not match the BI portal.', + ], + [ + 'code' => 'AE0579100001', + 'message' => 'Duplicate users found with account name: %s.', + 'http_code' => 400, + 'description' => 'Duplicate users found with account name: %s.', + ], + [ + 'code' => 'AnalystUser.notSupport.AdminOrDevRole', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'AnalystUser.NotSupport.AdminOrDevRole', + 'message' => 'Analyst users do not support granting workspace administrator or developer roles.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'API.No.Permission', + 'message' => 'You are not authorized to call the data service API operation.', + 'http_code' => 400, + 'description' => 'You are not authorized to call the data service API operation.', + ], + [ + 'code' => 'API.Not.Exist', + 'message' => 'The data service API operation does not exist.', + 'http_code' => 400, + 'description' => 'The data service API operation does not exist.', + ], + [ + 'code' => 'ApiDatasource.Modify.InputNull', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDataSource.ModifyInput.Empty', + 'message' => 'XXXXXX', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDatasource.Not.Exist', + 'message' => 'Api datasource not exist.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDataSource.NotExist', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDatasource.NotIn.Workspace', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDatasource.NotIn.Workspace', + 'message' => 'The target api datasource is not in the specified workspace.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDataSource.NotIn.Workspace', + 'message' => 'Target apiId not in target workspace.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDatasource.Param.IsNull', + 'message' => 'Api datasource modify parameters is null.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDatasource.Param.Oversize', + 'message' => 'The number of parameters of API data source exceeds the limit and cannot exceed %s.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDatasource.ParamAmount.Oversize', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiDataSource.ParamAmout.Limited', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'ApiUser.Not.Exists', + 'message' => 'The specified user does not exist.', + 'http_code' => 400, + 'description' => 'The specified user does not exist.', + ], + [ + 'code' => 'Application.NotExist', + 'message' => 'The application is not exists.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Application.Object.NotExist', + 'message' => 'The object you are operating does not exist or has been deleted.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Application.RecordClosed', + 'message' => 'The closed application record cannot be operated.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Auth3Rd.Over.MaxQuota', + 'message' => 'You have reached the maximum number of reports that can be shared. Please upgrade the configurations or remove some reports first.', + 'http_code' => 400, + 'description' => 'You have reached the maximum number of reports that can be shared. Please upgrade the configurations or remove some reports first.', + ], + [ + 'code' => 'Authorize3Rd.AccesskeyOrg.Illegal', + 'message' => 'The AccessKey ID does not match the organization.', + 'http_code' => 500, + 'description' => 'The AccessKey ID does not match the organization.', + ], + [ + 'code' => 'Authorize3Rd.Icode.NotExist', + 'message' => 'The key used for signing does not exist.', + 'http_code' => 500, + 'description' => 'The key used for signing does not exist.', + ], + [ + 'code' => 'Authorize3Rd.Page.Illegal', + 'message' => 'The report must be %s.', + 'http_code' => 500, + 'description' => 'The report must be %s.', + ], + [ + 'code' => 'Authorize3Rd.Page.Org.Illegal', + 'message' => 'The report does not match the organization.', + 'http_code' => 500, + 'description' => 'The report does not match the organization.', + ], + [ + 'code' => 'Authorize3Rd.Report.Unauthorized', + 'message' => 'The report is not enabled for third party embedding.', + 'http_code' => 400, + 'description' => 'This report is not enabled for 3rd party embedding.', + ], + [ + 'code' => 'Authorize3Rd.Token.Expired', + 'message' => 'The token [%s] has expired.', + 'http_code' => 500, + 'description' => 'Token [%s] has expired.', + ], + [ + 'code' => 'Authorize3Rd.Token.NotExist', + 'message' => 'The token [%s] does not exist.', + 'http_code' => 500, + 'description' => 'Token [%s] not exist.', + ], + [ + 'code' => 'Authorize3Rd.Token.ToMuch', + 'message' => 'There are too many valid tokens [%s]. Please do not apply for the same tokens again.', + 'http_code' => 500, + 'description' => 'There are many valid tokens [%s]. Please do not apply again.', + ], + [ + 'code' => 'Authorize3Rd.User.Illegal', + 'message' => 'The global variable userId of the report is invalid.', + 'http_code' => 500, + 'description' => 'The global variable userId of the report is invalid.', + ], + [ + 'code' => 'Authorize3rdTicket.BindedWorks.Mismatch', + 'message' => 'The report bound by the ticket mismatches the actual report.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Authorize3rdTicket.Expired', + 'message' => 'Ticket [%s] has expired.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Authorize3rdTicket.HasNo.LoginToken', + 'message' => 'The request [%s] has no token.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Authorize3rdTicket.NotExist', + 'message' => 'Ticket %s does not exist.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Authorize3rdTicket.Num.Exceed', + 'message' => 'The number of tickets %s is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Authorize3rdTicket.Num.HasNoLeft', + 'message' => 'There is no ticket number left, please generate new ticket.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Authorize3rdTicket.Unsupport.ScreenWatermark', + 'message' => 'Screen embed does not support watermark parameters.', + 'http_code' => 400, + 'description' => 'Screen embed does not support watermark parameters.', + ], + [ + 'code' => 'BindRole.NotExist.Error', + 'message' => 'Bind role not exist, %s.', + 'http_code' => 400, + 'description' => 'Bind role not exist, %s.', + ], + [ + 'code' => 'BindRole.NotExistIn.Org', + 'message' => 'The bound role does not exist, %s.', + 'http_code' => 400, + 'description' => 'The bound role does not exist, %s.', + ], + [ + 'code' => 'CanNot.Remove.WorkspaceOwner', + 'message' => 'You cannot remove the group workspace owner from the group.', + 'http_code' => 400, + 'description' => 'You cannot remove the group workspace owner from the group.', + ], + [ + 'code' => 'Cannot.Support.MultipleDatasource', + 'message' => 'The current user tag table fields come from multiple tag tables, and separate calculations for multiple rows are not allowed.', + 'http_code' => 400, + 'description' => 'The current user tag table fields come from multiple tag tables, and separate calculations for multiple rows are not allowed.', + ], + [ + 'code' => 'Cannot.TransferTo.Owner', + 'message' => 'You cannot transfer an item to its current owner.', + 'http_code' => 400, + 'description' => 'You cannot transfer an item to its current owner.', + ], + [ + 'code' => 'CannotRemove.OrganizationOwner', + 'message' => 'You cannot remove the organization owner from the organization.', + 'http_code' => 400, + 'description' => 'You cannot remove the organization owner from the organization.', + ], + [ + 'code' => 'ChangeTo.Viewer.Error', + 'message' => 'The organization user type cannot be changed because the user already belongs to a workspace.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Copilot.AgentName.Error', + 'message' => 'AgentName max length limit 10.', + 'http_code' => 400, + 'description' => 'The maximum length of the robot name is limited to 10.', + ], + [ + 'code' => 'Copilot.Modulename.Error', + 'message' => 'ModuleName max length limit 20.', + 'http_code' => 400, + 'description' => 'The maximum length of a module name is 20.', + ], + [ + 'code' => 'CopilotEmbed.Config.NotFind', + 'message' => 'Can not find copilot embed config with this copilot ID.', + 'http_code' => 400, + 'description' => 'Cannot find this embedded configuration', + ], + [ + 'code' => 'CreateWorkspace.Exceeds.Limit', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'CreateWorkspace.Exceeds.Limits', + 'message' => 'The number of create workspace exceeds the maximum number limit:%s.', + 'http_code' => 400, + 'description' => 'The number of create workspace exceeds the maximum number limit:%s.', + ], + [ + 'code' => 'Cube.DimensionLevelMember.TooLong', + 'message' => 'The dimension value %s must be 1 to 255 characters in length.', + 'http_code' => 500, + 'description' => 'The dimension value %s must be 1 to 255 characters in length.', + ], + [ + 'code' => 'Cube.DuplicatedName.Error', + 'message' => 'The dataset name already exists. Modify the name before saving.', + 'http_code' => 400, + 'description' => 'The dataset name already exists. Modify the name before saving.', + ], + [ + 'code' => 'Cube.Not.Exist', + 'message' => 'The Cube does not exist.', + 'http_code' => 400, + 'description' => 'The Cube does not exist.', + ], + [ + 'code' => 'Cube.NotBelongTo.CurrentOrganization', + 'message' => 'The cube does not belong to the current organization %s.', + 'http_code' => 400, + 'description' => 'Cube do not belong to current organization:%s.', + ], + [ + 'code' => 'Cube.ParseToXml.Error', + 'message' => 'An error occurred while parsing a dataset object to XML format.', + 'http_code' => 400, + 'description' => 'An error occurred while parsing a dataset object to XML format.', + ], + [ + 'code' => 'Cube.RowLevelPermission.NotOpen', + 'message' => 'Row level permission control switch is not enabled for dataset %s.', + 'http_code' => 500, + 'description' => 'Row level permission control switch is not enabled for dataset:%s.', + ], + [ + 'code' => 'CubeColumn.RowLevelPermission.NotOpen', + 'message' => 'Row level permission control switch is not enabled for dataset field: %s.', + 'http_code' => 500, + 'description' => 'Row level permission control switch is not enabled for dataset field:%s.', + ], + [ + 'code' => 'CubeDimension.NotExist.Error', + 'message' => 'The dimension does not exist in the dataset. The dimension ID is %s.', + 'http_code' => 500, + 'description' => 'The dimension does not exist in the dataset. The dimension ID:%s.', + ], + [ + 'code' => 'CubeDimension.NotExist.Error', + 'message' => 'The dimension does not exist in the dataset. The dimension ID is %s.', + 'http_code' => 400, + 'description' => 'The dimension does not exist in the dataset. The dimension ID:%s.', + ], + [ + 'code' => 'CubeMeta.ToXml.Error', + 'message' => 'An error occurred while converting the data object to the XML format.', + 'http_code' => 400, + 'description' => 'An error occurred while converting the data object to the XML format.', + ], + [ + 'code' => 'CubePermission.Columnlevel.VersionError', + 'message' => 'You are not allowed to use the new dataLevelPermission API.', + 'http_code' => 400, + 'description' => 'You are not allowed to use new dataLevelPermission api.', + ], + [ + 'code' => 'CubePermission.ColumnlevelField.Repeat', + 'message' => 'There are duplicate field configurations.', + 'http_code' => 400, + 'description' => 'There are duplicate field configurations.', + ], + [ + 'code' => 'CubeSchema.Not.Exist', + 'message' => 'The cube schema does not exist.', + 'http_code' => 400, + 'description' => 'cube schema do not exists.', + ], + [ + 'code' => 'Database.PortInvalid.Error', + 'message' => 'The database port is invalid.', + 'http_code' => 400, + 'description' => 'The database port is invalid.', + ], + [ + 'code' => 'DataService.InputParam.Error', + 'message' => 'input parameter error: %s.', + 'http_code' => 400, + 'description' => 'The parameters entered were incorrect: %s.', + ], + [ + 'code' => 'Datasource.Hostile.AttackError', + 'message' => 'You cannot create more data source connection tests.', + 'http_code' => 400, + 'description' => 'You cannot create more data source connection tests.', + ], + [ + 'code' => 'Datasource.Not.Found', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Datasource.NotFound.Error', + 'message' => 'The specified data source does not exist: %s.', + 'http_code' => 400, + 'description' => 'The specified data source does not exist: %s.', + ], + [ + 'code' => 'Datasource.Sql.ExecuteFailed', + 'message' => 'Failed to execute the SQL statement in the data source.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Datasource.UserPermission.Error', + 'message' => 'You do not have datasource authorization.', + 'http_code' => 400, + 'description' => 'You do not have datasource authorization.', + ], + [ + 'code' => 'DatasourceEcs.AddressIp.Mismatch', + 'message' => 'The destination hostname or IP address is invalid.', + 'http_code' => 400, + 'description' => 'The destination hostname or IP address is invalid.', + ], + [ + 'code' => 'DatasourceId.IsNull.Error', + 'message' => 'You must select a data source before selecting the table.', + 'http_code' => 400, + 'description' => 'You must select a data source before selecting the table.', + ], + [ + 'code' => 'DatasourceSsrf.Inner.Rds', + 'message' => 'You are not granted the access permission.', + 'http_code' => 400, + 'description' => 'You are not granted the access permission.', + ], + [ + 'code' => 'DatasourceSsrf.RdsDomain.Mismatch', + 'message' => 'RDS domain name mismatch.', + 'http_code' => 400, + 'description' => 'RDS domain name mismatch.', + ], + [ + 'code' => 'Date.Check.Error', + 'message' => 'The end date cannot be greater than the start date.', + 'http_code' => 400, + 'description' => 'End date cannot be greater than start date', + ], + [ + 'code' => 'Date.Exceed.Error', + 'message' => 'The start date must be within 90 days from the current date.', + 'http_code' => 400, + 'description' => 'Start date cannot be 90 days earlier than current date', + ], + [ + 'code' => 'Date.Format.Error', + 'message' => 'Date format conversion error.', + 'http_code' => 400, + 'description' => 'Date format conversion error', + ], + [ + 'code' => 'Db.Error', + 'message' => 'An error occurred while accessing the database.', + 'http_code' => 400, + 'description' => 'An error occurred while accessing the database.', + ], + [ + 'code' => 'Decryption.Error', + 'message' => 'An error occurred while decoding.', + 'http_code' => 400, + 'description' => 'An error occurred while decoding.', + ], + [ + 'code' => 'DevRole.HasBind.NotDevUser', + 'message' => 'The current role is bound to analyst %s, and the current modified content exceeds the authority of the analyst. Please modify the role configuration.', + 'http_code' => 400, + 'description' => 'The current role is bound to analyst %s, and the current modified content exceeds the authority of the analyst. Please modify the role configuration.', + ], + [ + 'code' => 'Directory.NotExist.Error', + 'message' => 'The directory does not exist.', + 'http_code' => 400, + 'description' => 'The directory does not exist.', + ], + [ + 'code' => 'DirtyData.Duplicate.User', + 'message' => 'Dirty data,duplicate user: %s.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Duplicate.Name.Error', + 'message' => 'The name already exists.', + 'http_code' => 400, + 'description' => 'The name already exists.', + ], + [ + 'code' => 'Duplicate.UserGroup.Id', + 'message' => 'Duplicated usergroupId %s.', + 'http_code' => 400, + 'description' => 'Duplicate usergroupId %s.', + ], + [ + 'code' => 'Duplicate.UserGroupName.Error', + 'message' => 'There is already a user group with the same name %s, please rename it before saving.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Duplicate.WorkSpaceName.Error', + 'message' => 'There is already a workspace with the same name %s, please rename it before saving.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Duplicated.Role.Name', + 'message' => 'The character "%s" with the same name already exists, please modify the name before saving.', + 'http_code' => 400, + 'description' => 'The character "%s" with the same name already exists, please modify the name before saving.', + ], + [ + 'code' => 'Favorite.NotCancel.Permission', + 'message' => 'You have not added this work to favorites.', + 'http_code' => 400, + 'description' => 'You have not added this work to favorites.', + ], + [ + 'code' => 'Feishhu.Config.Not.Exit', + 'message' => 'Feishu is not configured in the current organization', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Feishu.Parameter.Error', + 'message' => 'Feishu config error: %s.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Feishu.User.Duplicated', + 'message' => 'Feishu account already exists or bound:%s.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Feishu.User.Need.Sync.Contact', + 'message' => 'Feishu need to sync contact list.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'FeishuUser.UserGroup.AssociationError', + 'message' => 'Feishu User can only be added into feishu or Bi user group.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Fobbiden.Action', + 'message' => 'The organization owner must have the administrator role.', + 'http_code' => 400, + 'description' => 'The organization owner must have the administrator role.', + ], + [ + 'code' => 'FolderMenu.CanNot.Authorize', + 'message' => 'The folder type menu cannot be authorized. Menu ID: %s.', + 'http_code' => 400, + 'description' => 'Folder type menu cannot be authorized or unauthorized,menuId:%s.', + ], + [ + 'code' => 'Forbidden.Access.Operation', + 'message' => 'Forbidden access on this operation.', + 'http_code' => 400, + 'description' => 'Not authorized for this operation', + ], + [ + 'code' => 'Get.RoleConfigPermission.Limit', + 'message' => 'The current user does not have sufficient permissions, as they are not an organization or workspace administrator.', + 'http_code' => 400, + 'description' => 'The current user does not have sufficient permissions, as they are not an organization or workspace administrator.', + ], + [ + 'code' => 'GlobalParam.Restricted.Use', + 'message' => 'The global parameter function is restricted in your version.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Instance.Expired', + 'message' => 'Your instance has expired.', + 'http_code' => 400, + 'description' => 'Your instance has expired.', + ], + [ + 'code' => 'Instance.Not.Exist', + 'message' => 'The specified instance does not exist.', + 'http_code' => 400, + 'description' => 'The specified instance does not exist.', + ], + [ + 'code' => 'instance.over.maxLicense', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Instance.Over.MaxLicense', + 'message' => 'You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first.', + 'http_code' => 500, + 'description' => 'You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first.', + ], + [ + 'code' => 'Internal.System.Error', + 'message' => 'An internal system error occurred.', + 'http_code' => 400, + 'description' => 'An internal system error occurred.', + ], + [ + 'code' => 'Invalid.Organization', + 'message' => 'The specified organizational unit does not exist.', + 'http_code' => 400, + 'description' => 'The specified organizational unit does not exist.', + ], + [ + 'code' => 'Invalid.Param.Error', + 'message' => 'The parameter is invalid.', + 'http_code' => 400, + 'description' => 'The parameter is invalid.', + ], + [ + 'code' => 'Invalid.Parameter', + 'message' => 'The length of the parameter must not exceed 1000.', + 'http_code' => 297, + 'description' => 'Parameter length exceeds maximum limit', + ], + [ + 'code' => 'Invalid.Parameter', + 'message' => 'You must specify the parameter.', + 'http_code' => 297, + 'description' => 'Invalid parameter', + ], + [ + 'code' => 'Invalid.Parameter', + 'message' => 'An error occurred while verifying parameters.', + 'http_code' => 400, + 'description' => 'An error occurred while verifying parameters.', + ], + [ + 'code' => 'Invalid.Parameter.Conditions', + 'message' => 'The specified Conditions is invalid. %s is not defined.', + 'http_code' => 400, + 'description' => 'The specified Conditions is invalid. %s is not defined.', + ], + [ + 'code' => 'Invalid.Parameter.Error', + 'message' => 'The parameter is invalid:%s.', + 'http_code' => 400, + 'description' => 'invalid parameter: ${0}.', + ], + [ + 'code' => 'Invalid.Parameter.ReturnFields', + 'message' => 'The specified returnFields is invalid. %s is not defined.', + 'http_code' => 400, + 'description' => 'The specified returnFields is invalid. %s is not defined.', + ], + [ + 'code' => 'Invalid.User', + 'message' => 'The user does not exist and cannot be added to a user group.', + 'http_code' => 400, + 'description' => 'The user does not exist and cannot be added to the user group.', + ], + [ + 'code' => 'Invalid.User.Admin', + 'message' => 'You are not an administrator of this organization.', + 'http_code' => 400, + 'description' => 'Only organization administrators can perform this operation.', + ], + [ + 'code' => 'Invalid.User.Organization', + 'message' => 'The user is not in your organization.', + 'http_code' => 400, + 'description' => 'The user is not in your organization.', + ], + [ + 'code' => 'Invalid.Works.Empty', + 'message' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Invalid.WorksId.Not.Publish', + 'message' => 'Works %s is not published yet.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Invalid.Workspace', + 'message' => 'The workspace is not owned by the organization.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Last.Job.Failed', + 'message' => 'Last job status is warn or failure, please check.', + 'http_code' => 400, + 'description' => 'Last job status is warn or failure, please check.', + ], + [ + 'code' => 'License.Total.Exceed.Error', + 'message' => 'The number of account exceeds the limit.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Log.Type.Error', + 'message' => 'The log type is incorrect.', + 'http_code' => 400, + 'description' => 'The log type is incorrect.', + ], + [ + 'code' => 'Mail.Forbidden.Access', + 'message' => 'Forbidden Access On This Operation.', + 'http_code' => 400, + 'description' => 'Access to this operation is prohibited.', + ], + [ + 'code' => 'Mail.Invalid', + 'message' => 'Email/phone number is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Mail.Not.Found', + 'message' => 'The Subscription Task Does Not Exist.', + 'http_code' => 400, + 'description' => 'The subscription task does not exist.', + ], + [ + 'code' => 'Mail.Not.Found', + 'message' => 'Mail not found.', + 'http_code' => 400, + 'description' => 'Mail does not exist', + ], + [ + 'code' => 'Mail.Subject.Error', + 'message' => 'The mail subject is invalid.', + 'http_code' => 400, + 'description' => 'Illegal message subject parameter', + ], + [ + 'code' => 'MailApi.Beyond.ScheduleLimit', + 'message' => 'Mail Subscription Openapi Requests Are Frequent. Please Try Again In %s Minutes.', + 'http_code' => 400, + 'description' => 'Mail subscription openApi requests are frequent, please try again in % s minutes.', + ], + [ + 'code' => 'MailId.Is.Null', + 'message' => 'The Mail Id Is Null.', + 'http_code' => 400, + 'description' => 'The parameter mailId is empty.', + ], + [ + 'code' => 'MailTask.Already.Running', + 'message' => 'The Mail Task Is Already Running.', + 'http_code' => 400, + 'description' => 'The mail task is currently running.', + ], + [ + 'code' => 'Measure.CanNotUse.RowLevelPermission', + 'message' => 'You cannot grant row level permissions to measure %s.', + 'http_code' => 500, + 'description' => 'Cannot grant row level permissions to measure:%s.', + ], + [ + 'code' => 'Member.ExistInWorkspace.Error', + 'message' => 'You cannot remove a user who is a member of a group workspace.', + 'http_code' => 400, + 'description' => 'You cannot remove a user who is a member of a group workspace.', + ], + [ + 'code' => 'Menu.NotBelongTo.CurrentDataportal', + 'message' => 'Menu %s does not belong to the current data portal %s.', + 'http_code' => 400, + 'description' => 'menu %s are/is not belong to current dataportal %s.', + ], + [ + 'code' => 'Missing.Conditions', + 'message' => 'The specified Conditions is invalid. You must specify %s.', + 'http_code' => 400, + 'description' => 'The specified Conditions is invalid. You must specify %s.', + ], + [ + 'code' => 'Missing.Dimension.Measure', + 'message' => 'The dimension or measure %s does not exist in Cube.', + 'http_code' => 400, + 'description' => 'The dimension or measure %s does not exist in Cube.', + ], + [ + 'code' => 'Name.Length.Exceeded', + 'message' => 'The max length of name exceeded.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Name.RegularExpression.Error', + 'message' => 'Name format validation failed.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'NameExceeded.MaxLength.Error', + 'message' => 'The name cannot exceed %s characters in length.', + 'http_code' => 400, + 'description' => 'The name cannot be longer than% s characters.', + ], + [ + 'code' => 'NickName.AlreadyIn.Organization', + 'message' => 'The alias already exists.', + 'http_code' => 400, + 'description' => 'The alias already exists.', + ], + [ + 'code' => 'NoPermissionTo.Operate.Object', + 'message' => 'You are not authorized to operate the objects.', + 'http_code' => 400, + 'description' => 'You are not authorized to do this.', + ], + [ + 'code' => 'Not.ApiCall.AuthUser', + 'message' => 'You are not an administrator or API call auth user of this organization.', + 'http_code' => 400, + 'description' => 'Not an organization administrator or API call authorized user.', + ], + [ + 'code' => 'Not.Organization.AuthAdmin', + 'message' => 'You are not a role administrator of the organization and do not have the permission to perform the operation.', + 'http_code' => 400, + 'description' => 'You are not a role administrator of the organization and do not have the permission to perform the operation.', + ], + [ + 'code' => 'Not.Quickbi.User', + 'message' => 'The user is not an organizational user of Quick BI.', + 'http_code' => 500, + 'description' => 'The user is not an organizational user of quickbi.', + ], + [ + 'code' => 'Not.WorkspaceCube.Error', + 'message' => 'You can only use the %s dataset of the current workspace.', + 'http_code' => 400, + 'description' => 'You can only use the dataset of the current workspace.', + ], + [ + 'code' => 'OdpsProject.Insert.Error', + 'message' => 'An error occurred while saving the MaxCompute data source. Please try again.', + 'http_code' => 400, + 'description' => 'An error occurred while saving the MaxCompute data source. Please try again.', + ], + [ + 'code' => 'OdpsProject.Login.Error', + 'message' => 'You are not authorized to access the current MaxCompute project.', + 'http_code' => 400, + 'description' => 'You are not authorized to access the current MaxCompute project.', + ], + [ + 'code' => 'OdpsQuery.AliyunAccount.Error', + 'message' => 'An error occurred while querying the alibaba cloud account.', + 'http_code' => 400, + 'description' => 'An error occurred while querying the alibaba cloud account.', + ], + [ + 'code' => 'OrgAdminOrPermissionAdmin.CannotChangeTo.Viewer', + 'message' => 'Organization admin or permission admin can not change to viewer.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Organization.Analysts.ReachedTheUpperLimit', + 'message' => 'The analysts of the organization have reached the upper limit:%s.', + 'http_code' => 400, + 'description' => 'The analysts of the organization have reached the upper limit:%s.', + ], + [ + 'code' => 'Organization.Developers.ReachedTheUpperLimit', + 'message' => 'The developers of the organization have reached the upper limit:%s', + 'http_code' => 400, + 'description' => 'The developers of the organization have reached the upper limit:%s', + ], + [ + 'code' => 'Organization.Viewers.ReachedTheUpperLimit', + 'message' => 'The visitors of the organization have reached the upper limit:%s.', + 'http_code' => 400, + 'description' => 'The visitors of the organization have reached the upper limit:%s.', + ], + [ + 'code' => 'Organization.Workspace.Inconformity', + 'message' => 'The workspace does not match the organization.', + 'http_code' => 400, + 'description' => 'workspace inconformity with organization.', + ], + [ + 'code' => 'OrganizationDeveloper.CanNotChangeTo.AnalystOrViewer', + 'message' => 'Organization user can not change developer to analyst or viewer.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Parameter.Error', + 'message' => 'The input parameter is invalid.', + 'http_code' => 400, + 'description' => 'input parameter error.', + ], + [ + 'code' => 'Parameter.Length.Exceed', + 'message' => 'Parameter length exceeds maximum limit: [%s].', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'PathId.NotExist.Error', + 'message' => 'The cube field does not exist ,path id: %s.', + 'http_code' => 400, + 'description' => 'Dataset field does not exist, field id:%s.', + ], + [ + 'code' => 'PersonalWorkspace.NotSupport.AllTransfer', + 'message' => 'Personal workspaces cannot be transferred.', + 'http_code' => 400, + 'description' => 'Personal workspaces cannot be transferred.', + ], + [ + 'code' => 'Preset.WorkspaceRole.NotExist', + 'message' => 'User does not have a predefined workspace role.', + 'http_code' => 400, + 'description' => 'User does not have a predefined workspace role.', + ], + [ + 'code' => 'Query.Auth.Error', + 'message' => 'Query is not permitted.', + 'http_code' => 400, + 'description' => 'No query permission.', + ], + [ + 'code' => 'Quick.Job.NotExist', + 'message' => 'The acceleration job is not found,please check the acceleration configuration.', + 'http_code' => 400, + 'description' => 'The acceleration job is not found,please check the acceleration configuration.', + ], + [ + 'code' => 'Ram.AuthCheck.Error', + 'message' => 'RAM auth check failed, and the current API can not be called.', + 'http_code' => 403, + 'description' => 'RAM auth check failed, and the current API can not be called.', + ], + [ + 'code' => 'Remove.AdminRoleOf.WorkspaceOwner', + 'message' => 'The owner of the group workspace must be assigned the administrator role.', + 'http_code' => 400, + 'description' => 'The owner of the group workspace must be assigned the administrator role.', + ], + [ + 'code' => 'Repeat.Running.Job', + 'message' => 'Job is already in progress.', + 'http_code' => 400, + 'description' => 'Job is already in progress. ', + ], + [ + 'code' => 'Report.NotExist', + 'message' => 'The dashboard does not exist.', + 'http_code' => 400, + 'description' => 'The dashboard does not exist.', + ], + [ + 'code' => 'Report.NotExist.Error', + 'message' => 'This work does not exist. It may have been deleted. Work ID is %s.', + 'http_code' => 400, + 'description' => 'This work does not exist. It may have been deleted. Work ID is %s. ', + ], + [ + 'code' => 'Resource.NotBelongTo.CurrentOrganization', + 'message' => 'The resource does not belong to the current organization.', + 'http_code' => 400, + 'description' => 'This Resource is not belong to current organization.', + ], + [ + 'code' => 'RobotNl2sql.Moudle.NotPurchase', + 'message' => 'Please purchase Nl2sql module first.', + 'http_code' => 400, + 'description' => 'Please purchase Nl2sql module first.', + ], + [ + 'code' => 'Role.ExceedCount.Error', + 'message' => 'The number of user roles cannot exceed 3.', + 'http_code' => 400, + 'description' => 'The number of user roles cannot exceed 3.', + ], + [ + 'code' => 'Role.HasBind.User', + 'message' => 'This role is bound to %s users and cannot be deleted.', + 'http_code' => 400, + 'description' => 'This role is bound to %s users and cannot be deleted.', + ], + [ + 'code' => 'Role.Type.Error', + 'message' => 'Wrong type of user role, must be an organization role.', + 'http_code' => 400, + 'description' => 'Wrong type of user role, must be an organization role.', + ], + [ + 'code' => 'RoleCount.ExceedsLimit.Error', + 'message' => 'The user role cannot exceed three.', + 'http_code' => 400, + 'description' => 'The user role cannot exceed three.', + ], + [ + 'code' => 'RoleCreate.Exceed.Limit', + 'message' => 'The number of created roles has exceeded the limit %s.', + 'http_code' => 400, + 'description' => 'The number of created roles has exceeded the limit %s.', + ], + [ + 'code' => 'RootUserGroup.Create.Error', + 'message' => 'organization %s has synchronized with other organizational structures, so user groups cannot be created under the root user group.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'Rowlevel.Permission.Forbbiden', + 'message' => 'The request is denied by row level permission. The dataset is %s, %s %s.', + 'http_code' => 400, + 'description' => 'Request forbidden by row level permission, dataset is %s, %s %s.', + ], + [ + 'code' => 'RowLevelPermission.Rule.NotBelongToCube', + 'message' => 'The row level permission rule does not belong to the current cube.', + 'http_code' => 400, + 'description' => 'The row level permission rule does not belong to the current cube.', + ], + [ + 'code' => 'RowLevelPermission.Rule.NotExsist', + 'message' => 'The row level permission rule does not exist: %s.', + 'http_code' => 400, + 'description' => 'The row level permission rule does not exist: %s.', + ], + [ + 'code' => 'RowLevelPermission.SwitchClose.Error', + 'message' => 'The row level permission switch must be on.', + 'http_code' => 400, + 'description' => 'Row lever permission switch must be open.', + ], + [ + 'code' => 'RowlevelPermission.Update.Failed', + 'message' => 'Failed to grant row level permissions of dataset %s for %s.', + 'http_code' => 500, + 'description' => 'Cannot grant row level permissions of dataset:%s,for:%s.', + ], + [ + 'code' => 'Share.ExpireDate.Error', + 'message' => 'The expire date is illegal.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'System.Param.empty', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'System.Param.Empty', + 'message' => 'You must specify the %s parameter.', + 'http_code' => 400, + 'description' => 'You must specify the %s parameter.', + ], + [ + 'code' => 'Tag.NotBelongTo.CurrentOrgainzation', + 'message' => 'The tag %s does not belong to the current organization.', + 'http_code' => 500, + 'description' => 'Tag %s is not belong to current organization.', + ], + [ + 'code' => 'Tag.NotIn.currentOrganization', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'TagName.Repeat', + 'message' => 'The tag name is duplicated.', + 'http_code' => 400, + 'description' => 'tag name duplicate added.', + ], + [ + 'code' => 'Timer.Schedule.Task', + 'message' => 'An error occurred during timer task scheduling.', + 'http_code' => 400, + 'description' => 'Timer scheduling task failed.', + ], + [ + 'code' => 'Token.AuthType.Valid', + 'message' => 'An error occurred while authenticating the AccessKey.', + 'http_code' => 500, + 'description' => 'An error occurred while authenticating the AccessKey.', + ], + [ + 'code' => 'Transfer.Not.Allowed', + 'message' => 'Transfer to users with lower space permissions is not allowed.', + 'http_code' => 400, + 'description' => 'Transfer to users with lower space permissions is not allowed.', + ], + [ + 'code' => 'Transfer.TargetUser.NotExist', + 'message' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', + 'http_code' => 400, + 'description' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', + ], + [ + 'code' => 'User.AlreadyIn.Organization', + 'message' => 'The user already exists.', + 'http_code' => 400, + 'description' => 'The user already exists.', + ], + [ + 'code' => 'User.AlreadyIn.Organization', + 'message' => 'This user is already a member of the current organization.', + 'http_code' => 400, + 'description' => 'This user is already a member of the current organization.', + ], + [ + 'code' => 'User.AlreadyIn.Role', + 'message' => 'The user is already assigned this role.', + 'http_code' => 400, + 'description' => 'The user is already assigned this role.', + ], + [ + 'code' => 'User.AlreadyIn.Workspace', + 'message' => 'This user already exists.', + 'http_code' => 400, + 'description' => 'This user already exists.', + ], + [ + 'code' => 'User.AlreadyIn.Workspace', + 'message' => 'XXXXXX.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'User.CanOnlyAddTo.BIUserGroup', + 'message' => 'User can only add to BI user group.', + 'http_code' => 400, + 'description' => 'Users can only add to BI user group.', + ], + [ + 'code' => 'User.Disabled.Error', + 'message' => 'User has been disabled.', + 'http_code' => 400, + 'description' => 'User has been disabled.', + ], + [ + 'code' => 'User.Duplicative', + 'message' => 'Duplicate users found with account name: %s.', + 'http_code' => 400, + 'description' => 'Duplicate users found with account name: %s.', + ], + [ + 'code' => 'User.Duplicative', + 'message' => 'Duplicate users found with account name : %s.', + 'http_code' => 400, + 'description' => 'Duplicate users found with account name: %s.', + ], + [ + 'code' => 'User.MustHaveRole.InWorkspace', + 'message' => 'The user must have a role in the workspace.', + 'http_code' => 400, + 'description' => 'The user must have a role in the workspace.', + ], + [ + 'code' => 'User.Not.In.Organization', + 'message' => 'The specified user is not in the organizational unit.', + 'http_code' => 400, + 'description' => 'The specified user is not in the organizational unit.', + ], + [ + 'code' => 'User.Not.WorkspaceAdmin', + 'message' => 'Only administrators of the group workspace can perform this operation.', + 'http_code' => 400, + 'description' => 'Only administrators of the group workspace can perform this operation.', + ], + [ + 'code' => 'User.NotBelongTo.CurrentOrganization', + 'message' => 'The user %s does not belong to the current organization.', + 'http_code' => 400, + 'description' => 'User %s is not belong to current organization.', + ], + [ + 'code' => 'User.NotIn.Workspace', + 'message' => 'The user is not a member of the group workspace.', + 'http_code' => 400, + 'description' => 'The user is not a member of the group workspace.', + ], + [ + 'code' => 'User.NotIn.Workspace', + 'message' => 'The user is not in this workspace.', + 'http_code' => 400, + 'description' => 'The user is not in this workspace.', + ], + [ + 'code' => 'User.OnlyBind.OneRole', + 'message' => 'The current user is only bound to one role and cannot unbind the current role.', + 'http_code' => 400, + 'description' => 'The current user is only bound to one role and cannot unbind the current role.', + ], + [ + 'code' => 'User.OperationPermission.Error', + 'message' => 'You are not authorized to operate this object.', + 'http_code' => 400, + 'description' => 'You are not authorized to operate this object.', + ], + [ + 'code' => 'User.OrganizationRole.NotExist', + 'message' => 'User %s must have role in organization.', + 'http_code' => 400, + 'description' => 'User %s must have role in organization.', + ], + [ + 'code' => 'User.PresetWorkspaceRole.NotExist', + 'message' => 'User does not have a predefined workspace role.', + 'http_code' => 400, + 'description' => 'User does not have a predefined workspace role.', + ], + [ + 'code' => 'User.Role.NotExist', + 'message' => 'User role not exist: %s.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'User.RoleType.Valid', + 'message' => 'The role ID is invalid.', + 'http_code' => 400, + 'description' => 'The role ID is invalid.', + ], + [ + 'code' => 'UserAnalyst.NotSupport.ThisRole', + 'message' => 'This role has permissions that analysts cannot grant.', + 'http_code' => 400, + 'description' => 'This role has permissions that analysts cannot grant.', + ], + [ + 'code' => 'UserGroup.Already.Synchronized', + 'message' => 'Organization has synchronized with other organizational structures, so you are not allowed to add users under group.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'UserGroup.ExceedsLimit.Error', + 'message' => 'User group exceed limit, %s.', + 'http_code' => 400, + 'description' => 'User Grouping Restrictions', + ], + [ + 'code' => 'UserGroup.Layer.Limited', + 'message' => 'The user group cannot have more than ten layers.', + 'http_code' => 400, + 'description' => 'The user group cannot have more than ten layers.', + ], + [ + 'code' => 'Usergroup.Not.Exist', + 'message' => 'The user group does not exist.', + 'http_code' => 400, + 'description' => 'The user group does not exist.', + ], + [ + 'code' => 'Usergroup.NotBelongTo.CurrentOrganization', + 'message' => 'The usergroup %s does not belong to the current organization.', + 'http_code' => 400, + 'description' => 'Usergroup %s is not belong to current organization.', + ], + [ + 'code' => 'UserGroup.NotIn.Organization', + 'message' => 'The user group is not in the current organization.', + 'http_code' => 400, + 'description' => 'Usergroup is not belong to current organization.', + ], + [ + 'code' => 'UserGroup.Parent.NotFound', + 'message' => 'The parent user group does not exist.', + 'http_code' => 400, + 'description' => 'The parent user group does not exist.', + ], + [ + 'code' => 'UserGroup.Remove.RootNode', + 'message' => 'The root user group cannot be deleted.', + 'http_code' => 400, + 'description' => 'The root user group cannot be deleted.', + ], + [ + 'code' => 'UserGroup.Remove.WithChildren', + 'message' => 'This user group contains a child user group and cannot be deleted.', + 'http_code' => 400, + 'description' => 'This user group contains a child user group and cannot be deleted.', + ], + [ + 'code' => 'UserGroup.Update.RootNode', + 'message' => 'The root user group cannot be updated.', + 'http_code' => 500, + 'description' => 'The root user group cannot be updated.', + ], + [ + 'code' => 'UserInfo.Error', + 'message' => 'The personal information is invalid.', + 'http_code' => 400, + 'description' => 'The personal information is invalid.', + ], + [ + 'code' => 'UserRoleConfig.NotContain.Function', + 'message' => 'The user %s does not have permission to operate.', + 'http_code' => 400, + 'description' => 'The user %s does not have permission to operate.', + ], + [ + 'code' => 'UserTag.Exceed.Limit', + 'message' => 'The number of user tags cannot exceed %s, you have reached the upper limit.', + 'http_code' => 400, + 'description' => 'The number of user tags cannot exceed %s, you have reached the upper limit..', + ], + [ + 'code' => 'UserTag.NotIn.CurrentOrganization', + 'message' => 'The user tag is not in the current organization.', + 'http_code' => 500, + 'description' => 'user tag not in current organization.', + ], + [ + 'code' => 'Viewer.AddInTo.Workspace', + 'message' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + 'http_code' => 400, + 'description' => 'Organization members with viewer type are not allowed to add to workspace: %s.', + ], + [ + 'code' => 'Viewer.CannotAddTo.Workspace', + 'message' => 'Visitors cannot be added to workspace.', + 'http_code' => 500, + 'description' => 'Visitors cannot be added to workspace.', + ], + [ + 'code' => 'Viewer.CannotHave.CustomRole', + 'message' => 'Organization viewer cannot have custom roles.', + 'http_code' => 400, + 'description' => 'Organization viewer cannot have custom roles.', + ], + [ + 'code' => 'VpcInstance.Info.EmptyError', + 'message' => 'Not found instance. please check vpc config and authorization %s.', + 'http_code' => 400, + 'description' => 'Not found instance. please check VPC config and authorization %s.', + ], + [ + 'code' => 'VpcInstance.Info.Error', + 'message' => 'Get vpc instance info error.please check vpc config %s.', + 'http_code' => 400, + 'description' => 'Get VPC instance info error.please check VPC config %s.', + ], + [ + 'code' => 'Works.Transfer.Error', + 'message' => 'You are not authorized to transfer this item.', + 'http_code' => 400, + 'description' => 'You are not authorized to transfer this item.', + ], + [ + 'code' => 'Workspace.Not.Exist', + 'message' => 'The group workspace does not exist.', + 'http_code' => 400, + 'description' => 'The group workspace does not exist.', + ], + [ + 'code' => 'Workspace.NotIn.Organization', + 'message' => 'The workspace is not owned by the organization.', + 'http_code' => 400, + 'description' => 'The workspace is not owned by the organization.', + ], + [ + 'code' => 'Workspace.Operation.LackOfRole', + 'message' => 'The role required for the operation is missing, and the work operation type is %s.', + 'http_code' => 400, + 'description' => 'The role required for the operation is missing, and the work operation type is %s.', + ], + [ + 'code' => 'Workspace.Operation.LackRole', + 'message' => 'Only the %s role can perform this operation. Contact the administrator to add this role.', + 'http_code' => 400, + 'description' => 'Only the %s role can perform this operation. Contact the administrator to add this role.', + ], + [ + 'code' => 'Workspace.OutsideShare.Forbidden', + 'message' => 'Content in the current group workspace cannot be shared with another organization.', + 'http_code' => 400, + 'description' => 'Content in the current group workspace cannot be shared with another organization.', + ], + [ + 'code' => 'Workspace.Share.Forbidden', + 'message' => 'Content in the current group workspace cannot be shared.', + 'http_code' => 400, + 'description' => 'Content in the current group workspace cannot be shared.', + ], + [ + 'code' => 'Workspace.Status.Error', + 'message' => 'This group workspace has been disabled or deleted.', + 'http_code' => 400, + 'description' => 'This group workspace has been disabled or deleted.', + ], + [ + 'code' => 'Workspace.Type.Error', + 'message' => 'The type of group workspace is invalid.', + 'http_code' => 400, + 'description' => 'The type of group workspace is invalid.', + ], + [ + 'code' => 'WorkspaceOrWorkspaceRole.IsEmpty', + 'message' => 'Workspace or workspace role is empty, please check.', + 'http_code' => 400, + 'description' => 'Workspace or workspace role is empty, please check.', + ], + [ + 'code' => 'Xengnie.TaskExecute.Error', + 'message' => 'Fail to execute task %s.', + 'http_code' => 400, + 'description' => 'Fail to execute task %s.', + ], + ], + 'changeSet' => [ + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'QueryUserInfoByAccount', + ], + ], + 'createdAt' => '2024-06-27T12:34:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryUserList', + ], + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryWorks', + ], + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryWorksByOrganization', + ], + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryWorksByWorkspace', + ], + ], + 'createdAt' => '2024-06-27T01:51:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryDatasetInfo', + ], + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryDatasetList', + ], + ], + 'createdAt' => '2024-05-22T03:08:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Response parameters changed', + 'api' => 'ListFavoriteReports', + ], + ], + 'createdAt' => '2024-05-21T11:43:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed, Request parameters changed, Response parameters changed', + 'api' => 'AddUser', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'AllotDatasetAccelerationTask', + ], + [ + 'description' => 'Error codes changed, Request parameters changed, Response parameters changed', + 'api' => 'QueryUserInfoByAccount', + ], + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryUserInfoByUserId', + ], + [ + 'description' => 'Response parameters changed', + 'api' => 'QueryUserList', + ], + [ + 'description' => 'Error codes changed, Request parameters changed', + 'api' => 'UpdateUser', + ], + ], + 'createdAt' => '2024-02-26T09:29:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Request parameters changed', + 'api' => 'AddShareReport', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'BatchAddFeishuUsers', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'CreateTicket', + ], + ], + 'createdAt' => '2023-10-24T07:01:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'AddUser', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'AddUserToWorkspace', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'AddWorkspaceUsers', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'BatchAddFeishuUsers', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'DeleteUser', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'QueryUserRoleInfoInWorkspace', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateUser', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateWorkspaceUserRole', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateWorkspaceUsersRole', + ], + ], + 'createdAt' => '2023-08-07T06:37:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'CreateUserGroup', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateUserGroup', + ], + ], + 'createdAt' => '2023-06-20T09:13:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'CreateUserGroup', + ], + ], + 'createdAt' => '2023-05-10T05:00:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'QueryDataService', + ], + ], + 'createdAt' => '2023-04-06T10:21:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'ChangeVisibilityModel', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateDataLevelPermissionStatus', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateEmbeddedStatus', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateTicketNum', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateUserGroup', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateUserTagMeta', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateUserTagValue', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateWorkspaceUserRole', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'UpdateWorkspaceUsersRole', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'WithdrawAllUserGroups', + ], + ], + 'createdAt' => '2023-04-06T10:12:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'QueryDataService', + ], + [ + 'description' => 'Error codes changed', + 'api' => 'QueryWorksByOrganization', + ], + ], + 'createdAt' => '2022-10-24T02:14:23.000Z', + 'description' => '修改部分特殊API的超时时间。', + ], + [ + 'apis' => [ + [ + 'description' => 'OpenAPI offline', + 'api' => 'BatchAddFeishuUsers', + ], + ], + 'createdAt' => '2022-09-08T13:34:13.000Z', + 'description' => '- 更新一些API的错误码以及参数校验说明。- 新增批量添加飞书用户的API。', + ], + [ + 'apis' => [ + [ + 'description' => 'OpenAPI offline', + 'api' => 'QueryEmbeddedStatus', + ], + ], + 'createdAt' => '2022-07-04T12:56:17.000Z', + 'description' => '- 新增接口QueryEmbeddedStatus。', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'CreateTicket', + ], + ], + 'createdAt' => '2022-03-22T02:51:03.000Z', + 'description' => 'CreateTicket新增错误码。', + ], + [ + 'apis' => [ + [ + 'description' => 'Error codes changed', + 'api' => 'AddDataLevelPermissionRuleUsers', + ], + ], + 'createdAt' => '2022-03-21T06:53:18.000Z', + 'description' => 'AddDataLevelPermissionRuleUsers新增错误码。', + ], + [ + 'apis' => [ + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddDataLevelPermissionRuleUsers', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddDataLevelPermissionWhiteList', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddShareReport', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddUser', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddUserGroupMember', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddUserGroupMembers', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddUserTagMeta', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddUserToWorkspace', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AddWorkspaceUsers', + ], + [ + 'description' => 'OpenAPI offline', + 'api' => 'AuthorizeMenu', + ], + ], + 'createdAt' => '2022-03-04T10:06:41.000Z', + 'description' => 'QuickBI产品region化输出POP API', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ResultCallback', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SaveFavorites', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DataSetBlood', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetInfo', + ], + [ + 'threshold' => '-1', + 'countWindow' => 1, + 'regionId' => '*', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateWorkspaceUsersRole', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryCopilotEmbedConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserInfoByAccount', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CreateTicket4Copilot', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListOrganizationRoleUsers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateEmbeddedStatus', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CreateTicket', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DelayTicketExpireTime', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CheckReadable', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SmartqAuthorize', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteTicket', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryWorkspaceRoleConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetDataLevelPermissionExtraConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryWorkspaceUserList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryOrganizationWorkspaceList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddShareReport', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUserGroupMembers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserGroupMember', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryCubeOptimization', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUser', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QuerySharesToUserList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ChangeVisibilityModel', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetDetailInfo', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CancelCollection', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListCubeDataLevelPermissionConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CancelAuthorizationMenu', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserGroupListByParentId', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDataService', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListRecentViewReports', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListByUserGroupId', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetDataLevelPermissionRuleConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListPortalMenuAuthorization', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUserFromWorkspace', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateUserTagMeta', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDataRange', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserGroupMembers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'BatchAddFeishuUsers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CancelReportShare', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'GetUserGroupInfo', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateWorkspaceUserRole', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListFavoriteReports', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SmartqAuthTransfer', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateUserTagValue', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddWorkspaceUsers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListDataSource', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListUserGroupsByUserId', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetSmartqStatus', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListPortalMenus', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryWorksBloodRelationship', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateUser', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserGroupMember', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SmartqQueryAbility', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListApiDatasource', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryShareList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserInfoByUserId', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ModifyCopilotEmbedConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryReadableResourcesListByUserId', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDataServiceList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryWorksByOrganization', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserTagMetaList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CreateUserGroup', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryEmbeddedStatus', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListDataLevelPermissionWhiteList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListOrganizationRoles', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryApprovalInfo', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryLlmCubeWithThemeListByUserId', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryReportPerformance', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryCubePerformance', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddDataLevelPermissionWhiteList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserTagValueList', + ], + [ + 'threshold' => '1', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'GetMailTaskStatus', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListCollections', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryComponentPerformance', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryTicketInfo', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListWorkspaceRoleUsers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListWorkspaceRoles', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUserGroupMember', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DataSourceBlood', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryDatasetSwitchInfo', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateDataLevelPermissionStatus', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListSharedReports', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'GetDataSourceConnectionInfo', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserTagMeta', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'WithdrawAllUserGroups', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryAuditLog', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryData', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddDataLevelPermissionRuleUsers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUser', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteDataLevelPermissionRuleUsers', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ModifyApiDatasourceParameters', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryEmbeddedInfo', + ], + [ + 'threshold' => '1', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ManualRunMailTask', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QuerySmartqPermissionByCubeId', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AllotDatasetAccelerationTask', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserToWorkspace', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateUserGroup', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteDataLevelRuleConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryOrganizationRoleConfig', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateTicketNum', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'GetWorksEmbedList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryWorks', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AuthorizeMenu', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetDataLevelPermissionWhiteList', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryUserRoleInfoInWorkspace', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUserTagMeta', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'QueryWorksByWorkspace', + ], + [ + 'threshold' => '50', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUserGroup', + ], + ], + ], + 'ram' => [ + 'productCode' => 'QuickBI', + 'productName' => 'Quick BI', + 'ramCodes' => [ + 'quickbi-public', + ], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'QueryDatasetList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListSharedReports', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListSharedReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserRoleInfoInWorkspace', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserRoleInfoInWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddUser', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateUserTagValue', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUserTagValue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteUserFromWorkspace', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserFromWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListRecentViewReports', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListRecentViewReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DataSourceBlood', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:DataSourceBlood', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateUserTagMeta', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUserTagMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SaveFavorites', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SaveFavorites', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddDataLevelPermissionRuleUsers', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddDataLevelPermissionRuleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'CancelReportShare', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:CancelReportShare', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryEmbeddedStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryEmbeddedStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryTicketInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryTicketInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AllotDatasetAccelerationTask', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:AllotDatasetAccelerationTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateWorkspaceUserRole', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateWorkspaceUserRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'BatchAddFeishuUsers', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:BatchAddFeishuUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteTicket', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteTicket', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SetDataLevelPermissionWhiteList', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:SetDataLevelPermissionWhiteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryReadableResourcesListByUserId', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryReadableResourcesListByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserInfoByUserId', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserInfoByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryShareList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryShareList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserTagMetaList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserTagMetaList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'CheckReadable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:CheckReadable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddUserGroupMembers', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserGroupMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddDataLevelPermissionWhiteList', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddDataLevelPermissionWhiteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListWorkspaceRoles', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListWorkspaceRoles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SetDataLevelPermissionRuleConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SetDataLevelPermissionRuleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ChangeVisibilityModel', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ChangeVisibilityModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ManualRunMailTask', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ManualRunMailTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'WithdrawAllUserGroups', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:WithdrawAllUserGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryDatasetSwitchInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetSwitchInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryReadableResourcesListByUserIdV2', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryReadableResourcesListByUserIdV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SmartqAuthTransfer', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SmartqAuthTransfer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserGroupListByParentId', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserGroupListByParentId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ModifyCopilotEmbedConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ModifyCopilotEmbedConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryDataService', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDataService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'GetMailTaskStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:GetMailTaskStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateUser', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserInfoByAccount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserInfoByAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListUserGroupsByUserId', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListUserGroupsByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListWorkspaceRoleUsers', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListWorkspaceRoleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserGroupMember', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserGroupMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateEmbeddedStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateEmbeddedStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateTicketNum', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateTicketNum', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteUser', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListOrganizationRoles', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListOrganizationRoles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateUserGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUserGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryComponentPerformance', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryComponentPerformance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryOrganizationRoleConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryOrganizationRoleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListPortalMenus', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListPortalMenus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddShareReport', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddShareReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddWorkspaceUsers', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddWorkspaceUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddUserToWorkspace', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserToWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddUserTagMeta', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserTagMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryCopilotEmbedConfig', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCopilotEmbedConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryWorkspaceUserList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorkspaceUserList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SetDataLevelPermissionExtraConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:SetDataLevelPermissionExtraConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryWorkspaceRoleConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorkspaceRoleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteUserGroupMembers', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserGroupMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryWorks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryDatasetDetailInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetDetailInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListFavoriteReports', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListFavoriteReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'GetDataSourceConnectionInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:GetDataSourceConnectionInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListPortalMenuAuthorization', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListPortalMenuAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryReportPerformance', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryReportPerformance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'GetWorksEmbedList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:GetWorksEmbedList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateDataLevelPermissionStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateDataLevelPermissionStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'CancelAuthorizationMenu', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:CancelAuthorizationMenu', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DelayTicketExpireTime', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:DelayTicketExpireTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryCubePerformance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCubePerformance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListDataSource', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListDataSource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryWorksBloodRelationship', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorksBloodRelationship', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryDatasetSmartqStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetSmartqStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryDatasetInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDatasetInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryEmbeddedInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryEmbeddedInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListCollections', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListCollections', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserTagValueList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserTagValueList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryApprovalInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryApprovalInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryCubeOptimization', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCubeOptimization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QuerySharesToUserList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QuerySharesToUserList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteDataLevelPermissionRuleUsers', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteDataLevelPermissionRuleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'CancelCollection', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:CancelCollection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddUserGroupMember', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddUserGroupMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'CreateTicket4Copilot', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateTicket4Copilot', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'CreateUserGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateUserGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ResultCallback', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ResultCallback', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AuthorizeMenu', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AuthorizeMenu', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SmartqQueryAbility', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:SmartqQueryAbility', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryLlmCubeWithThemeListByUserId', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryLlmCubeWithThemeListByUserId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListOrganizationRoleUsers', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListOrganizationRoleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListByUserGroupId', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListByUserGroupId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryUserList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListApiDatasource', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListApiDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QuerySmartqPermissionByCubeId', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QuerySmartqPermissionByCubeId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryDataRange', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDataRange', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DataSetBlood', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:DataSetBlood', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListCubeDataLevelPermissionConfig', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListCubeDataLevelPermissionConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryWorksByOrganization', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorksByOrganization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ModifyApiDatasourceParameters', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ModifyApiDatasourceParameters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteUserGroupMember', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserGroupMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteUserGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'ListDataLevelPermissionWhiteList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListDataLevelPermissionWhiteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'CreateTicket', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateTicket', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'GetUserGroupInfo', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:GetUserGroupInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteUserTagMeta', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteUserTagMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryWorksByWorkspace', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorksByWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteDataLevelRuleConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:DeleteDataLevelRuleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryDataServiceList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryDataServiceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryAuditLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'QueryOrganizationWorkspaceList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryOrganizationWorkspaceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SmartqAuthorize', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:SmartqAuthorize', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateWorkspaceUsersRole', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateWorkspaceUsersRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'QuickBI', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'resourceTypes' => [], + ], +]; |
