diff options
Diffstat (limited to 'data/zh_cn/quickbi-public')
| -rw-r--r-- | data/zh_cn/quickbi-public/2022-01-01/api-docs.php | 27504 |
1 files changed, 6845 insertions, 20659 deletions
diff --git a/data/zh_cn/quickbi-public/2022-01-01/api-docs.php b/data/zh_cn/quickbi-public/2022-01-01/api-docs.php index b82d934..5abcaed 100644 --- a/data/zh_cn/quickbi-public/2022-01-01/api-docs.php +++ b/data/zh_cn/quickbi-public/2022-01-01/api-docs.php @@ -1,71 +1,29 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'quickbi-public', - 'version' => '2022-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'quickbi-public', 'version' => '2022-01-01'], 'directories' => [ [ 'children' => [ [ - 'children' => [ - 'CheckOrganizationMember', - 'AddUser', - 'BatchAddFeishuUsers', - 'DeleteUser', - 'UpdateUser', - 'QueryUserList', - 'QueryUserInfoByUserId', - 'QueryUserInfoByAccount', - ], + 'children' => ['DeleteUser', 'CheckOrganizationMember', 'AddUser', 'BatchAddFeishuUsers', 'UpdateUser', 'QueryUserList', 'QueryUserInfoByUserId', 'QueryUserInfoByAccount', 'QueryUserByMobileAccount'], 'type' => 'directory', 'title' => '组织用户管理', 'id' => 238712, ], [ - 'children' => [ - 'CreateUserGroup', - 'AddUserGroupMember', - 'AddUserGroupMembers', - 'DeleteUserGroup', - 'DeleteUserGroupMember', - 'DeleteUserGroupMembers', - 'WithdrawAllUserGroups', - 'UpdateUserGroup', - 'GetUserGroupInfo', - 'ListByUserGroupId', - 'ListUserGroupsByUserId', - 'QueryUserGroupListByParentId', - 'QueryUserGroupMember', - ], + 'children' => ['UpdateUserGroup', 'DeleteUserGroup', 'CreateUserGroup', 'AddUserGroupMember', 'AddUserGroupMembers', 'DeleteUserGroupMember', 'DeleteUserGroupMembers', 'WithdrawAllUserGroups', 'GetUserGroupInfo', 'ListByUserGroupId', 'ListUserGroupsByUserId', 'QueryUserGroupListByParentId', 'QueryUserGroupMember', 'TransferUsergroup'], 'type' => 'directory', 'title' => '组织用户组管理', 'id' => 238729, ], [ - 'children' => [ - 'AddUserTagMeta', - 'DeleteUserTagMeta', - 'UpdateUserTagValue', - 'QueryUserTagMetaList', - 'QueryUserTagValueList', - 'UpdateUserTagMeta', - ], + 'children' => ['AddUserTagMeta', 'DeleteUserTagMeta', 'UpdateUserTagValue', 'QueryUserTagMetaList', 'QueryUserTagValueList', 'UpdateUserTagMeta', 'ListDynamicTag', 'ClearDynamicTagCache'], 'type' => 'directory', 'title' => '用户标签管理', 'id' => 238722, ], [ - 'children' => [ - 'ListWorkspaceUserRolesByUserId', - 'ListWorkspaceRoleUsers', - 'QueryWorkspaceRoleConfig', - 'QueryOrganizationRoleConfig', - 'ListWorkspaceRoles', - 'ListOrganizationRoles', - 'ListOrganizationRoleUsers', - ], + 'children' => ['ListWorkspaceUserRolesByUserId', 'ListWorkspaceRoleUsers', 'QueryWorkspaceRoleConfig', 'QueryOrganizationRoleConfig', 'ListWorkspaceRoles', 'ListOrganizationRoles', 'ListOrganizationRoleUsers'], 'type' => 'directory', 'title' => '角色管理', 'id' => 238743, @@ -78,52 +36,25 @@ [ 'children' => [ [ - 'children' => [ - 'AddShareReport', - 'CancelReportShare', - 'QuerySharesToUserList', - 'QueryShareList', - ], + 'children' => ['AddShareReport', 'CancelReportShare', 'QuerySharesToUserList', 'QueryShareList', 'AddWorksAuthorization', 'DeleteAuthorizationByUserId'], 'type' => 'directory', 'title' => '报表分享授权管理', 'id' => 238685, ], [ - 'children' => [ - 'AuthorizeMenu', - 'CancelAuthorizationMenu', - 'ChangeVisibilityModel', - 'ListPortalMenus', - 'ListPortalMenuAuthorization', - 'ListWhitePortalMenu', - ], + 'children' => ['AuthorizeMenu', 'CancelAuthorizationMenu', 'ChangeVisibilityModel', 'ListPortalMenus', 'ListPortalMenuAuthorization', 'ListWhitePortalMenu'], 'type' => 'directory', 'title' => '数据门户菜单授权管理', 'id' => 238690, ], [ - 'children' => [ - 'SetDataLevelPermissionRuleConfig', - 'AddDataLevelPermissionRuleUsers', - 'AddDataLevelPermissionWhiteList', - 'DeleteDataLevelRuleConfig', - 'DeleteDataLevelPermissionRuleUsers', - 'UpdateDataLevelPermissionStatus', - 'SetDataLevelPermissionExtraConfig', - 'SetDataLevelPermissionWhiteList', - 'QueryDatasetSwitchInfo', - 'ListCubeDataLevelPermissionConfig', - 'ListDataLevelPermissionWhiteList', - ], + 'children' => ['SetDataLevelPermissionRuleConfig', 'AddDataLevelPermissionRuleUsers', 'AddDataLevelPermissionWhiteList', 'DeleteDataLevelRuleConfig', 'DeleteDataLevelPermissionRuleUsers', 'UpdateDataLevelPermissionStatus', 'SetDataLevelPermissionExtraConfig', 'SetDataLevelPermissionWhiteList', 'QueryDatasetSwitchInfo', 'ListCubeDataLevelPermissionConfig', 'ListDataLevelPermissionWhiteList'], 'type' => 'directory', 'title' => '行级权限管理', 'id' => 238696, ], [ - 'children' => [ - 'QueryApprovalInfo', - 'ResultCallback', - ], + 'children' => ['QueryApprovalInfo', 'ResultCallback'], 'type' => 'directory', 'title' => '开放审批', 'id' => 238708, @@ -136,47 +67,14 @@ [ 'children' => [ [ - 'children' => [ - 'UpdateEmbeddedStatus', - 'QueryWorksByOrganization', - 'QueryWorksByWorkspace', - 'QueryReadableResourcesListByUserIdV2', - 'QueryReadableResourcesListByUserId', - 'CheckReadable', - 'QueryEmbeddedInfo', - 'QueryEmbeddedStatus', - 'QueryWorks', - 'QueryWorksBloodRelationship', - 'QueryComponentPerformance', - 'QueryReportPerformance', - 'GetWorksEmbedList', - ], + 'children' => ['UpdateEmbeddedStatus', 'QueryWorksByOrganization', 'QueryWorksByWorkspace', 'QueryReadableResourcesListByUserIdV2', 'QueryReadableResourcesListByUserId', 'CheckReadable', 'QueryEmbeddedInfo', 'QueryEmbeddedStatus', 'QueryWorks', 'QueryWorksBloodRelationship', 'QueryComponentPerformance', 'QueryReportPerformance', 'GetWorksEmbedList'], 'type' => 'directory', 'title' => '报表资源管理', 'id' => 238640, ], [ 'children' => [ - 'CheckDatasetExisted', - 'CreateCubeBySql', - 'CreateDataset', - 'AddDataSource', - 'UpdateDataSource', - 'UpdateCubeBySql', - 'QueryLastAccelerationEngineJob', - 'ListDataSource', - 'DataSetBlood', - 'DataSourceBlood', - 'ModifyApiDatasourceParameters', - 'ListApiDatasource', - 'QueryDatasetInfo', - 'QueryDatasetDetailInfo', - 'QueryDatasetList', - 'AllotDatasetAccelerationTask', - 'QueryCubePerformance', - 'QueryCubeOptimization', - 'GetDataSourceConnectionInfo', - 'ListAccelerationOfWorkspace', + 'UpdateDataSource', 'CreateDataset', 'CheckDatasetExisted', 'CreateCubeBySql', 'AddDataSource', 'UpdateCubeBySql', 'QueryLastAccelerationEngineJob', 'ListDataSource', 'DataSetBlood', 'DataSourceBlood', 'ModifyApiDatasourceParameters', 'ListApiDatasource', 'QueryDatasetInfo', 'QueryDatasetDetailInfo', 'QueryDatasetList', 'AllotDatasetAccelerationTask', 'QueryCubePerformance', 'QueryCubeOptimization', 'GetDataSourceConnectionInfo', 'ListAccelerationOfWorkspace', 'QueryAccelerationLogByCubeId', ], 'type' => 'directory', @@ -184,47 +82,25 @@ 'id' => 238654, ], [ - 'children' => [ - 'AddUserToWorkspace', - 'AddWorkspaceUsers', - 'DeleteUserFromWorkspace', - 'UpdateWorkspaceUsersRole', - 'UpdateWorkspaceUserRole', - 'QueryWorkspaceUserList', - 'QueryOrganizationWorkspaceList', - 'QueryUserRoleInfoInWorkspace', - 'CreateWorkspace', - ], + 'children' => ['CreateWorkspace', 'AddUserToWorkspace', 'AddWorkspaceUsers', 'DeleteUserFromWorkspace', 'UpdateWorkspaceUsersRole', 'UpdateWorkspaceUserRole', 'QueryWorkspaceUserList', 'QueryOrganizationWorkspaceList', 'QueryUserRoleInfoInWorkspace'], 'type' => 'directory', 'title' => '工作空间管理', 'id' => 238631, ], [ - 'children' => [ - 'SaveFavorites', - 'CancelCollection', - 'ListCollections', - ], + 'children' => ['SaveFavorites', 'CancelCollection'], 'type' => 'directory', 'title' => '收藏管理', 'id' => 238673, ], [ - 'children' => [ - 'ListFavoriteReports', - 'ListRecentViewReports', - 'ListSharedReports', - ], + 'children' => ['ListCollections', 'ListFavoriteReports', 'ListRecentViewReports', 'ListSharedReports'], 'type' => 'directory', 'title' => '首页管理', 'id' => 238677, ], [ - 'children' => [ - 'ManualRunMailTask', - 'GetMailTaskStatus', - 'GetMailTaskList', - ], + 'children' => ['ManualRunMailTask', 'GetMailTaskStatus', 'GetMailTaskList'], 'type' => 'directory', 'title' => '订阅管理', 'id' => 238681, @@ -237,11 +113,7 @@ [ 'children' => [ [ - 'children' => [ - 'QueryData', - 'QueryDataServiceList', - 'QueryDataService', - ], + 'children' => ['IpWhiteListConfig', 'QueryData', 'QueryDataServiceList', 'QueryDataService'], 'type' => 'directory', 'title' => '数据服务', 'id' => 238626, @@ -254,13 +126,7 @@ [ 'children' => [ [ - 'children' => [ - 'CreateTicket', - 'DeleteTicket', - 'DelayTicketExpireTime', - 'UpdateTicketNum', - 'QueryTicketInfo', - ], + 'children' => ['CreateTicket', 'DeleteTicket', 'DelayTicketExpireTime', 'UpdateTicketNum', 'QueryTicketInfo'], 'type' => 'directory', 'title' => '报表嵌入', 'id' => 238619, @@ -273,9 +139,7 @@ [ 'children' => [ [ - 'children' => [ - 'QueryAuditLog', - ], + 'children' => ['QueryAuditLog'], 'type' => 'directory', 'title' => '资源分析', 'id' => 238752, @@ -288,27 +152,13 @@ [ 'children' => [ [ - 'children' => [ - 'CreateTicket4Copilot', - 'ModifyCopilotEmbedConfig', - 'QueryCopilotEmbedConfig', - 'QueryDataRange', - ], + 'children' => ['CreateTicket4Copilot', 'ModifyCopilotEmbedConfig', 'QueryCopilotEmbedConfig', 'QueryDataRange'], 'type' => 'directory', 'title' => '智能问数嵌入', 'id' => 238755, ], [ - 'children' => [ - 'ModifyDashboardNl2sqlStatus', - 'QueryDashboardNl2sql', - 'SmartqAuthorize', - 'QueryLlmCubeWithThemeListByUserId', - 'SmartqAuthTransfer', - 'QuerySmartqPermissionByCubeId', - 'QueryDatasetSmartqStatus', - 'SmartqQueryAbility', - ], + 'children' => ['ModifyDashboardNl2sqlStatus', 'QueryDashboardNl2sql', 'SmartqAuthorize', 'QueryLlmCubeWithThemeListByUserId', 'SmartqAuthTransfer', 'QuerySmartqPermissionByCubeId', 'QueryDatasetSmartqStatus', 'SmartqQueryAbility'], 'type' => 'directory', 'title' => '智能问数管理', 'id' => 238760, @@ -325,13 +175,8 @@ 'apis' => [ 'AddDataLevelPermissionRuleUsers' => [ 'summary' => '针对单条行列权限规则增量添加选定的人群。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -339,37 +184,25 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'AddUserModel', 'in' => 'query', - 'schema' => [ - 'description' => '{'."\n" - .' "ruleId": "a5bb24da-***-a891683e14da", // 行列权限规则ID'."\n" - .' "cubeId": "7c7223ae-***-3c744528014b", // 数据集ID'."\n" - .' "addModel": {'."\n" - .' "userGroups": ['."\n" - .' "0d5fb19b-***-1248fc27ca51", // 添加用户组人群的用户组ID'."\n" - .' "3d2c23d4-***-f6390f325c2d"'."\n" - .' ],'."\n" - .' "users": ['."\n" - .' "4334***358", // 添加用户人群的UserID'."\n" - .' "Huang***3fa822"'."\n" - .' ]'."\n" - .' }'."\n" - .'}', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{"ruleId":"a5bb24da-***-a891683e14da","cubeId":"7c7223ae-***-3c744528014b","addModel":{"userGroups":["0d5fb19b-***-1248fc27ca51","3d2c23d4-***-f6390f325c2d"],"users":["4334***358","Huang***3fa822"]}}', - ], + 'schema' => ['description' => '{'."\n" + .' "ruleId": "a5bb24da-***-a891683e14da", // 行列权限规则ID'."\n" + .' "cubeId": "7c7223ae-***-3c744528014b", // 数据集ID'."\n" + .' "addModel": {'."\n" + .' "userGroups": ['."\n" + .' "0d5fb19b-***-1248fc27ca51", // 添加用户组人群的用户组ID'."\n" + .' "3d2c23d4-***-f6390f325c2d"'."\n" + .' ],'."\n" + .' "users": ['."\n" + .' "4334***358", // 添加用户人群的UserID'."\n" + .' "Huang***3fa822"'."\n" + .' ]'."\n" + .' }'."\n" + .'}', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"ruleId":"a5bb24da-***-a891683e14da","cubeId":"7c7223ae-***-3c744528014b","addModel":{"userGroups":["0d5fb19b-***-1248fc27ca51","3d2c23d4-***-f6390f325c2d"],"users":["4334***358","Huang***3fa822"]}}'], ], ], 'responses' => [ @@ -377,89 +210,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], - [ - 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The usergroup %s does not belong to the current organization.', - 'description' => '', - ], + ['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' => ''], + ['errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', 'errorMessage' => 'The usergroup %s does not belong to the current organization.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddDataLevelPermissionRuleUsersResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</AddDataLevelPermissionRuleUsersResponse>","errorExample":""}]', 'title' => '添加行列权限规则人群', 'description' => '>:当前接口仅支持Quick BI新版行列权限模型。若您仍在使用老的行列权限,请先一键迁移至新的行列权限模型后再调用该接口。一键迁移至新的行列权限模型的操作步骤:在组织管理-->安全配置-->行列权限升级新版中,单击**一键升级**,升级至新版行级权限。', 'changeSet' => [ - [ - 'createdAt' => '2025-03-14T06:35:33.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:57.000Z', - 'description' => 'OpenAPI 下线', - ], - [ - 'createdAt' => '2022-03-04T09:50:57.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:57.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-03-04T09:50:57.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -469,12 +250,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -482,13 +258,8 @@ ], 'AddDataLevelPermissionWhiteList' => [ 'summary' => '修改指定数据集行列权限的白名单。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -496,76 +267,44 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-***-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-***-3c744528014b'], ], [ 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => '行级权限类型:'."\n" - ."\n" - .'- ROW_LEVEL:行级权限,'."\n" - .'- COLUMN_LEVEL:列级权限', - 'type' => 'string', - 'required' => false, - 'example' => 'ROW_LEVEL', - ], + 'schema' => ['description' => '行级权限类型:'."\n" + ."\n" + .'- ROW_LEVEL:行级权限,'."\n" + .'- COLUMN_LEVEL:列级权限', 'type' => 'string', 'required' => false, 'example' => 'ROW_LEVEL'], ], [ 'name' => 'OperateType', 'in' => 'query', - 'schema' => [ - 'description' => '操作类型: '."\n" - ."\n" - .'- ADD:增加白名单'."\n" - .'- DELETE:删除白名单', - 'type' => 'string', - 'required' => false, - 'example' => 'ADD', - ], + 'schema' => ['description' => '操作类型: '."\n" + ."\n" + .'- ADD:增加白名单'."\n" + .'- DELETE:删除白名单', 'type' => 'string', 'required' => false, 'example' => 'ADD'], ], [ 'name' => 'TargetType', 'in' => 'query', - 'schema' => [ - 'description' => '修改白名单对应的类型:'."\n" - ."\n" - .'- 1:用户 '."\n" - .'- 2:用户组', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '修改白名单对应的类型:'."\n" + ."\n" + .'- 1:用户 '."\n" + .'- 2:用户组', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'TargetIds', 'in' => 'query', - 'schema' => [ - 'description' => '授权对象,同时支持多个授权对象,多个对象以英文逗号分隔。取值范围:'."\n" - ."\n" - .'- TargetType=1(用户)时,为用户ID。'."\n" - .'- TargetType=2(用户组)时,为用户组ID。 ', - 'type' => 'string', - 'required' => false, - 'example' => '43342***435,1553a****41231', - ], + 'schema' => ['description' => '授权对象,同时支持多个授权对象,多个对象以英文逗号分隔。取值范围:'."\n" + ."\n" + .'- TargetType=1(用户)时,为用户ID。'."\n" + .'- TargetType=2(用户组)时,为用户组ID。 ', 'type' => 'string', 'required' => false, 'example' => '43342***435,1553a****41231'], ], ], 'responses' => [ @@ -573,63 +312,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddDataLevelPermissionWhiteListResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</AddDataLevelPermissionWhiteListResponse>","errorExample":""}]', @@ -644,12 +347,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -658,12 +356,8 @@ 'AddDataSource' => [ 'summary' => '新增数据源连接信息。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -671,44 +365,32 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'AddModel', 'in' => 'query', - 'schema' => [ - 'description' => '可参考QuickBi数据源界面的新增数据源的逻辑,在点击【连接测试】时会触发restapi/datasource/detect接口,模拟该接口的传参负载,传入相同模型的json,外加一个在在bi中存在的userId和空间ID即可。'."\n" - .'><notice>有小部分数据源不支持,若参数和测试接口的传参负载相同,但依旧添加不成功,则表示当前数据源类型不支持通过该openapi创建></notice>'."\n" - .'><notice>encode字段请不要传参,目前openapi创建数据源不支持加密模式,涉及上传文件类型的认证也不支持></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" - .'}', - ], + 'schema' => ['description' => '可参考QuickBi数据源界面的新增数据源的逻辑,在点击【连接测试】时会触发restapi/datasource/detect接口,模拟该接口的传参负载,传入相同模型的json,外加一个在在bi中存在的userId和空间ID即可。'."\n" + .'><notice>有小部分数据源不支持,若参数和测试接口的传参负载相同,但依旧添加不成功,则表示当前数据源类型不支持通过该openapi创建></notice>'."\n" + .'><notice>encode字段请不要传参,目前openapi创建数据源不支持加密模式,涉及上传文件类型的认证也不支持></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" + .'}'], ], ], 'responses' => [ @@ -718,85 +400,31 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1********DF8D885', - ], - 'Result' => [ - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '472b241b-c651-****-****-ee719d6faf45', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1********DF8D885'], + 'Result' => ['description' => '数据源ID。', 'type' => 'string', 'example' => '472b241b-c651-****-****-ee719d6faf45'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], - [ - 'errorCode' => 'User.NotIn.Workspace', - 'errorMessage' => 'The user is not a member of the group workspace.', - 'description' => '该用户不在群空间中。', - ], - [ - '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' => '名称长度不能超过%s个字符。', - ], - [ - 'errorCode' => 'Database.PortInvalid.Error', - 'errorMessage' => 'The database port is invalid.', - 'description' => '数据库端口无效。', - ], - [ - 'errorCode' => 'Xengnie.TaskExecute.Error', - 'errorMessage' => 'Fail to execute task %s.', - 'description' => '任务执行失败 %s。', - ], - [ - 'errorCode' => 'VpcInstance.Info.Error', - 'errorMessage' => 'Get vpc instance info error.please check vpc config %s.', - 'description' => '获取VPC实例信息错误。请检查VPC配置 %s。', - ], - [ - 'errorCode' => 'VpcInstance.Info.EmptyError', - 'errorMessage' => 'Not found instance. please check vpc config and authorization %s.', - 'description' => '未找到实例。请检查VPC配置和权限 %s。', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'User.NotIn.Workspace', 'errorMessage' => 'The user is not a member of the group workspace.', 'description' => '该用户不在群空间中。'], + ['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' => '名称长度不能超过%s个字符。'], + ['errorCode' => 'Database.PortInvalid.Error', 'errorMessage' => 'The database port is invalid.', 'description' => '数据库端口无效。'], + ['errorCode' => 'Xengnie.TaskExecute.Error', 'errorMessage' => 'Fail to execute task %s.', 'description' => '任务执行失败 %s。'], + ['errorCode' => 'VpcInstance.Info.Error', 'errorMessage' => 'Get vpc instance info error.please check vpc config %s.', 'description' => '获取VPC实例信息错误。请检查VPC配置 %s。'], + ['errorCode' => 'VpcInstance.Info.EmptyError', 'errorMessage' => 'Not found instance. please check vpc config and authorization %s.', 'description' => '未找到实例。请检查VPC配置和权限 %s。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1********DF8D885\\",\\n \\"Result\\": \\"472b241b-c651-****-****-ee719d6faf45\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '新增数据源连接', 'requestParamsDescription' => '**以下是部分数据源添加的请求参数demo:**'."\n" @@ -1087,13 +715,8 @@ ], 'AddShareReport' => [ 'summary' => '添加数据作品的一个分享配置。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1101,70 +724,36 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'description' => '分享作品的ID。这里的作品包括数据门户,仪表板,电子表格,自助取数。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], + 'schema' => ['description' => '分享作品的ID。这里的作品包括数据门户,仪表板,电子表格,自助取数。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '6b407e50-e774-406b-9956-da2425c2****'], ], [ 'name' => 'ShareToId', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '被分享者的ID,可能是Quick BI的用户ID,也可能是用户组ID。'."\n" - ."\n" - .'- ShareToType=0(用户)时,ShareTo为用户ID。'."\n" - .'- ShareToType=1(用户组)时,ShareTo为用户组ID。'."\n" - .'- ShareToType=2(组织)时,ShareTo为组织ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'schema' => ['description' => '被分享者的ID,可能是Quick BI的用户ID,也可能是用户组ID。'."\n" + ."\n" + .'- ShareToType=0(用户)时,ShareTo为用户ID。'."\n" + .'- ShareToType=1(用户组)时,ShareTo为用户组ID。'."\n" + .'- ShareToType=2(组织)时,ShareTo为组织ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], [ 'name' => 'ShareToType', 'in' => 'query', - 'schema' => [ - 'description' => '分享类型。取值范围:'."\n" - ."\n" - .'- 0:用户'."\n" - .'- 1:用户组'."\n" - .'- 2:组织', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2', - 'minimum' => '0', - 'example' => '0', - ], + 'schema' => ['description' => '分享类型。取值范围:'."\n" + ."\n" + .'- 0:用户'."\n" + .'- 1:用户组'."\n" + .'- 2:组织', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2', 'minimum' => '0', 'example' => '0'], ], [ 'name' => 'ExpireDate', 'in' => 'query', - 'schema' => [ - 'description' => '分享的有效期限,格式为毫秒级时间戳 。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1608202110838', - ], + 'schema' => ['description' => '分享的有效期限,格式为毫秒级时间戳 。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1608202110838'], ], [ 'name' => 'AuthPoint', @@ -1181,10 +770,7 @@ 'maximum' => '3', 'minimum' => '1', 'example' => '3', - 'enum' => [ - '1', - '3', - ], + 'enum' => ['1', '3'], ], ], ], @@ -1193,99 +779,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '05739b8e-3de0-4204-9669-7f04f02522b9', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '05739b8e-3de0-4204-9669-7f04f02522b9'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Report.NotExist.Error', - 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', - 'description' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - 'errorCode' => 'Workspace.Not.Exist', - 'errorMessage' => 'The group workspace does not exist.', - 'description' => '群空间不存在。', - ], - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '空间不在组织内。', - ], - [ - 'errorCode' => 'Workspace.Share.Forbidden', - 'errorMessage' => 'Content in the current group workspace cannot be shared.', - 'description' => '当前群空间设置了禁止分享。', - ], - [ - 'errorCode' => 'Workspace.OutsideShare.Forbidden', - 'errorMessage' => 'Content in the current group workspace cannot be shared with another organization.', - 'description' => '当前群空间设置了禁止组织外分享。', - ], - [ - 'errorCode' => 'Usergroup.Not.Exist', - 'errorMessage' => 'The user group does not exist.', - 'description' => '用户组不存在。', - ], - [ - 'errorCode' => 'UserGroup.NotIn.Organization', - 'errorMessage' => 'The user group is not in the current organization.', - 'description' => '用户组不在当前组织内。', - ], - [ - 'errorCode' => 'Share.ExpireDate.Error', - 'errorMessage' => 'The expire date is illegal.', - 'description' => '设置的过期时间不合法。', - ], + ['errorCode' => 'Report.NotExist.Error', 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', 'description' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['errorCode' => 'Workspace.Not.Exist', 'errorMessage' => 'The group workspace does not exist.', 'description' => '群空间不存在。'], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], + ['errorCode' => 'Workspace.Share.Forbidden', 'errorMessage' => 'Content in the current group workspace cannot be shared.', 'description' => '当前群空间设置了禁止分享。'], + ['errorCode' => 'Workspace.OutsideShare.Forbidden', 'errorMessage' => 'Content in the current group workspace cannot be shared with another organization.', 'description' => '当前群空间设置了禁止组织外分享。'], + ['errorCode' => 'Usergroup.Not.Exist', 'errorMessage' => 'The user group does not exist.', 'description' => '用户组不存在。'], + ['errorCode' => 'UserGroup.NotIn.Organization', 'errorMessage' => 'The user group is not in the current organization.', 'description' => '用户组不在当前组织内。'], + ['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' => '添加数据作品分享配置', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-10-24T07:01:04.000Z', - 'description' => '请求参数发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-10-24T07:01:04.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'AddShareReport', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddShareReport'], ], ], 'ramActions' => [ @@ -1296,12 +824,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -1309,13 +832,8 @@ ], 'AddUser' => [ 'summary' => '添加组织成员。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1323,49 +841,29 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'AdminUser', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '是否赋予组织管理员角色。取值范围: '."\n" - ."\n" - .'- true:是 '."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', - 'type' => 'boolean', - 'deprecated' => true, - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否赋予组织管理员角色。取值范围: '."\n" + ."\n" + .'- true:是 '."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'AuthAdminUser', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '是否赋予组织权限管理员角色。取值范围: '."\n" - ."\n" - .'- true:是 '."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', - 'type' => 'boolean', - 'deprecated' => true, - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否赋予组织权限管理员角色。取值范围: '."\n" + ."\n" + .'- true:是 '."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'UserType', @@ -1382,68 +880,49 @@ 'maximum' => '10', 'minimum' => '1', 'example' => '1', - 'enum' => [ - '1', - '2', - '3', - ], + 'enum' => ['1', '2', '3'], ], ], [ 'name' => 'AccountId', 'in' => 'query', - 'schema' => [ - 'description' => '阿里云账号ID。'."\n" - .'><warning>Quick BI于2024年12月31日之后发布的版本,AccountId将作为必填参数,请在此之前,对您的API进行改造。></warning>', - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'docRequired' => false, - 'example' => '191476xxxxx23754', - ], + 'schema' => ['description' => '阿里云账号ID。'."\n" + .'><warning>Quick BI于2024年12月31日之后发布的版本,AccountId将作为必填参数,请在此之前,对您的API进行改造。></warning>', 'type' => 'string', 'deprecated' => false, 'required' => false, 'docRequired' => false, 'example' => '191476xxxxx23754'], ], [ 'name' => 'AccountName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '阿里云账号名称。'."\n" - ."\n" - .'- 说明:如果是子账号,格式为『主账号:子账号』。例如:master_test@aliyun.com:subaccount'."\n" - .'- 格式检查:最大长度50个字符。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'docRequired' => false, - 'example' => 'xxxxxx@163.com', - ], + 'schema' => ['description' => '阿里云账号名称。'."\n" + ."\n" + .'- 说明:如果是子账号,格式为『主账号:子账号』。例如:master_test@aliyun.com:subaccount'."\n" + .'- 格式检查:最大长度50个字符。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => 'xxxxxx@163.com'], ], [ 'name' => 'NickName', 'in' => 'query', - 'schema' => [ - 'description' => '阿里云账号昵称。'."\n" - ."\n" - .'- 格式检查:最大长度50个字符。'."\n" - .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '张三', - ], + 'schema' => ['description' => '阿里云账号昵称。'."\n" + ."\n" + .'- 格式检查:最大长度50个字符。'."\n" + .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '张三'], ], [ 'name' => 'RoleIds', 'in' => 'formData', - 'schema' => [ - 'description' => '用户绑定的预置或自定义组织角色ID,用英文逗号“,”分割,最多3个。取值范围:'."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113', - 'type' => 'string', - 'required' => false, - 'example' => '111111111,456', - ], + 'schema' => ['description' => '用户绑定的预置或自定义组织角色ID,用英文逗号“,”分割,最多3个。取值范围:'."\n" + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113', 'type' => 'string', 'required' => false, 'example' => '111111111,456'], + ], + [ + 'name' => 'CopilotModules', + 'in' => 'query', + 'schema' => ['title' => '所拥有配额的智能化模块。', 'description' => '用户的智能化模块配额,当开通多个模块时,以英文逗号分隔。'."\n" + ."\n" + .'- qreport --小Q报告'."\n" + .'- qExploreNum -- 小Q探索版'."\n" + .'- smartQAskNum -- 小Q问数'."\n" + .'- smartQDevNum -- 小Q搭建', 'type' => 'string', 'required' => false, 'example' => 'qreport,qExploreNum'], ], ], 'responses' => [ @@ -1451,225 +930,96 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ + 'title' => '用户信息', 'description' => '返回新增阿里云用户的详细信息。', 'type' => 'object', 'properties' => [ - 'AccountName' => [ - 'description' => '阿里云账户。', - 'type' => 'string', - 'example' => 'xxxxxx@163.com', - ], - 'AdminUser' => [ - 'description' => '是否绑定了组织管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,当传入RoleIdList时该参数无效</notice>', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AuthAdminUser' => [ - 'description' => '是否绑定了权限管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,当传入RoleIdList时该参数无效</notice>', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NickName' => [ - 'description' => '阿里云账号昵称。', - 'type' => 'string', - 'example' => '张三', - ], + 'AccountName' => ['title' => '账号名称', 'description' => '阿里云账户。', 'type' => 'string', 'example' => 'xxxxxx@163.com'], + 'AdminUser' => ['title' => '是否组织管理员', 'description' => '是否绑定了组织管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,当传入RoleIdList时该参数无效</notice>', 'type' => 'boolean', 'example' => 'true'], + 'AuthAdminUser' => ['title' => '是否权限管理员', 'description' => '是否绑定了权限管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,当传入RoleIdList时该参数无效</notice>', 'type' => 'boolean', 'example' => 'true'], + 'NickName' => ['title' => '昵称', 'description' => '阿里云账号昵称。', 'type' => 'string', 'example' => '张三'], 'RoleIdList' => [ + 'title' => '角色信息', 'description' => '用户绑定的组织角色ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '组织角色ID,最多3个,包括但不限于组织预置角色:'."\n" - ."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '111111111', - ], - ], - 'UserId' => [ - 'description' => 'Quick BI中的UserID。', - 'type' => 'string', - 'example' => 'b5d8fd9348cc4327****afb604', + 'items' => ['title' => '角色id', 'description' => '组织角色ID,最多3个,包括但不限于组织预置角色:'."\n" + ."\n" + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111'], ], - 'UserType' => [ - 'description' => '组织成员的用户类型。取值范围:'."\n" - .'- 1 :开发者'."\n" - .'- 2 :访问者'."\n" - .'- 3 :分析师', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'CopilotModules' => [ + 'title' => '所拥有配额的智能化模块', + 'description' => '所拥有配额的智能化模块。', + 'type' => 'array', + 'items' => ['title' => '所拥有配额的智能化模块', 'description' => '所拥有配额的智能化模块。', 'type' => 'string', 'example' => 'qreport'], ], + 'UserId' => ['title' => '用户ID', 'description' => 'Quick BI中的UserID。', 'type' => 'string', 'example' => 'b5d8fd9348cc4327****afb604'], + 'UserType' => ['title' => '用户类型', 'description' => '组织成员的用户类型。取值范围:'."\n" + .'- 1 :开发者'."\n" + .'- 2 :访问者'."\n" + .'- 3 :分析师', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['title' => '是否成功', 'description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Organization.Developers.ReachedTheUpperLimit', - 'errorMessage' => 'The developers of the organization have reached the upper limit:%s', - 'description' => '组织开发者已达到上限 %s 人,请升级联系组织管理员升级开发者数量。'."\n", - ], - [ - 'errorCode' => 'Organization.Viewers.ReachedTheUpperLimit', - 'errorMessage' => 'The visitors of the organization have reached the upper limit:%s.', - 'description' => '组织访问者已达到上限%s人,请升级联系组织管理员升级访问者数量。', - ], - [ - 'errorCode' => 'Organization.Analysts.ReachedTheUpperLimit', - 'errorMessage' => 'The analysts of the organization have reached the upper limit:%s.', - 'description' => '组织分析师已达到上限%s人,请升级联系组织管理员升级分析师数量。', - ], - [ - 'errorCode' => 'NickName.AlreadyIn.Organization', - 'errorMessage' => 'The alias already exists.', - 'description' => '昵称已存在。', - ], - [ - 'errorCode' => 'User.AlreadyIn.Organization', - 'errorMessage' => 'This user is already a member of the current organization.', - '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' => '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' => '群空间不存在。', - ], - [ - 'errorCode' => 'Workspace.Type.Error', - 'errorMessage' => 'The type of group workspace is invalid.', - 'description' => '无效的群空间类型。', - ], - [ - 'errorCode' => 'Viewer.AddInTo.Workspace', - 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', - 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。', - ], - [ - 'errorCode' => 'User.AlreadyIn.Workspace', - 'errorMessage' => 'This user already exists.', - 'description' => '该用户已在群空间中。', - ], - [ - 'errorCode' => 'User.AlreadyIn.Role', - 'errorMessage' => 'The user is already assigned this role.', - 'description' => '用户已经拥有该角色。', - ], - [ - 'errorCode' => 'User.OrganizationRole.NotExist', - 'errorMessage' => 'User %s must have role in organization.', - 'description' => '用户 %s 在组织中必须有一个角色。', - ], - [ - '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' => 'RoleCount.ExceedsLimit.Error', - 'errorMessage' => 'The user role cannot exceed three.', - 'description' => '用户角色不能超过三个。', - ], - [ - 'errorCode' => 'BindRole.NotExist.Error', - 'errorMessage' => 'Bind role not exist, %s.', - 'description' => '绑定的角色不存在,%s。', - ], - [ - 'errorCode' => 'DirtyData.Duplicate.User', - 'errorMessage' => 'Dirty data,duplicate user: %s.', - 'description' => '脏数据,重复的用户:%s。', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"AccountName\\": \\"xxxxxx@163.com\\",\\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>xxxxxx@163.com</AccountName>\\n </Result>\\n</AddUserResponse>","errorExample":""}]', + ['errorCode' => 'Organization.Developers.ReachedTheUpperLimit', 'errorMessage' => 'The developers of the organization have reached the upper limit:%s', 'description' => '组织开发者已达到上限 %s 人,请升级联系组织管理员升级开发者数量。'."\n"], + ['errorCode' => 'Organization.Viewers.ReachedTheUpperLimit', 'errorMessage' => 'The visitors of the organization have reached the upper limit:%s.', 'description' => '组织访问者已达到上限%s人,请升级联系组织管理员升级访问者数量。'], + ['errorCode' => 'Organization.Analysts.ReachedTheUpperLimit', 'errorMessage' => 'The analysts of the organization have reached the upper limit:%s.', 'description' => '组织分析师已达到上限%s人,请升级联系组织管理员升级分析师数量。'], + ['errorCode' => 'NickName.AlreadyIn.Organization', 'errorMessage' => 'The alias already exists.', 'description' => '昵称已存在。'], + ['errorCode' => 'User.AlreadyIn.Organization', 'errorMessage' => 'This user is already a member of the current organization.', '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' => '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' => '群空间不存在。'], + ['errorCode' => 'Workspace.Type.Error', 'errorMessage' => 'The type of group workspace is invalid.', 'description' => '无效的群空间类型。'], + ['errorCode' => 'Viewer.AddInTo.Workspace', 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。'], + ['errorCode' => 'User.AlreadyIn.Workspace', 'errorMessage' => 'This user already exists.', 'description' => '该用户已在群空间中。'], + ['errorCode' => 'User.AlreadyIn.Role', 'errorMessage' => 'The user is already assigned this role.', 'description' => '用户已经拥有该角色。'], + ['errorCode' => 'User.OrganizationRole.NotExist', 'errorMessage' => 'User %s must have role in organization.', 'description' => '用户 %s 在组织中必须有一个角色。'], + ['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' => 'RoleCount.ExceedsLimit.Error', 'errorMessage' => 'The user role cannot exceed three.', 'description' => '用户角色不能超过三个。'], + ['errorCode' => 'BindRole.NotExist.Error', 'errorMessage' => 'Bind role not exist, %s.', 'description' => '绑定的角色不存在,%s。'], + ['errorCode' => 'DirtyData.Duplicate.User', 'errorMessage' => 'Dirty data,duplicate user: %s.', 'description' => '脏数据,重复的用户:%s。'], + ['errorCode' => 'Robot.Module.Exhausted', 'errorMessage' => 'The Quota of %s module has been exhausted.', 'description' => '%s模块的配额已耗尽。'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"AccountName\\": \\"xxxxxx@163.com\\",\\n \\"AdminUser\\": true,\\n \\"AuthAdminUser\\": true,\\n \\"NickName\\": \\"张三\\",\\n \\"RoleIdList\\": [\\n 111111111\\n ],\\n \\"CopilotModules\\": [\\n \\"qreport\\"\\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>xxxxxx@163.com</AccountName>\\n </Result>\\n</AddUserResponse>","errorExample":""}]', 'title' => '添加组织成员', 'changeSet' => [ - [ - 'createdAt' => '2025-03-18T08:50:40.000Z', - 'description' => '请求参数发生变更', - ], - [ - 'createdAt' => '2025-03-14T06:35:33.000Z', - 'description' => '请求参数发生变更', - ], - [ - 'createdAt' => '2024-11-27T06:07:36.000Z', - 'description' => '请求参数发生变更', - ], - [ - 'createdAt' => '2024-11-26T11:47:12.000Z', - 'description' => '错误码发生变更、请求参数发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-02-26T09:29:01.000Z', - 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', - ], - [ - 'createdAt' => '2023-08-07T06:37:07.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-03-18T08:50:40.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-27T06:07:36.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-26T11:47:12.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-02-26T09:29:01.000Z', 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'AddUser', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddUser'], ], ], 'ramActions' => [ @@ -1680,12 +1030,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -1693,13 +1038,8 @@ ], 'AddUserGroupMember' => [ 'summary' => '将组织成员添加到指定的用户组。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1707,35 +1047,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '555c4cd****', - ], + 'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '555c4cd****'], ], [ 'name' => 'UserIdList', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI的用户ID,可输入多个,以英文逗号(,)分隔,例如:abc,efg。最多可输入1000条。'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '46e537a5****,3dadsu****', - ], + 'schema' => ['description' => 'Quick BI的用户ID,可输入多个,以英文逗号(,)分隔,例如:abc,efg。最多可输入1000条。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '46e537a5****,3dadsu****'], ], ], 'responses' => [ @@ -1743,81 +1065,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => 'B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3', - ], - 'Result' => [ - 'description' => '返回添加用户组成员的结果。取值范围:'."\n" - ."\n" - .'- true:添加成功'."\n" - ."\n" - .'- false:添加失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - ."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3'], + 'Result' => ['description' => '返回添加用户组成员的结果。取值范围:'."\n" + ."\n" + .'- true:添加成功'."\n" + ."\n" + .'- false:添加失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + ."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.User', - 'errorMessage' => 'The user does not exist and cannot be added to a user group.', - 'description' => '用户不存在,无法将其添加到用户组。', - ], - [ - 'errorCode' => 'Usergroup.Not.Exist', - 'errorMessage' => 'The user group does not exist.', - 'description' => '用户组不存在。', - ], - [ - 'errorCode' => 'Parameter.Length.Exceed', - 'errorMessage' => 'Parameter length exceeds maximum limit: [%s].', - 'description' => '参数长度超过限制:%s。', - ], - [ - 'errorCode' => 'UserGroup.Already.Synchronized', - 'errorMessage' => 'Organization has synchronized with other organizational structures, so you are not allowed to add users under group.', - 'description' => '该组织已经同步过其他组织架构,因此无法在根用户组下新增用户。', - ], + ['errorCode' => 'Invalid.User', 'errorMessage' => 'The user does not exist and cannot be added to a user group.', 'description' => '用户不存在,无法将其添加到用户组。'], + ['errorCode' => 'Usergroup.Not.Exist', 'errorMessage' => 'The user group does not exist.', 'description' => '用户组不存在。'], + ['errorCode' => 'Parameter.Length.Exceed', 'errorMessage' => 'Parameter length exceeds maximum limit: [%s].', 'description' => '参数长度超过限制:%s。'], + ['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' => '添加成员到用户组', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-09-18T02:06:59.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-09-18T02:06:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'AddUserGroupMember', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddUserGroupMember'], ], ], 'ramActions' => [ @@ -1828,12 +1108,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -1841,13 +1116,8 @@ ], 'AddUserGroupMembers' => [ 'summary' => '将用户批量添加到指定的用户组中。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1855,35 +1125,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => ' Quick BI的用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '46e5****37a5', - ], + 'schema' => ['description' => ' Quick BI的用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '46e5****37a5'], ], [ 'name' => 'UserGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID,以英文逗号分隔。示例:aGroupId,bGroupId,cGroupIds', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0d5fb19b-****-****-99da-1248fc27ca51', - ], + 'schema' => ['description' => '用户组ID,以英文逗号分隔。示例:aGroupId,bGroupId,cGroupIds', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0d5fb19b-****-****-99da-1248fc27ca51'], ], ], 'responses' => [ @@ -1893,82 +1145,37 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'title' => '接口执行结果。取值范围:true:请求成功false:请求失败', - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'title' => '是否请求成功。取值范围:true:请求成功false:请求失败', - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['title' => '接口执行结果。取值范围:true:请求成功false:请求失败', 'description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['title' => '是否请求成功。取值范围:true:请求成功false:请求失败', 'description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.User', - 'errorMessage' => 'The user does not exist and cannot be added to a user group.', - 'description' => '用户不存在,无法将其添加到用户组。', - ], - [ - 'errorCode' => 'Usergroup.Not.Exist', - 'errorMessage' => 'The user group does not exist.', - 'description' => '用户组不存在。', - ], - [ - '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' => '该组织已经同步过其他组织架构,因此无法在根用户组下新增用户。', - ], + ['errorCode' => 'Invalid.User', 'errorMessage' => 'The user does not exist and cannot be added to a user group.', 'description' => '用户不存在,无法将其添加到用户组。'], + ['errorCode' => 'Usergroup.Not.Exist', 'errorMessage' => 'The user group does not exist.', 'description' => '用户组不存在。'], + ['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' => '批量添加成员到用户组', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-09-18T02:06:59.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-09-18T02:06:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'AddUserGroupMembers', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddUserGroupMembers'], ], ], 'ramActions' => [ @@ -1979,12 +1186,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -1992,13 +1194,8 @@ ], 'AddUserTagMeta' => [ 'summary' => '新增组织成员标签元信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2006,36 +1203,19 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'TagName', 'in' => 'query', - 'schema' => [ - 'description' => '标签名称。格式检查:'."\n" - .'- 最大长度50个字符。'."\n" - .'- 只允许输入中英文数字和/\\|[]()符号。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '职位', - ], + 'schema' => ['description' => '标签名称。格式检查:'."\n" + .'- 最大长度50个字符。'."\n" + .'- 只允许输入中英文数字和/\\|[]()符号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '职位'], ], [ 'name' => 'TagDescription', 'in' => 'query', - 'schema' => [ - 'description' => '标签描述。格式检查:最大长度255个字符。', - 'type' => 'string', - 'required' => false, - 'example' => '部门内的职位', - ], + 'schema' => ['description' => '标签描述。格式检查:最大长度255个字符。', 'type' => 'string', 'required' => false, 'example' => '部门内的职位'], ], ], 'responses' => [ @@ -2043,88 +1223,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '返回添加成功的标签ID。', - 'type' => 'string', - 'example' => '0822a7d9-****-****-****-f20163ab9b0d', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '返回添加成功的标签ID。', 'type' => 'string', 'example' => '0822a7d9-****-****-****-f20163ab9b0d'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - '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' => '名称长度不能超过%s个字符。', - ], - [ - 'errorCode' => 'UserTag.Exceed.Limit', - 'errorMessage' => 'The number of user tags cannot exceed %s, you have reached the upper limit.', - 'description' => '用户标签数量不能超过%s个,您已达到上限。', - ], + ['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' => '名称长度不能超过%s个字符。'], + ['errorCode' => 'UserTag.Exceed.Limit', 'errorMessage' => 'The number of user tags cannot exceed %s, you have reached the upper limit.', 'description' => '用户标签数量不能超过%s个,您已达到上限。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], '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":""}]', 'title' => '新增组织成员标签元信息', 'changeSet' => [ - [ - 'createdAt' => '2025-05-28T03:27:58.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2025-03-14T06:35:33.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-05-28T03:27:58.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'AddUserTagMeta', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddUserTagMeta'], ], ], 'ramActions' => [ @@ -2135,12 +1264,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -2148,67 +1272,37 @@ ], 'AddUserToWorkspace' => [ 'summary' => '添加成员到指定工作空间。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '被添加的Quick BI用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'schema' => ['description' => '被添加的Quick BI用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], [ 'name' => 'RoleId', 'in' => 'query', - 'schema' => [ - 'description' => '空间角色ID。预置角色:'."\n" - .'- 25:空间管理员'."\n" - .'- 26:空间开发者'."\n" - .'- 27:空间分析师'."\n" - .'- 30:空间查看者'."\n" - ."\n" - .'> since 6.0.3支持自定义角色ID'."\n" - .'>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '25', - ], + 'schema' => ['description' => '空间角色ID。预置角色:'."\n" + .'- 25:空间管理员'."\n" + .'- 26:空间开发者'."\n" + .'- 27:空间分析师'."\n" + .'- 30:空间查看者'."\n" + ."\n" + .'> since 6.0.3支持自定义角色ID'."\n" + .'>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '25'], ], ], 'responses' => [ @@ -2216,27 +1310,15 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -2244,87 +1326,29 @@ ], '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' => '无效的角色ID。', - ], - [ - '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' => 'Viewer.AddInTo.Workspace', - 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', - 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。', - ], - [ - 'errorCode' => 'User.AlreadyIn.Workspace', - 'errorMessage' => 'This user already exists.', - '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' => '绑定的角色不存在,%s。', - ], + ['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' => '无效的角色ID。'], + ['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' => 'Viewer.AddInTo.Workspace', 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。'], + ['errorCode' => 'User.AlreadyIn.Workspace', 'errorMessage' => 'This user already exists.', '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' => '绑定的角色不存在,%s。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddUserToWorkspaceResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</AddUserToWorkspaceResponse>","errorExample":""}]', 'title' => '添加成员到工作空间', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-08-07T06:37:07.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'AddUserToWorkspace', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddUserToWorkspace'], ], ], 'ramActions' => [ @@ -2335,63 +1359,157 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], - 'AddWorkspaceUsers' => [ - 'summary' => '批量添加成员到工作空间。', - 'methods' => [ - 'post', + 'AddWorksAuthorization' => [ + 'summary' => '新增作品的协同授权记录。', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['title' => '作品类型', 'description' => '作品类型。'."\n" + ."\n" + .'- dashboard -- 仪表板'."\n" + .'- report -- 电子表格'."\n" + .'- dashboardOfflineQuery -- 自助取数'."\n" + .'- cube -- 数据集'."\n" + .'- datasource -- 数据源'."\n" + .'- screen -- 数据大屏'."\n" + .'- ANALYSIS -- 即席分析'."\n" + .'- dataForm -- 数据填报', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'dashboard'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['title' => '作品ID', 'description' => '作品ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'al*************7ufv'], + ], + [ + 'name' => 'AuthorizedId', + 'in' => 'query', + 'schema' => ['title' => '被授权的对象ID,详见AuthorizeScope说明', 'description' => '被授权的对象ID,详见AuthorizeScope说明', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ASDAS-WDAS****ASDA'], + ], + [ + 'name' => 'AuthorizeScope', + 'in' => 'query', + 'schema' => ['title' => '授权模式:'."\n" + ."\n" + .'0:用户'."\n" + ."\n" + .'1:用户组'."\n" + ."\n" + .'2:全部组织成员'."\n" + ."\n" + .'3:全部空间成员', 'description' => '授权模式:'."\n" + ."\n" + .'- 0:用户(AuthorizeId对应Quick BI的UserId)'."\n" + .'- 1:用户组(AuthorizeId对应Quick BI的用户组ID)'."\n" + .'- 2:全部组织成员(AuthorizeId对应Quick BI的组织ID)'."\n" + .'- 3:全部空间成员(AuthorizeId对应Quick BI的空间ID)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => false, 'example' => '0'], + ], + [ + 'name' => 'ExpireDay', + 'in' => 'query', + 'schema' => ['title' => '授权的过期时间。'."\n" + ."\n" + .'格式:2022-02-16'."\n" + ."\n" + .'注意:至少授权N+1天,且authPoints不等于11时必填', 'description' => '授权的过期时间。'."\n" + ."\n" + .'格式:2022-02-16'."\n" + ."\n" + .'注意:至少授权N+1天,且authPoints不等于11时必填', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2099-12-31'], + ], + [ + 'name' => 'AuthPoints', + 'in' => 'query', + 'schema' => ['title' => ' '."\n" + .'授予的权限类型:'."\n" + ."\n" + .'1: 查看'."\n" + ."\n" + .'3:查看+导出'."\n" + ."\n" + .'11:编辑+查看+导出'."\n" + ."\n" + .'注意,授予11编辑权限时,没有过期时间。', 'description' => ' '."\n" + .'授予的权限类型:'."\n" + ."\n" + .'1: 查看'."\n" + ."\n" + .'3:查看+导出'."\n" + ."\n" + .'11:编辑+查看+导出'."\n" + ."\n" + .'注意,授予11编辑权限时,没有过期时间。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '78C1AA***************C462E57A95'], + 'Result' => ['title' => '授权ID。', 'description' => '授权ID。', 'type' => 'string', 'example' => 'asdasf8****sda'], + 'Success' => ['title' => '请求是否成功', 'description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'Work.Not.Exist', 'errorMessage' => 'The work does not exist.', 'description' => '作品不存在。'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '新增作品的协同授权记录', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"78C1AA***************C462E57A95\\",\\n \\"Result\\": \\"asdasf8****sda\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AddWorkspaceUsers' => [ + 'summary' => '批量添加成员到工作空间。', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。'."\n" - ."\n" - .'- 支持批量传参,用户ID之间用半角逗号(,)隔开。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'schema' => ['description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。'."\n" + ."\n" + .'- 支持批量传参,用户ID之间用半角逗号(,)隔开。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], [ 'name' => 'RoleId', @@ -2409,12 +1527,7 @@ 'maximum' => '30', 'minimum' => '25', 'example' => '25', - 'enum' => [ - '25', - '26', - '27', - '30', - ], + 'enum' => ['25', '26', '27', '30'], ], ], ], @@ -2423,45 +1536,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功,存在添加部分成员成功,部分失败的情况,添加失败的原因参考返回结果中的FailureDetail'."\n" - .'- false:请求失败,不会持久化任何数据', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功,存在添加部分成员成功,部分失败的情况,添加失败的原因参考返回结果中的FailureDetail'."\n" + .'- false:请求失败,不会持久化任何数据', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976'], 'Result' => [ 'description' => '返回接口执行结果。', 'type' => 'object', 'properties' => [ - 'Failure' => [ - 'description' => '添加失败的用户数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'FailureDetail' => [ - 'description' => '添加失败的原因。', - 'type' => 'object', - 'example' => '{"2046274934845893" : "AE0150010001: This user already exists.", "1213444447906552" : "AE0150010001: This user already exists."}', - ], - 'Success' => [ - 'description' => '添加成功的用户数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Total' => [ - 'description' => '添加用户的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'Failure' => ['description' => '添加失败的用户数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'FailureDetail' => ['description' => '添加失败的原因。', 'type' => 'object', 'example' => '{"2046274934845893" : "AE0150010001: This user already exists.", "1213444447906552" : "AE0150010001: This user already exists."}'], + 'Success' => ['description' => '添加成功的用户数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Total' => ['description' => '添加用户的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], ], ], ], @@ -2470,72 +1556,24 @@ ], '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' => '', - ], + ['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' => '批量添加成员到工作空间', 'changeSet' => [ - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-08-07T06:37:07.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -2545,12 +1583,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -2558,13 +1591,8 @@ ], 'AllotDatasetAccelerationTask' => [ 'summary' => '触发数据集Quick引擎的采集加速。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2572,25 +1600,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'title' => '数据集ID。', - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['title' => '数据集ID。', 'description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], ], 'responses' => [ @@ -2598,72 +1613,32 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'title' => '是否执行成功。', - 'description' => '返回结果:'."\n" - .'- true:任务触发成功'."\n" - .'- false:任务触发失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['title' => '是否执行成功。', 'description' => '返回结果:'."\n" + .'- true:任务触发成功'."\n" + .'- false:任务触发失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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' => '触发数据集抽取加速', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-02-26T09:29:01.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-02-26T09:29:01.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -2673,12 +1648,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -2686,90 +1656,49 @@ ], 'AuthorizeMenu' => [ 'summary' => '数据门户菜单的批量授权,已经授权的会自动略过。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DataPortalId', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0d173abb53e84c8ca7495429163b****', - ], + 'schema' => ['description' => '数据门户的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0d173abb53e84c8ca7495429163b****'], ], [ 'name' => 'MenuIds', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的叶子节点菜单ID。'."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为100', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '54kqgoa****,pg1n135****', - ], + 'schema' => ['description' => '数据门户的叶子节点菜单ID。'."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为100', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '54kqgoa****,pg1n135****'], ], [ 'name' => 'UserGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID列表。'."\n" - ."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200'."\n" - .'- UserGroupIds和UserIds不能同时为空', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****', - ], + 'schema' => ['description' => '用户组ID列表。'."\n" + ."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200'."\n" + .'- UserGroupIds和UserIds不能同时为空', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****'], ], [ 'name' => 'UserIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID列表。此处为Quick BI的UserID,而非阿里云的UID。'."\n" - ."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '204627493484****,121344444790****', - ], + 'schema' => ['description' => '用户ID列表。此处为Quick BI的UserID,而非阿里云的UID。'."\n" + ."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '204627493484****,121344444790****'], ], [ 'name' => 'AuthPointsValue', 'in' => 'query', - 'schema' => [ - 'description' => '授权菜单的权限。取值范围:'."\n" - ."\n" - .'- 1:查看'."\n" - .'- 3:查看+导出(默认)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => '授权菜单的权限。取值范围:'."\n" + ."\n" + .'- 1:查看'."\n" + .'- 3:查看+导出(默认)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], ], ], 'responses' => [ @@ -2777,66 +1706,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '188F0B12-00EF-41B3-944A-FB7EF06C9F43', - ], - 'Result' => [ - 'description' => '授权成功的菜单数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '188F0B12-00EF-41B3-944A-FB7EF06C9F43'], + 'Result' => ['description' => '授权成功的菜单数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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":""}]', @@ -2850,12 +1738,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -2863,13 +1746,8 @@ ], 'BatchAddFeishuUsers' => [ 'summary' => '批量添加飞书用户。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2877,81 +1755,44 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'IsAuthAdmin', 'in' => 'query', - 'schema' => [ - 'description' => '是否是权限管理员'."\n" - ."\n" - .'- true'."\n" - .'- false'."\n" - ."\n" - .'不填写默认为false', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否是权限管理员'."\n" + ."\n" + .'- true'."\n" + .'- false'."\n" + ."\n" + .'不填写默认为false', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'IsAdmin', 'in' => 'query', - 'schema' => [ - 'description' => '是否为admin用户:'."\n" - .'- true'."\n" - .'- false'."\n" - ."\n" - .'不填写默认为false', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'False', - ], + 'schema' => ['description' => '是否为admin用户:'."\n" + .'- true'."\n" + .'- false'."\n" + ."\n" + .'不填写默认为false', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'False'], ], [ 'name' => 'FeishuUsers', 'in' => 'query', - 'schema' => [ - 'description' => '要添加的用户信息', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '{"ad****fd": "张三", "82****5a": "李四"}"', - ], + 'schema' => ['description' => '要添加的用户信息', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '{"ad****fd": "test", "82****5a": "t\'t"}"'], ], [ 'name' => 'UserGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => '所属用户组', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '"0d5fb19b-5555-41f0-99da-1248fc27ca51,0f868dd6_68dd_4d13_8422_c5dca3bd4b61"', - ], + 'schema' => ['description' => '所属用户组', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '"0d5fb19b-5555-41f0-99da-1248fc27ca51,0f868dd6_68dd_4d13_8422_c5dca3bd4b61"'], ], [ 'name' => 'UserType', 'in' => 'query', - 'schema' => [ - 'description' => '用户类型'."\n" - .'- 开发者类型:1'."\n" - .'- 访问者类型:2'."\n" - .'- 分析师:3 ', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '用户类型'."\n" + .'- 开发者类型:1'."\n" + .'- 访问者类型:2'."\n" + .'- 分析师:3 ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], ], 'responses' => [ @@ -2959,11 +1800,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], 'Result' => [ 'description' => '返回添加用户组成员的结果。取值范围:'."\n" ."\n" @@ -2972,12 +1809,7 @@ .'- false:添加失败', 'type' => 'object', 'properties' => [ - 'FailCount' => [ - 'description' => '失败校验的个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'FailCount' => ['description' => '失败校验的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'FailResults' => [ 'description' => '失败的具体详情。', 'type' => 'array', @@ -2990,113 +1822,59 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => 'ACCOUNT_EXIST', - ], - 'CodeDesc' => [ - 'description' => '错误码描述。', - 'type' => 'string', - 'example' => '账号已存在', - ], - 'Input' => [ - 'description' => '错误的输入值。', - 'type' => 'string', - 'example' => '20', - ], + 'Code' => ['description' => '错误码。', 'type' => 'string', 'example' => 'ACCOUNT_EXIST'], + 'CodeDesc' => ['description' => '错误码描述。', 'type' => 'string', 'example' => 'test'], + 'Input' => ['description' => '错误的输入值。', 'type' => 'string', 'example' => '20'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], - 'OkCount' => [ - 'description' => '成功计数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'OkCount' => ['description' => '成功计数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], 'example' => 'True', ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'True', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'True'], ], + 'description' => '', ], ], ], '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' => '', - ], - ], + ['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' => '飞书参数错误:%s。'], + ['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' => '用户 %s 在组织中必须有一个角色。'], + ['errorCode' => 'FeishuUser.UserGroup.AssociationError', 'errorMessage' => 'Feishu User can only be added into feishu or Bi user group.', 'description' => '飞书用户只能被添加到飞书或BI用户组中。'], + ], + ], + '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\\": \\"test\\",\\n \\"Input\\": \\"20\\"\\n }\\n ]\\n }\\n ],\\n \\"OkCount\\": 1\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '批量添加飞书用户', + 'changeSet' => [ + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-10-24T07:01:04.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-09-08T13:25:03.000Z', 'description' => 'OpenAPI 下线'], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchAddFeishuUsers'], + ], ], - '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' => '批量添加飞书用户', - 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', @@ -3105,12 +1883,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3118,77 +1891,42 @@ ], 'CancelAuthorizationMenu' => [ 'summary' => '根据门户菜单ID,取消指定用户、用户组的授权记录。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DataPortalId', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0d173abb53e84c8ca7495429163b****', - ], + 'schema' => ['description' => '数据门户的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0d173abb53e84c8ca7495429163b****'], ], [ 'name' => 'MenuIds', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的叶子节点菜单ID。'."\n" - ."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为100', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '54kqgoa****,pg1n135****', - ], + 'schema' => ['description' => '数据门户的叶子节点菜单ID。'."\n" + ."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为100', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '54kqgoa****,pg1n135****'], ], [ 'name' => 'UserGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID列表。'."\n" - ."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200'."\n" - .'- UserGroupIds和UserIds不能同时为空', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****', - ], + 'schema' => ['description' => '用户组ID列表。'."\n" + ."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200'."\n" + .'- UserGroupIds和UserIds不能同时为空', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****'], ], [ 'name' => 'UserIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID列表。此处为Quick BI的UserID,而非阿里云的UID。'."\n" - ."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '204627493484****,121344444790****', - ], + 'schema' => ['description' => '用户ID列表。此处为Quick BI的UserID,而非阿里云的UID。'."\n" + ."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为200', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '204627493484****,121344444790****'], ], ], 'responses' => [ @@ -3196,88 +1934,36 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '取消授权成功的菜单数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '取消授权成功的菜单数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Report.NotExist.Error', - 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', - 'description' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - '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' => '文件夹类型菜单无法进行授权操作,menuId为%s。', - ], - [ - 'errorCode' => 'Menu.NotBelongTo.CurrentDataportal', - 'errorMessage' => 'Menu %s does not belong to the current data portal %s.', - 'description' => '菜单%s不属于当前数据门户%s。', - ], - [ - 'errorCode' => 'User.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The user %s does not belong to the current organization.', - 'description' => '用户%s不属于当前组织。', - ], - [ - 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The usergroup %s does not belong to the current organization.', - 'description' => '用户组%s不属于当前组织。', - ], + ['errorCode' => 'Report.NotExist.Error', 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', 'description' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['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' => '文件夹类型菜单无法进行授权操作,menuId为%s。'], + ['errorCode' => 'Menu.NotBelongTo.CurrentDataportal', 'errorMessage' => 'Menu %s does not belong to the current data portal %s.', 'description' => '菜单%s不属于当前数据门户%s。'], + ['errorCode' => 'User.NotBelongTo.CurrentOrganization', 'errorMessage' => 'The user %s does not belong to the current organization.', 'description' => '用户%s不属于当前组织。'], + ['errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', 'errorMessage' => 'The usergroup %s does not belong to the current organization.', 'description' => '用户组%s不属于当前组织。'], ], ], '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' => '批量取消数据门户菜单授权', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CancelAuthorizationMenu', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelAuthorizationMenu'], ], ], 'ramActions' => [ @@ -3288,12 +1974,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3301,48 +1982,25 @@ ], 'CancelCollection' => [ 'summary' => '取消用户收藏的数据作品。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'description' => '取消收藏的作品ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '5d6ae4e7-cede-43cd-b4d3-d2fd442a9202', - ], + 'schema' => ['description' => '取消收藏的作品ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '5d6ae4e7-cede-43cd-b4d3-d2fd442a9202'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '收藏用户的ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '121344444790****', - ], + 'schema' => ['description' => '收藏用户的ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '121344444790****'], ], ], 'responses' => [ @@ -3350,61 +2008,31 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7c7223ae-****-3c744528014b', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7c7223ae-****-3c744528014b'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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' => '取消作品收藏', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -3414,12 +2042,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3427,13 +2050,8 @@ ], 'CancelReportShare' => [ 'summary' => '删除数据作品的一个分享授权。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3441,55 +2059,30 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => '作品的ID。这里的作品包括数据门户,仪表板,电子表格,自助取数。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], + 'schema' => ['description' => '作品的ID。这里的作品包括数据门户,仪表板,电子表格,自助取数。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '6b407e50-e774-406b-9956-da2425c2****'], ], [ 'name' => 'ShareToIds', 'in' => 'query', - 'schema' => [ - 'description' => '被分享者的ID,可能是Quick BI的用户ID,也可能是用户组ID。'."\n" - ."\n" - .'- ShareToType=0(用户)时,ShareTo为用户ID。'."\n" - .'- ShareToType=1(用户组)时,ShareTo为用户组ID。'."\n" - .'- ShareToType=2(组织)时,ShareTo为组织ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'schema' => ['description' => '被分享者的ID,可能是Quick BI的用户ID,也可能是用户组ID。'."\n" + ."\n" + .'- ShareToType=0(用户)时,ShareTo为用户ID。'."\n" + .'- ShareToType=1(用户组)时,ShareTo为用户组ID。'."\n" + .'- ShareToType=2(组织)时,ShareTo为组织ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], [ 'name' => 'ShareToType', 'in' => 'query', - 'schema' => [ - 'description' => '删除方式。取值范围:'."\n" - ."\n" - .'- 0:按用户删除'."\n" - .'- 1:按用户组删除'."\n" - .'- 2:按组织删除', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '0', - ], + 'schema' => ['description' => '删除方式。取值范围:'."\n" + ."\n" + .'- 0:按用户删除'."\n" + .'- 1:按用户组删除'."\n" + .'- 2:按组织删除', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '0'], ], ], 'responses' => [ @@ -3497,66 +2090,32 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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' => '删除数据作品的分享授权', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -3566,12 +2125,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3579,64 +2133,35 @@ ], 'ChangeVisibilityModel' => [ 'summary' => '修改数据门户菜单的可见方式,是否仅授权可见。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DataPortalId', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0d173abb53e84c8ca7495429163b****', - ], + 'schema' => ['description' => '数据门户的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0d173abb53e84c8ca7495429163b****'], ], [ 'name' => 'MenuIds', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的叶子节点菜单ID。'."\n" - ."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为100', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '54kqgoa****,pg1n135****', - ], + 'schema' => ['description' => '数据门户的叶子节点菜单ID。'."\n" + ."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开,批量修改的最大数为100', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '54kqgoa****,pg1n135****'], ], [ 'name' => 'ShowOnlyWithAccess', 'in' => 'query', - 'schema' => [ - 'description' => '是否仅授权可见。取值范围:'."\n" - ."\n" - .'- true:仅授权可见'."\n" - .'- false:都可见', - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'true', - ], + 'schema' => ['description' => '是否仅授权可见。取值范围:'."\n" + ."\n" + .'- true:仅授权可见'."\n" + .'- false:都可见', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true'], ], ], 'responses' => [ @@ -3644,68 +2169,30 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '修改成功的菜单数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '修改成功的菜单数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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' => '修改数据门户菜单的可见方式', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-04-06T10:12:47.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-04-06T10:12:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -3715,12 +2202,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3729,12 +2211,8 @@ 'CheckDatasetExisted' => [ 'summary' => '检查给定的cubeId是否存在。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3742,24 +2220,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], ], 'responses' => [ @@ -3769,43 +2235,25 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C67ABB*********682B0B214', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C67ABB*********682B0B214'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C67ABB*********682B0B214\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '检查给定的cubeId是否存在', 'changeSet' => [], @@ -3817,12 +2265,8 @@ 'CheckOrganizationMember' => [ 'summary' => '判断用户是否属于组织。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3830,24 +2274,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'adfssd-sdf****', - ], + 'schema' => ['description' => 'Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'adfssd-sdf****'], ], ], 'responses' => [ @@ -3857,48 +2289,26 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A**********DF8D885', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A**********DF8D885'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A**********DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '判断用户是否属于组织', 'changeSet' => [], @@ -3909,13 +2319,8 @@ ], 'CheckReadable' => [ 'summary' => '查询用户对数据作品(仪表板、电子表格等)是否有权限查看。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3923,35 +2328,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'description' => '作品的ID。这里的资源包括数据门户,仪表板,电子表格,自助取数。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '作品的ID。这里的资源包括数据门户,仪表板,电子表格,自助取数。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '待检测的Quick BI用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'schema' => ['description' => '待检测的Quick BI用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], ], 'responses' => [ @@ -3959,51 +2346,29 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Report.NotExist.Error', - 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', - '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\\": \\"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' => '查询用户对数据作品的查看权限', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -4013,26 +2378,68 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], - 'CreateCubeBySql' => [ - 'summary' => '根据自定义sql创建数据集。', + 'ClearDynamicTagCache' => [ 'path' => '', - 'methods' => [ - 'post', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'ConfigId', + 'in' => 'query', + 'schema' => ['title' => '标签配置ID', 'description' => '标签配置ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cfg************405791744'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '78C17888****C462E57A95'], + 'Result' => ['title' => '是否清除成功', 'description' => '是否清除成功'."\n" + ."\n" + .'- true -- 清理缓存成功'."\n" + .'- false -- 当前没有缓存', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['title' => '请求是否成功', 'description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Tag.Not.Exist', 'errorMessage' => 'Tag not exist.', 'description' => '标签不存在。'], + ], ], - 'schemes' => [ - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除指定动态标签的缓存', + 'summary' => '删除单条配置的标签值缓存。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"78C17888****C462E57A95\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'CreateCubeBySql' => [ + 'summary' => '根据自定义sql创建数据集。', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4040,68 +2447,43 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'CustomSql', 'in' => 'query', - 'schema' => [ - 'description' => '自定义sql语句。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'select * from qqq', - ], + 'schema' => ['description' => '自定义sql语句。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'select * from qqq'], ], [ 'name' => 'Caption', 'in' => 'query', - 'schema' => [ - 'description' => '自定义数据集名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], + 'schema' => ['description' => '自定义数据集名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'], ], [ 'name' => 'DsId', 'in' => 'query', - 'schema' => [ - 'description' => '数据源ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7AAB95D-*****-****-*4FC0C976', - ], + 'schema' => ['description' => '数据源ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7AAB95D-*****-****-*4FC0C976'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '需要传入一个有权限创建数据集的Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'asdaf-asda*****asd', - ], + 'schema' => ['description' => '需要传入一个有权限创建数据集的Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asdaf-asda*****asd'], + ], + [ + 'name' => 'Placeholders', + 'in' => 'formData', + 'schema' => ['title' => '占位符参数', 'description' => '占位符参数,详细内容请看下方补充说明。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' {'."\n" + .' "name": "test",'."\n" + .' "style": "placeholder",'."\n" + .' "type": "string"'."\n" + .' }'."\n" + .']'."\n", 'default' => ' '], ], ], 'responses' => [ @@ -4111,115 +2493,127 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '05739b************02522b9', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'string', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '05739b************02522b9'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'string', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.User.Organization', - 'errorMessage' => 'The user is not in your organization.', - 'description' => '该用户不在您的组织中。', - ], - [ - 'errorCode' => 'User.NotIn.Workspace', - 'errorMessage' => 'The user is not in this workspace.', - 'description' => '该用户不在此空间中。', - ], - [ - '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' => '数据源不存在:%s。', - ], - [ - 'errorCode' => 'DatasourceId.IsNull.Error', - 'errorMessage' => 'You must select a data source before selecting the table.', - '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' => '名称长度不能超过%s个字符。', - ], - [ - 'errorCode' => 'Cube.DuplicatedName.Error', - 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', - 'description' => '数据集名称已存在,请修改名称后再保存。', - ], - [ - 'errorCode' => 'Directory.NotExist.Error', - 'errorMessage' => 'The directory does not exist.', - 'description' => '文件夹不存在。', - ], - [ - 'errorCode' => 'Xengnie.TaskExecute.Error', - 'errorMessage' => 'Fail to execute task %s.', - 'description' => '任务执行失败 %s。', - ], - [ - 'errorCode' => 'Datasource.Sql.ExecuteFailed', - 'errorMessage' => 'Failed to execute the SQL statement in the data source.', - 'description' => '数据源执行SQL失败。', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.User.Organization', 'errorMessage' => 'The user is not in your organization.', 'description' => '该用户不在您的组织中。'], + ['errorCode' => 'User.NotIn.Workspace', 'errorMessage' => 'The user is not in this workspace.', 'description' => '该用户不在此空间中。'], + ['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' => '数据源不存在:%s。'], + ['errorCode' => 'DatasourceId.IsNull.Error', 'errorMessage' => 'You must select a data source before selecting the table.', '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' => '名称长度不能超过%s个字符。'], + ['errorCode' => 'Cube.DuplicatedName.Error', 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', 'description' => '数据集名称已存在,请修改名称后再保存。'], + ['errorCode' => 'Directory.NotExist.Error', 'errorMessage' => 'The directory does not exist.', 'description' => '文件夹不存在。'], + ['errorCode' => 'Xengnie.TaskExecute.Error', 'errorMessage' => 'Fail to execute task %s.', 'description' => '任务执行失败 %s。'], + ['errorCode' => 'Datasource.Sql.ExecuteFailed', 'errorMessage' => 'Failed to execute the SQL statement in the data source.', 'description' => '数据源执行SQL失败。'], + ['errorCode' => 'Placeholder.Date.Illegal', 'errorMessage' => 'The placeholder date format is illegal.', 'description' => '占位符日期格式不合法。'], + ['errorCode' => 'Placeholder.DefaultValue.Invalid', 'errorMessage' => 'Invalid placeholder default value.', 'description' => '无效的占位符默认值。'], + ['errorCode' => 'Placeholder.FieldNot.Empty', 'errorMessage' => 'Condition placeHolder field not empty.', 'description' => '条件占位符字段不能为空'], + ['errorCode' => 'Placeholder.Style.Illegal', 'errorMessage' => 'Illegal placeholder style.', 'description' => '非法占位符类型。'], + ['errorCode' => 'Placeholder.Type.Illegal', 'errorMessage' => 'Illegal placeholder type.', 'description' => '非法占位符变量类型。'], + ['errorCode' => 'Placeholder.UniqueId.Duplicate', 'errorMessage' => 'Sql placeholder uniqueId duplicate.', 'description' => 'Sql占位符uniqueId重复。'], + ['errorCode' => 'PlaceholderName.Duplicate.Error', 'errorMessage' => 'Sql placeholder name duplicate.', 'description' => 'Sql占位符名称重复。'], + ['errorCode' => 'PlaceholderName.NotMatch.Error', 'errorMessage' => 'The parsing and input placeholder names do not match.', 'description' => '解析和输入占位符名称不匹配。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05739b************02522b9\\",\\n \\"Result\\": \\"true\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '根据自定义sql创建数据集', + 'requestParamsDescription' => '**占位符PlaceholderModel结构**'."\n" + ."\n" + .'- uniqueId -- string,非必传,占位符唯一id,创建时候不用传,传了也不会用(更新时会用到此字段)'."\n" + .'- name -- string,必传,占位符名,不能重复'."\n" + .'- style -- string,必传,占位符类型'."\n" + .' - 表达式占位符:param'."\n" + .' - 值占位符:placeholder'."\n" + .' - 条件占位符:condition'."\n" + .'- type -- String,占位符变量类型'."\n" + .' - 文本:string '."\n" + .' - 数值:number'."\n" + .' - 日期:见下方format描述'."\n" + ."\n" + .'- useInGlobal -- Boolean,非必传,是否为全局生效,默认为false'."\n" + .' - 是:true'."\n" + .' - 否:false'."\n" + .'- defaultValue -- List<String>,非必传,占位符默认值,shipping_date_ph.get(0)占位符类型默认值个数只能为0或2,其余占位符类型只能为0或1'."\n" + .'- format -- String,非必填,日期类型格式(见下方format)'."\n" + ."\n" + .'- originalType -- String,非必填,如果值占位符为shipping_date_ph.get(0)的日期类型,将originalType设置为dateRange,其余情况均无需设置'."\n" + .'- conditionPlaceHolderFields -- List,非必填,条件占位符字段,仅条件占位符需要配置'."\n" + ."\n" + .'**ConditionPlaceHolderFields结构**'."\n" + ."\n" + .'- uniqueId -- String,非必传,条件占位符字段唯一id,创建不需要传,后台会默认生成'."\n" + .'- column -- String,必填,物理字段名字'."\n" + ."\n" + .'**表达式占位符style、type对应关系**'."\n" + ."\n" + .'变量类型 ### 对应type类型'."\n" + ."\n" + .'- 文本 string'."\n" + .'- 数字 number'."\n" + .'- 日期-年 yearRegion'."\n" + .'- 日期-年季 quarterRegion'."\n" + .'- 日期-年月 monthRegion'."\n" + .'- 日期-年周 weekRegion'."\n" + .'- 日期-年月日 dateRegion'."\n" + .'- 日期-年月日时分秒 ymdHmsRegion'."\n" + ."\n" + .'**值占位符style、type、format对应关系(空白代表无需填写)**'."\n" + ."\n" + .'变量类型 ### 对应type类型 ### format'."\n" + ."\n" + .'- 文本 string (shipping_date_ph.get(0)的日期类型不支持)'."\n" + .'- 数字 number (shipping_date_ph.get(0)的日期类型不支持)'."\n" + .'- 日期-年 yearRegion'."\n" + .'- 日期-年季 quarterRegion'."\n" + .'- 日期-年月 monthRegion YYYY-MM或YYYYMM或YYYY/MM,3种format选一种'."\n" + .'- 日期-年周 weekRegion'."\n" + .'- 日期-年月日 dateRegion YYYY-MM-DD或YYYYMMDD或YYYY/MM/DD,3种format选一种'."\n" + .'- 日期-年月日时分秒 ymdHmsRegion YYYY-MM-DD HH:MI:SS 或YYYYMMDD HH:MI:SS或YYYY/MM/DD HH:MI:SS或YYYYMMDDHHMISS,4种format选一种'."\n" + ."\n" + .'**条件占位符style、type对应关系**'."\n" + ."\n" + .'变量类型 ### 对应type类型'."\n" + ."\n" + .'- 文本 string', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], - 'ramActions' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateCubeBySql', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'CreateDataset' => [ 'summary' => '根据物理表名称创建数据集。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4227,79 +2621,37 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'DsId', 'in' => 'query', - 'schema' => [ - 'description' => '数据源ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7AAB95D-*****-****-*4FC0C976', - ], + 'schema' => ['description' => '数据源ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7AAB95D-*****-****-*4FC0C976'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => '表名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'st_trd_user_purchase_day_inc', - ], + 'schema' => ['description' => '表名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'st_trd_user_purchase_day_inc'], ], [ 'name' => 'UserDefineCubeName', 'in' => 'query', - 'schema' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], + 'schema' => ['description' => '数据集名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '需要传入一个有权限创建数据集的Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', - ], + 'schema' => ['description' => '需要传入一个有权限创建数据集的Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35'], ], [ 'name' => 'TargetDirectoryId', 'in' => 'query', - 'schema' => [ - 'description' => '指定目录文件夹ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'asah-fsdfsf*****92342', - ], + 'schema' => ['description' => '指定目录文件夹ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'asah-fsdfsf*****92342'], ], ], 'responses' => [ @@ -4309,98 +2661,36 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => 'F68B***********A3DF743', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'string', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'F68B***********A3DF743'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'string', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], - [ - 'errorCode' => 'Invalid.User.Organization', - 'errorMessage' => 'The user is not in your organization.', - 'description' => '该用户不在您的组织中。', - ], - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '空间不在组织内。', - ], - [ - 'errorCode' => 'Datasource.NotFound.Error', - 'errorMessage' => 'The specified data source does not exist: %s.', - 'description' => '数据源不存在:%s。', - ], - [ - 'errorCode' => 'DatasourceId.IsNull.Error', - 'errorMessage' => 'You must select a data source before selecting the table.', - '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' => '名称长度不能超过%s个字符。', - ], - [ - 'errorCode' => 'User.NotIn.Workspace', - 'errorMessage' => 'The user is not a member of the group workspace.', - 'description' => '该用户不在群空间中。', - ], - [ - 'errorCode' => 'Cube.DuplicatedName.Error', - 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', - 'description' => '数据集名称已存在,请修改名称后再保存。', - ], - [ - 'errorCode' => 'Directory.NotExist.Error', - 'errorMessage' => 'The directory does not exist.', - 'description' => '文件夹不存在。', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], + ['errorCode' => 'Invalid.User.Organization', 'errorMessage' => 'The user is not in your organization.', 'description' => '该用户不在您的组织中。'], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], + ['errorCode' => 'Datasource.NotFound.Error', 'errorMessage' => 'The specified data source does not exist: %s.', 'description' => '数据源不存在:%s。'], + ['errorCode' => 'DatasourceId.IsNull.Error', 'errorMessage' => 'You must select a data source before selecting the table.', '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' => '名称长度不能超过%s个字符。'], + ['errorCode' => 'User.NotIn.Workspace', 'errorMessage' => 'The user is not a member of the group workspace.', 'description' => '该用户不在群空间中。'], + ['errorCode' => 'Cube.DuplicatedName.Error', 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', 'description' => '数据集名称已存在,请修改名称后再保存。'], + ['errorCode' => 'Directory.NotExist.Error', 'errorMessage' => 'The directory does not exist.', 'description' => '文件夹不存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F68B***********A3DF743\\",\\n \\"Result\\": \\"true\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '根据物理表名称创建数据集', 'changeSet' => [], @@ -4411,13 +2701,8 @@ ], 'CreateTicket' => [ 'summary' => '生成报表嵌入需要使用的ticket。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4425,143 +2710,75 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'description' => '开通嵌入的报表ID,目前支持仪表板、电子表格、数据大屏、自助取数、即席分析和数据填报。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'a206f5f3-****-e9b17c835b03', - ], + 'schema' => ['description' => '开通嵌入的报表ID,目前支持仪表板、电子表格、数据大屏、自助取数、即席分析和数据填报。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a206f5f3-****-e9b17c835b03'], ], [ 'name' => 'CmptId', 'in' => 'query', - 'schema' => [ - 'description' => '组件ID。为以上仪表板中某个组件的ID,其他作品类型不支持。'."\n" - .'获取组件ID调用的接口请参见[QueryWorksBloodRelationship](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryWorksBloodRelationship?spm=a2c4g.11186623.0.0.15615d7aWVvWAl¶ms={}&lang=JAVA&tab=DOC&sdkStyle=old)。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '0fc6a275c7f64f17b1****a306ce0f31', - ], + 'schema' => ['description' => '组件ID。为以上仪表板中某个组件的ID,其他作品类型不支持。'."\n" + .'获取组件ID调用的接口请参见[QueryWorksBloodRelationship](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryWorksBloodRelationship?spm=a2c4g.11186623.0.0.15615d7aWVvWAl¶ms={}&lang=JAVA&tab=DOC&sdkStyle=old)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '0fc6a275c7f64f17b1****a306ce0f31'], ], [ 'name' => 'TicketNum', 'in' => 'query', - 'schema' => [ - 'description' => 'Ticket的票据数量,每次使用票据访问后,Ticket的票据数量减1。'."\n" - .'- 默认值为1。'."\n" - .'- 建议值为1。'."\n" - .'- 最大值为99999。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Ticket的票据数量,每次使用票据访问后,Ticket的票据数量减1。'."\n" + .'- 默认值为1。'."\n" + .'- 建议值为1。'."\n" + .'- 最大值为99999。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI的UserId,非您的阿里云账号ID。'."\n" - .'您可以调用[QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=a2c4g.11186623.0.0.15615d7aWVvWAl¶ms={}&tab=DOC&sdkStyle=old)接口,获取UserId。UserId样例为fe67f61a35a94b7da1a34ba174a7****。'."\n" - ."\n" - .'> UserId和AccountName只填一个即可,不填时默认绑定报表的Owner,访问报表时将以该用户身份访问。若您需要配置数据行级权限,请参见[行级权限](~~322783~~)。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '46e537466****92704c8', - ], + 'schema' => ['description' => 'Quick BI的UserId,非您的阿里云账号ID。'."\n" + .'您可以调用[QueryUserInfoByAccount](https://next.api.aliyun.com/api/quickbi-public/2022-01-01/QueryUserInfoByAccount?spm=a2c4g.11186623.0.0.15615d7aWVvWAl¶ms={}&tab=DOC&sdkStyle=old)接口,获取UserId。UserId样例为fe67f61a35a94b7da1a34ba174a7****。'."\n" + ."\n" + .'> UserId和AccountName只填一个即可,不填时默认绑定报表的Owner,访问报表时将以该用户身份访问。若您需要配置数据行级权限,请参见[行级权限](~~322783~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '46e537466****92704c8'], ], [ 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => '用户的账号名称。'."\n" - ."\n" - .'- 如果用户是阿里云主账号**wangwu**,格式为**[主账号]**,例如**wangwu**。'."\n" - .'- 如果用户是RAM账号**zhangsan**@aliyun.cn**,格式为**[主账号:子账号]**,例如**wangwu:zhangsan****。'."\n" - ."\n" - .'> UserId和AccountName只填一个即可,不填时默认绑定报表的Owner,访问报表时将以该用户身份访问。若您需要配置数据行级权限,请参见[行级权限](~~322783~~)。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '用户的账号名称。'."\n" + ."\n" + .'- 如果用户是阿里云主账号**wangwu**,格式为**[主账号]**,例如**wangwu**。'."\n" + .'- 如果用户是RAM账号**zhangsan**@aliyun.cn**,格式为**[主账号:子账号]**,例如**wangwu:zhangsan****。'."\n" + ."\n" + .'> UserId和AccountName只填一个即可,不填时默认绑定报表的Owner,访问报表时将以该用户身份访问。若您需要配置数据行级权限,请参见[行级权限](~~322783~~)。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'AccountType', 'in' => 'query', - 'schema' => [ - 'description' => '用户的账号类型。'."\n" - .'- 1:阿里云账号'."\n" - .'- 3:Quick BI自建账号'."\n" - .'- 4:钉钉'."\n" - .'- 5:RAM子账号'."\n" - .'- 9:企业微信'."\n" - .'- 10:飞书'."\n" - .'> 若AccountName不为空时,则AccountType也不能为空。', - 'type' => 'integer', - 'format' => 'int32', - 'deprecated' => true, - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '用户的账号类型。'."\n" + .'- 1:阿里云账号'."\n" + .'- 3:Quick BI自建账号'."\n" + .'- 4:钉钉'."\n" + .'- 5:RAM子账号'."\n" + .'- 9:企业微信'."\n" + .'- 10:飞书'."\n" + .'> 若AccountName不为空时,则AccountType也不能为空。', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'ExpireTime', 'in' => 'query', - 'schema' => [ - 'description' => '过期时间'."\n" - .'- 单位:分钟'."\n" - .'- 默认:240', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '200', - ], + 'schema' => ['description' => '过期时间'."\n" + .'- 单位:分钟'."\n" + .'- 默认:240', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '200'], ], [ 'name' => 'WatermarkParam', 'in' => 'query', - 'schema' => [ - 'description' => '报表的水印参数。'."\n" - .'- 不得超过50个字符。'."\n" - .'- 当报表类型为大屏时,不支持水印传参。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'ticket embed', - ], + 'schema' => ['description' => '报表的水印参数。'."\n" + .'- 不得超过50个字符。'."\n" + .'- 当报表类型为大屏时,不支持水印传参。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ticket embed'], ], [ 'name' => 'GlobalParam', - 'in' => 'query', - 'schema' => [ - 'description' => '报表过滤条件的全局参数。'."\n" - .'- JsonArray格式的字符串。'."\n" - ."\n" - .'> 若您需要使用全局参数能力,请联系[Quick BI运营负责人](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"}]}]', - ], + 'in' => 'formData', + 'schema' => ['description' => '全局参数。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]}]'], ], ], 'responses' => [ @@ -4569,23 +2786,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '生成ticket的值。', - 'type' => 'string', - 'example' => 'ccd3428c-****-****-a608-26bae29dffee', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '生成ticket的值。', 'type' => 'string', 'example' => 'ccd3428c-****-****-a608-26bae29dffee'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -4593,121 +2798,37 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', - 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', - 'description' => 'Ticket绑定的报表与访问页面报表不一致。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.Expired', - 'errorMessage' => 'Ticket [%s] has expired.', - 'description' => '当前票据[%s]已过期。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', - 'errorMessage' => 'The request [%s] has no token.', - 'description' => '当前请求 [%s] 未找到token信息。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.NotExist', - 'errorMessage' => 'Ticket %s does not exist.', - 'description' => '当前票据%s不存在。', - ], - [ - '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' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - 'errorCode' => 'Authorize3Rd.Report.Unauthorized', - 'errorMessage' => 'The report is not enabled for third party embedding.', - 'description' => '报表未开通三方嵌入,请开通后重试。', - ], - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], - [ - 'errorCode' => 'Datasource.NotFound.Error', - 'errorMessage' => 'The specified data source does not exist: %s.', - 'description' => '数据源不存在:%s。', - ], - [ - 'errorCode' => 'Report.NotExist', - 'errorMessage' => 'The dashboard does not exist.', - 'description' => '当前仪表板不存在。', - ], - [ - 'errorCode' => 'Organization.Workspace.Inconformity', - 'errorMessage' => 'The workspace does not match the organization.', - 'description' => '工作空间与组织不一致。', - ], - [ - 'errorCode' => 'Parameter.Length.Exceed', - 'errorMessage' => 'Parameter length exceeds maximum limit: [%s].', - 'description' => '参数长度超过限制:%s。', - ], - [ - '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' => '大屏嵌入不支持水印参数。', - ], - [ - 'errorCode' => 'NoPermissionTo.Operate.Object', - 'errorMessage' => 'You are not authorized to operate the objects.', - 'description' => '您无权操作这些对象。', - ], + ['errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', 'description' => 'Ticket绑定的报表与访问页面报表不一致。'], + ['errorCode' => 'Authorize3rdTicket.Expired', 'errorMessage' => 'Ticket [%s] has expired.', 'description' => '当前票据[%s]已过期。'], + ['errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', 'errorMessage' => 'The request [%s] has no token.', 'description' => '当前请求 [%s] 未找到token信息。'], + ['errorCode' => 'Authorize3rdTicket.NotExist', 'errorMessage' => 'Ticket %s does not exist.', 'description' => '当前票据%s不存在。'], + ['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' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['errorCode' => 'Authorize3Rd.Report.Unauthorized', 'errorMessage' => 'The report is not enabled for third party embedding.', 'description' => '报表未开通三方嵌入,请开通后重试。'], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], + ['errorCode' => 'Datasource.NotFound.Error', 'errorMessage' => 'The specified data source does not exist: %s.', 'description' => '数据源不存在:%s。'], + ['errorCode' => 'Report.NotExist', 'errorMessage' => 'The dashboard does not exist.', 'description' => '当前作品不存在。'], + ['errorCode' => 'Organization.Workspace.Inconformity', 'errorMessage' => 'The workspace does not match the organization.', 'description' => '工作空间与组织不一致。'], + ['errorCode' => 'Parameter.Length.Exceed', 'errorMessage' => 'Parameter length exceeds maximum limit: [%s].', 'description' => '参数长度超过限制:%s。'], + ['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' => '大屏嵌入不支持水印参数。'], + ['errorCode' => 'NoPermissionTo.Operate.Object', 'errorMessage' => 'You are not authorized to operate the objects.', 'description' => '您无权操作这些对象。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": \\"ccd3428c-****-****-a608-26bae29dffee\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CreateTicketResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>ccd3428c-****-****-a608-26bae29dffee</Result>\\n <Success>true</Success>\\n</CreateTicketResponse>","errorExample":""}]', 'title' => '生成报表嵌入ticket', 'description' => '具体使用方法详见[报表嵌入数据权限控制和传参的安全增强方案](~~391291~~)。', 'changeSet' => [ - [ - 'createdAt' => '2025-03-17T08:55:41.000Z', - 'description' => '请求参数发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-10-24T07:01:04.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-03-17T08:55:41.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-10-24T07:01:04.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateTicket', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTicket'], ], ], 'ramActions' => [ @@ -4718,12 +2839,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -4731,13 +2847,8 @@ ], 'CreateTicket4Copilot' => [ 'summary' => '用于生成智能小Q嵌入Ticket。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4745,71 +2856,38 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CopilotId', 'in' => 'query', - 'schema' => [ - 'description' => '开通嵌入的智能小Q 模块 ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ccd3428c-dd23-460c-a608-26bae29dffee', - ], + 'schema' => ['description' => '开通嵌入的智能小Q 模块 ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ccd3428c-dd23-460c-a608-26bae29dffee'], ], [ 'name' => 'TicketNum', 'in' => 'query', - 'schema' => [ - 'description' => 'ticket的票据数量取值范围:'."\n" - ."\n" - .'- 默认值为1。'."\n" - ."\n" - .'- 建议值为1。'."\n" - ."\n" - .'- 最大值为99999。'."\n" - ."\n" - .'每次使用票据访问后,Ticket的票据数量减1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'ticket的票据数量取值范围:'."\n" + ."\n" + .'- 默认值为1。'."\n" + ."\n" + .'- 建议值为1。'."\n" + ."\n" + .'- 最大值为99999。'."\n" + ."\n" + .'每次使用票据访问后,Ticket的票据数量减1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI的UserId。'."\n" - ."\n" - .'- 您可以调用【3.1.7 根据三方账号获取用户具体信息】或者其他接口获取。'."\n" - ."\n" - .'<notice>注意:userId和accountName只填一个即可,不填时默认绑定报表的owner,访问报表时将以该用户身份访问。</notice>', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '9c-asdawf-casxcasd-asdasd', - ], + 'schema' => ['description' => 'Quick BI的UserId,非您的阿里云账号ID。 您可以调用QueryUserInfoByAccount接口,获取UserId。UserId样例为fe67f61a35a94b7da1a34ba174a7****。'."\n" + ."\n" + .'<notice>注意:userId和accountName只填一个即可,不填时默认绑定报表的owner,访问报表时将以该用户身份访问。</notice>', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '9c-asdawf-casxcasd-asdasd'], ], [ 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => '用户的账号名称。'."\n" - .'<notice>注意:userId和accountName只填一个即可,不填时默认绑定报表的owner,访问报表时将以该用户身份访问。</notice>', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试用户', - ], + 'schema' => ['description' => '用户的账号名称。'."\n" + .'<notice>注意:userId和accountName只填一个即可,不填时默认绑定报表的owner,访问报表时将以该用户身份访问。</notice>', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试用户'], ], [ 'name' => 'AccountType', @@ -4843,18 +2921,11 @@ [ 'name' => 'ExpireTime', 'in' => 'query', - 'schema' => [ - 'description' => '过期时间。'."\n" - ."\n" - .'- 单位分钟,最大240(4小时)。'."\n" - ."\n" - .'- 默认240。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '200', - ], + 'schema' => ['description' => '过期时间。'."\n" + ."\n" + .'- 单位分钟,最大240(4小时)。'."\n" + ."\n" + .'- 默认240。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '200'], ], ], 'responses' => [ @@ -4862,80 +2933,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '开通嵌入的智能小Q 模块 ID。', - 'type' => 'string', - 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - ."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '开通嵌入的智能小Q 模块 ID。', 'type' => 'string', 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + ."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CopilotEmbed.Config.NotFind', - 'errorMessage' => 'Can not find copilot embed config with this copilot ID.', - 'description' => '找不到此嵌入配置', - ], - [ - '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' => '无效参数。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.Num.Exceed', - 'errorMessage' => 'The number of tickets %s is invalid.', - 'description' => '票据数量不合法。', - ], + ['errorCode' => 'CopilotEmbed.Config.NotFind', 'errorMessage' => 'Can not find copilot embed config with this copilot ID.', 'description' => '找不到此嵌入配置'], + ['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' => '无效参数。'], + ['errorCode' => 'Authorize3rdTicket.Num.Exceed', 'errorMessage' => 'The number of tickets %s is invalid.', 'description' => '票据数量不合法。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '生成智能小Q嵌入Ticket', 'changeSet' => [ - [ - 'createdAt' => '2025-03-14T06:35:33.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateTicket4Copilot', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTicket4Copilot'], ], ], 'ramActions' => [ @@ -4946,12 +2974,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -4959,13 +2982,8 @@ ], 'CreateUserGroup' => [ 'summary' => '新建用户组,可以指定父用户组。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4973,68 +2991,38 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '用户组唯一ID。'."\n" - ."\n" - .'- 无需传入,系统会自动生成;当用户主动传入UserGroupId时,以用户传入的ID作为用户组ID,用户需要自行保证该ID在组织内唯一。'."\n" - .'- 格式校验:最大长度64,不能为-1,', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'pop0001', - ], + 'schema' => ['description' => '用户组唯一ID。'."\n" + ."\n" + .'- 无需传入,系统会自动生成;当用户主动传入UserGroupId时,以用户传入的ID作为用户组ID,用户需要自行保证该ID在组织内唯一。'."\n" + .'- 格式校验:最大长度64,不能为-1,', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'pop0001'], ], [ 'name' => 'UserGroupName', 'in' => 'query', - 'schema' => [ - 'description' => '用户组名称。'."\n" - ."\n" - .'- 格式校验:最大长度255'."\n" - .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '杭州财报', - ], + 'schema' => ['description' => '用户组名称。'."\n" + ."\n" + .'- 格式校验:最大长度255'."\n" + .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '杭州财报'], ], [ 'name' => 'UserGroupDescription', 'in' => 'query', - 'schema' => [ - 'description' => '用户组描述。'."\n" - ."\n" - .'- 格式校验:最大长度255'."\n" - .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '用户分组描述', - ], + 'schema' => ['description' => '用户组描述。'."\n" + ."\n" + .'- 格式校验:最大长度255'."\n" + .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '用户分组描述'], ], [ 'name' => 'ParentUserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '父用户组ID。可以将新建的用户组添加到该分组下:'."\n" - .'- 当输入父用户组ID时,新建的用户组会添加到该ID的用户组下。'."\n" - .'- 当输入-1时,新建的用户组会添加到根目录下。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', - ], + 'schema' => ['description' => '父用户组ID。可以将新建的用户组添加到该分组下:'."\n" + .'- 当输入父用户组ID时,新建的用户组会添加到该ID的用户组下。'."\n" + .'- 当输入-1时,新建的用户组会添加到根目录下。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****'], ], ], 'responses' => [ @@ -5042,75 +3030,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => '36829379-0C38-5BC0-830A-92665BF77D4F', - ], - 'Result' => [ - 'description' => '返回用户组添加成功后的ID。如果添加失败,返回空字符串“”。', - 'type' => 'string', - 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => '36829379-0C38-5BC0-830A-92665BF77D4F'], + 'Result' => ['description' => '返回用户组添加成功后的ID。如果添加失败,返回空字符串“”。', 'type' => 'string', 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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":""}]', @@ -5124,12 +3064,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5138,12 +3073,8 @@ 'CreateWorkspace' => [ 'summary' => '新建工作空间。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5151,101 +3082,47 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'WorkspaceName', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], + 'schema' => ['description' => '工作空间名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'], ], [ 'name' => 'WorkspaceDescription', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间备注。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '工作空间备注。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'UseComment', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间创建数据集是否使用表备注,默认:true。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '工作空间创建数据集是否使用表备注,默认:true。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'AllowShare', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间报表是否允许分享,默认:true。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '工作空间报表是否允许分享,默认:true。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'AllowPublish', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间报表是否允许公开,默认:true。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '工作空间报表是否允许公开,默认:true。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'AllowViewAll', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间是否是协同模式,默认:true。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '工作空间是否是协同模式,默认:true。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'DefaultShareToAll', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间作品是否默认授权工作空间所有人可查看,默认:false。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '工作空间作品是否默认授权工作空间所有人可查看,默认:false。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'false'], ], [ 'name' => 'OnlyAdminCreateDatasource', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间数据源是否仅管理员可创建,默认false。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '工作空间数据源是否仅管理员可创建,默认false。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -5255,65 +3132,27 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '685072****************4e79e718f', - ], - 'Result' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '12423twfasva********', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '685072****************4e79e718f'], + 'Result' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => '12423twfasva********'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'CreateWorkspace.Exceeds.Limits', - 'errorMessage' => 'The number of create workspace exceeds the maximum number limit:%s.', - 'description' => '创建工作空间超过了最大数量限制:%s。', - ], - [ - 'errorCode' => 'UserRoleConfig.NotContain.Function', - 'errorMessage' => 'The user %s does not have permission to operate.', - 'description' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'Duplicate.WorkSpaceName.Error', - 'errorMessage' => 'There is already a workspace with the same name %s, please rename it before saving.', - 'description' => '已经存在同名工作空间“%s”,请修改名称后再保存。', - ], - [ - 'errorCode' => 'Transfer.Not.Allowed', - 'errorMessage' => 'Transfer to users with lower space permissions is not allowed.', - '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' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'CreateWorkspace.Exceeds.Limits', 'errorMessage' => 'The number of create workspace exceeds the maximum number limit:%s.', 'description' => '创建工作空间超过了最大数量限制:%s。'], + ['errorCode' => 'UserRoleConfig.NotContain.Function', 'errorMessage' => 'The user %s does not have permission to operate.', 'description' => '此用户%s没有权限操作。'], + ['errorCode' => 'Duplicate.WorkSpaceName.Error', 'errorMessage' => 'There is already a workspace with the same name %s, please rename it before saving.', 'description' => '已经存在同名工作空间“%s”,请修改名称后再保存。'], + ['errorCode' => 'Transfer.Not.Allowed', 'errorMessage' => 'Transfer to users with lower space permissions is not allowed.', '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' => '转让目标用户不存在,请确保目标用户登录过当前系统。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '新建工作空间', 'changeSet' => [], 'flowControl' => [ @@ -5324,13 +3163,8 @@ ], 'DataSetBlood' => [ 'summary' => '查询引用指定数据集下的作品信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5338,61 +3172,34 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DataSetIds', 'in' => 'query', - 'schema' => [ - 'title' => '数据集ID列表,以逗号分割', - 'description' => '数据集ID列表,以英文逗号分割。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '234235234,234235235,234235235', - ], + 'schema' => ['title' => '数据集ID列表,以逗号分割', 'description' => '数据集ID列表,以英文逗号分割。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '234235234,234235235,234235235'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '指定报表所属owner ,为userId', - 'description' => '指定报表所属owner ,为userId。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'dasasgaj342351', - ], + 'schema' => ['title' => '指定报表所属owner ,为userId', 'description' => '指定报表所属owner ,为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' => '指定报表类型:'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数'."\n" - .'- DASHBOARD:仪表板'."\n" - .'- ANALYSIS:即席分析'."\n" - .'- SCREEN:数据大屏'."\n" - .'- PAGE:老仪表板', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'PAGE', - ], + 'schema' => ['title' => '指定报表类型:'."\n" + .'● REPORT:电子表格'."\n" + .'● dashboardOfflineQuery:自助取数'."\n" + .'● DASHBOARD:仪表板'."\n" + .'● ANALYSIS:即席分析'."\n" + .'● SCREEN:数据大屏'."\n" + .'● PAGE:老仪表板', 'description' => '指定报表类型:'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数'."\n" + .'- DASHBOARD:仪表板'."\n" + .'- ANALYSIS:即席分析'."\n" + .'- SCREEN:数据大屏'."\n" + .'- PAGE:老仪表板', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'PAGE'], ], ], 'responses' => [ @@ -5402,20 +3209,11 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '46e537a5****,3dadsu****', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '46e537a5****,3dadsu****'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], 'Result' => [ 'description' => '作品数组。', 'type' => 'array', @@ -5423,30 +3221,20 @@ 'description' => '作品对象。', 'type' => 'object', 'properties' => [ - 'WorksId' => [ - 'title' => '作品id', - 'description' => '作品id。', - 'type' => 'string', - 'example' => 'ccd3428c-****-****-a608-26bae29dffee', - ], - 'WorksType' => [ - 'title' => '作品类型:'."\n" - .'● REPORT:电子表格'."\n" - .'● dashboardOfflineQuery:自助取数'."\n" - .'● DASHBOARD:仪表板'."\n" - .'● ANALYSIS:即席分析'."\n" - .'● SCREEN:数据大屏'."\n" - .'● PAGE:老仪表板', - 'description' => '作品类型:'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数'."\n" - .'- DASHBOARD:仪表板'."\n" - .'- ANALYSIS:即席分析'."\n" - .'- SCREEN:数据大屏'."\n" - .'- PAGE:老仪表板', - 'type' => 'string', - 'example' => 'PAGE', - ], + 'WorksId' => ['title' => '作品id', 'description' => '作品id。', 'type' => 'string', 'example' => 'ccd3428c-****-****-a608-26bae29dffee'], + 'WorksType' => ['title' => '作品类型:'."\n" + .'● REPORT:电子表格'."\n" + .'● dashboardOfflineQuery:自助取数'."\n" + .'● DASHBOARD:仪表板'."\n" + .'● ANALYSIS:即席分析'."\n" + .'● SCREEN:数据大屏'."\n" + .'● PAGE:老仪表板', 'description' => '作品类型:'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数'."\n" + .'- DASHBOARD:仪表板'."\n" + .'- ANALYSIS:即席分析'."\n" + .'- SCREEN:数据大屏'."\n" + .'- PAGE:老仪表板', 'type' => 'string', 'example' => 'PAGE'], ], ], ], @@ -5456,36 +3244,19 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询引用指定数据集下的作品信息', 'changeSet' => [ - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DataSetBlood', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DataSetBlood'], ], ], 'ramActions' => [ @@ -5496,12 +3267,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5509,13 +3275,8 @@ ], 'DataSourceBlood' => [ 'summary' => '查询引用指定数据源下的数据集信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5523,25 +3284,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DataSourceId', 'in' => 'query', - 'schema' => [ - 'title' => '数据源ID', - 'description' => '数据源id。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '44051300991327000048', - ], + 'schema' => ['title' => '数据源ID', 'description' => '数据源id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '44051300991327000048'], ], ], 'responses' => [ @@ -5551,31 +3299,17 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '46e537a5****,3dadsu****', - ], - 'Success' => [ - 'title' => '是否请求成功。取值范围:'."\n" - .'● true:请求成功'."\n" - .'● false:请求失败', - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '46e537a5****,3dadsu****'], + 'Success' => ['title' => '是否请求成功。取值范围:'."\n" + .'● true:请求成功'."\n" + .'● false:请求失败', 'description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], 'Result' => [ 'title' => '数据集id数组。', 'description' => '数据集id数组。', 'type' => 'array', - 'items' => [ - 'description' => '数据集id。', - 'type' => 'string', - 'example' => 'sdfasdaw234234235', - ], + 'items' => ['description' => '数据集id。', 'type' => 'string', 'example' => 'sdfasdaw234234235'], ], ], ], @@ -5583,26 +3317,12 @@ ], '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' => '', - ], + ['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', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e537a5****,3dadsu****\\",\\n \\"Success\\": true,\\n \\"Result\\": [\\n \\"sdfasdaw234234235\\"\\n ]\\n}","type":"json"}]', 'title' => '查询引用指定数据源下的数据集信息', 'changeSet' => [], @@ -5614,12 +3334,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5627,13 +3342,8 @@ ], 'DelayTicketExpireTime' => [ 'summary' => '更新嵌入报表的ticket的失效时间。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5641,38 +3351,19 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Ticket', 'in' => 'query', - 'schema' => [ - 'description' => '三方嵌入的票据值,即URL中的accessTicket值。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '040e6f79d33444838e*****c7206c070', - ], + 'schema' => ['description' => '三方嵌入的票据值,即URL中的accessTicket值。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '040e6f79d33444838e*****c7206c070'], ], [ 'name' => 'ExpireTime', 'in' => 'query', - 'schema' => [ - 'description' => '要延期的时间。'."\n" - .'- 单位分钟,取值范围0~240(4小时)。'."\n" - .'- 已过期的票据无法延期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '200', - ], + 'schema' => ['description' => '要延期的时间。'."\n" + .'- 单位分钟,取值范围0~240(4小时)。'."\n" + .'- 已过期的票据无法延期。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '200'], ], ], 'responses' => [ @@ -5680,25 +3371,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '是否延期成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '是否延期成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -5706,63 +3385,24 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', - 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', - 'description' => 'Ticket绑定的报表与访问页面报表不一致。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.Expired', - 'errorMessage' => 'Ticket [%s] has expired.', - 'description' => '当前票据[%s]已过期。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', - 'errorMessage' => 'The request [%s] has no token.', - 'description' => '当前请求 [%s] 未找到token信息。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.NotExist', - 'errorMessage' => 'Ticket %s does not exist.', - 'description' => '当前票据%s不存在。', - ], - [ - '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' => '您无权操作这些对象。', - ], + ['errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', 'description' => 'Ticket绑定的报表与访问页面报表不一致。'], + ['errorCode' => 'Authorize3rdTicket.Expired', 'errorMessage' => 'Ticket [%s] has expired.', 'description' => '当前票据[%s]已过期。'], + ['errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', 'errorMessage' => 'The request [%s] has no token.', 'description' => '当前请求 [%s] 未找到token信息。'], + ['errorCode' => 'Authorize3rdTicket.NotExist', 'errorMessage' => 'Ticket %s does not exist.', 'description' => '当前票据%s不存在。'], + ['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' => '您无权操作这些对象。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DelayTicketExpireTimeResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DelayTicketExpireTimeResponse>","errorExample":""}]', 'title' => '更新嵌入ticket的失效时间', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DelayTicketExpireTime', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DelayTicketExpireTime'], ], ], 'ramActions' => [ @@ -5773,26 +3413,94 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], - 'DeleteDataLevelPermissionRuleUsers' => [ - 'summary' => '针对单条行列权限规则删除选定的人群。', - 'methods' => [ - 'post', + 'DeleteAuthorizationByUserId' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['title' => '作品类型。', 'description' => '作品类型。'."\n" + ."\n" + .'- dashboard -- 仪表板'."\n" + .'- report -- 电子表格'."\n" + .'- dashboardOfflineQuery -- 自助取数'."\n" + .'- cube -- 数据集'."\n" + .'- datasource -- 数据源'."\n" + .'- screen -- 数据大屏'."\n" + .'- ANALYSIS -- 即席分析'."\n" + .'- dataForm -- 数据填报', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'report'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['title' => '作品id', 'description' => '作品ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'al*************7ufv'], + ], + [ + 'name' => 'QbiUserId', + 'in' => 'query', + 'schema' => ['title' => '用户id', 'description' => 'Quick BI 用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cc4b***94fa4'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求id', 'description' => '请求ID', 'type' => 'string', 'example' => '46e53***********70'], + 'Result' => ['title' => '是否删除成功。', 'description' => '是否删除成功。', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['title' => '请求是否成功。', 'description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'Invalid.User.Organization', 'errorMessage' => 'The user is not in your organization.', 'description' => '该用户不在您的组织中。'], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], + ['errorCode' => 'Datasource.NotFound.Error', 'errorMessage' => 'The specified data source does not exist: %s.', 'description' => '数据源不存在:%s。'], + ['errorCode' => 'Report.NotExist.Error', 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', 'description' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['errorCode' => 'DeletePermission.ExistWorkspaceRecord.Error', 'errorMessage' => 'cannot be deleted because there is already an workspace authorization record.', 'description' => '无法删除,因为该作品存在授权给全部空间成员的记录。'], + ['errorCode' => 'DeletePermission.UserBelongsToUsergroup.Error', 'errorMessage' => 'cannot be deleted because user belongs to usergroup: %s.', 'description' => '无法删除,因为当前用户属于用户组:%s。'], + ['errorCode' => 'DeletePermission.WorkspaceAllDeveloper.Error', 'errorMessage' => 'cannot be deleted because editing permission attribute has already been configured: all workspace developers.', 'description' => '无法删除,因为已配置编辑权限属性:所有空间开发者。'], + ['errorCode' => 'DeletePermission.WorkspaceAllMember.Error', 'errorMessage' => 'cannot be deleted because usage permission attribute has already been configured: all workspace members.', 'description' => '无法删除,因为已配置使用权限属性:全部空间成员。'], + ['errorCode' => 'Delete.WorpspaceAdminPermission.Error', 'errorMessage' => 'can not delete workspace admin permission.', 'description' => '无法删除空间管理员的权限。'], + ['errorCode' => 'Delete.ExistOrganizationRecord.Error', 'errorMessage' => 'cannot be deleted because there is already an organization authorization record.', 'description' => '无法删除,因为存在授权给组织内所有用户的记录。'], + ['errorCode' => 'Work.Not.Exist', 'errorMessage' => 'The work does not exist.', 'description' => '作品不存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除指定用户的协同授权记录', + 'summary' => '删除指定用户的协同授权记录。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e53***********70\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteDataLevelPermissionRuleUsers' => [ + 'summary' => '针对单条行列权限规则删除选定的人群。', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5800,37 +3508,25 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DeleteUserModel', 'in' => 'query', - 'schema' => [ - 'description' => '{'."\n" - .' "ruleId": "a5bb24da-***-a891683e14da", // 行列权限规则ID'."\n" - .' "cubeId": "7c7223ae-***-3c744528014b", // 数据集ID'."\n" - .' "delModel": {'."\n" - .' "userGroups": ['."\n" - .' "0d5fb19b-***-1248fc27ca51", // 删除用户组人群的用户组ID'."\n" - .' "3d2c23d4-***-f6390f325c2d"'."\n" - .' ],'."\n" - .' "users": ['."\n" - .' "4334***358", // 删除用户人群的UserID'."\n" - .' "Huang***3fa822"'."\n" - .' ]'."\n" - .' }'."\n" - .'}', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => ' {"ruleId":"a5bb24da-***-a891683e14da","cubeId":"7c7223ae-***-3c744528014b","delModel":{"userGroups":["0d5fb19b-***-1248fc27ca51","3d2c23d4-***-f6390f325c2d"],"users":["4334***358","Huang***3fa822"]}}', - ], + 'schema' => ['description' => '{'."\n" + .' "ruleId": "a5bb24da-***-a891683e14da", // 行列权限规则ID'."\n" + .' "cubeId": "7c7223ae-***-3c744528014b", // 数据集ID'."\n" + .' "delModel": {'."\n" + .' "userGroups": ['."\n" + .' "0d5fb19b-***-1248fc27ca51", // 删除用户组人群的用户组ID'."\n" + .' "3d2c23d4-***-f6390f325c2d"'."\n" + .' ],'."\n" + .' "users": ['."\n" + .' "4334***358", // 删除用户人群的UserID'."\n" + .' "Huang***3fa822"'."\n" + .' ]'."\n" + .' }'."\n" + .'}', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => ' {"ruleId":"a5bb24da-***-a891683e14da","cubeId":"7c7223ae-***-3c744528014b","delModel":{"userGroups":["0d5fb19b-***-1248fc27ca51","3d2c23d4-***-f6390f325c2d"],"users":["4334***358","Huang***3fa822"]}}'], ], ], 'responses' => [ @@ -5838,63 +3534,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteDataLevelPermissionRuleUsersResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteDataLevelPermissionRuleUsersResponse>","errorExample":""}]', @@ -5909,12 +3569,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5922,13 +3577,8 @@ ], 'DeleteDataLevelRuleConfig' => [ 'summary' => '删除单条行列权限规则。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5936,35 +3586,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => '行列权限的规则ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'a5bb24da-****-a891683e14da', - ], + 'schema' => ['description' => '行列权限的规则ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a5bb24da-****-a891683e14da'], ], ], 'responses' => [ @@ -5972,77 +3604,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteDataLevelRuleConfigResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteDataLevelRuleConfigResponse>","errorExample":""}]', 'title' => '删除行列权限规则', 'description' => '>:当前接口仅支持Quick BI新版行列权限模型。若您仍在使用老的行列权限,请先一键迁移至新的行列权限模型后再调用该接口。一键迁移至新的行列权限模型的操作步骤:在组织管理-->安全配置-->行列权限升级新版中,单击**一键升级**,升级至新版行级权限。', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:57.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:57.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -6052,12 +3642,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6065,13 +3650,8 @@ ], 'DeleteTicket' => [ 'summary' => '删除免登嵌入报表的指定ticket。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6079,24 +3659,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Ticket', 'in' => 'query', - 'schema' => [ - 'description' => '三方嵌入的票据值,即URL中的accessTicket值。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '040e6f79d****7d283c7206c070', - ], + 'schema' => ['description' => '三方嵌入的票据值,即URL中的accessTicket值。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '040e6f79d****7d283c7206c070'], ], ], 'responses' => [ @@ -6104,25 +3672,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '是否删除成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '是否删除成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -6130,63 +3686,24 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', - 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', - 'description' => 'Ticket绑定的报表与访问页面报表不一致。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.Expired', - 'errorMessage' => 'Ticket [%s] has expired.', - 'description' => '当前票据[%s]已过期。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', - 'errorMessage' => 'The request [%s] has no token.', - 'description' => '当前请求 [%s] 未找到token信息。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.NotExist', - 'errorMessage' => 'Ticket %s does not exist.', - 'description' => '当前票据%s不存在。', - ], - [ - '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' => '您无权操作这些对象。', - ], + ['errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', 'description' => 'Ticket绑定的报表与访问页面报表不一致。'], + ['errorCode' => 'Authorize3rdTicket.Expired', 'errorMessage' => 'Ticket [%s] has expired.', 'description' => '当前票据[%s]已过期。'], + ['errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', 'errorMessage' => 'The request [%s] has no token.', 'description' => '当前请求 [%s] 未找到token信息。'], + ['errorCode' => 'Authorize3rdTicket.NotExist', 'errorMessage' => 'Ticket %s does not exist.', 'description' => '当前票据%s不存在。'], + ['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' => '您无权操作这些对象。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteTicketResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</DeleteTicketResponse>","errorExample":""}]', 'title' => '删除嵌入ticket', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteTicket', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTicket'], ], ], 'ramActions' => [ @@ -6197,12 +3714,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6210,13 +3722,8 @@ ], 'DeleteUser' => [ 'summary' => '删除指定组织用户。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6224,37 +3731,20 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '待删除的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], + 'schema' => ['description' => '待删除的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], ], [ 'name' => 'TransferUserId', 'in' => 'query', - 'schema' => [ - 'description' => '继承者的用户ID。如果不为空,则将删除用户在工作空间内的报表资源转移给继承者,否则转移给空间owner。'."\n" - .'- 继承者不能是组织访问者'."\n" - .'- 继承者在工作空间的权限不能小于删除掉的用户,管理权限>开发权限>分享权限>查看权限'."\n" - .'- 继承者不在工作空间内,会自动加入工作空间', - 'type' => 'string', - 'required' => false, - 'example' => 'f5****afccd9e434a274', - ], + 'schema' => ['description' => '继承者的用户ID。如果不为空,则将删除用户在工作空间内的报表资源转移给继承者,否则转移给空间owner。'."\n" + .'- 继承者不能是组织访问者'."\n" + .'- 继承者在工作空间的权限不能小于删除掉的用户,管理权限>开发权限>分享权限>查看权限'."\n" + .'- 继承者不在工作空间内,会自动加入工作空间', 'type' => 'string', 'required' => false, 'example' => 'f5****afccd9e434a274'], ], ], 'responses' => [ @@ -6262,131 +3752,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CannotRemove.OrganizationOwner', - 'errorMessage' => 'You cannot remove the organization owner from the organization.', - 'description' => '不能将组织所有者踢出组织。', - ], - [ - 'errorCode' => 'Member.ExistInWorkspace.Error', - 'errorMessage' => 'You cannot remove a user who is a member of a group workspace.', - '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' => 'Not.Organization.AuthAdmin', - 'errorMessage' => 'You are not a role administrator of the organization and do not have the permission to perform the operation.', - 'description' => '您不是该组织的角色管理员,无权操作此项。', - ], - [ - 'errorCode' => 'Works.Transfer.Error', - 'errorMessage' => 'You are not authorized to transfer this item.', - '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' => 'Transfer.TargetUser.NotExist', - 'errorMessage' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', - 'description' => '转让目标用户不存在,请确保目标用户登录过当前系统。', - ], - [ - 'errorCode' => 'User.RoleType.Valid', - 'errorMessage' => 'The role ID is invalid.', - 'description' => '无效的角色ID。', - ], - [ - 'errorCode' => 'Viewer.AddInTo.Workspace', - 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', - 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。', - ], - [ - 'errorCode' => 'UserAnalyst.NotSupport.ThisRole', - 'errorMessage' => 'This role has permissions that analysts cannot grant.', - 'description' => '该角色具有分析员无法授予的权限。', - ], - [ - 'errorCode' => 'Transfer.Not.Allowed', - 'errorMessage' => 'Transfer to users with lower space permissions is not allowed.', - 'description' => '不允许转移给更低空间权限的用户。', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'CannotRemove.OrganizationOwner', 'errorMessage' => 'You cannot remove the organization owner from the organization.', 'description' => '不能将组织所有者踢出组织。'], + ['errorCode' => 'Member.ExistInWorkspace.Error', 'errorMessage' => 'You cannot remove a user who is a member of a group workspace.', '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' => 'Not.Organization.AuthAdmin', 'errorMessage' => 'You are not a role administrator of the organization and do not have the permission to perform the operation.', 'description' => '您不是该组织的角色管理员,无权操作此项。'], + ['errorCode' => 'Works.Transfer.Error', 'errorMessage' => 'You are not authorized to transfer this item.', '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' => 'Transfer.TargetUser.NotExist', 'errorMessage' => 'The new owner does not exist. Please ensure that the target user has logged on to the system.', 'description' => '转让目标用户不存在,请确保目标用户登录过当前系统。'], + ['errorCode' => 'User.RoleType.Valid', 'errorMessage' => 'The role ID is invalid.', 'description' => '无效的角色ID。'], + ['errorCode' => 'Viewer.AddInTo.Workspace', 'errorMessage' => 'Organization members with viewer type are not allowed to add to workspace: %s.', 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。'], + ['errorCode' => 'UserAnalyst.NotSupport.ThisRole', 'errorMessage' => 'This role has permissions that analysts cannot grant.', 'description' => '该角色具有分析员无法授予的权限。'], + ['errorCode' => 'Transfer.Not.Allowed', 'errorMessage' => 'Transfer to users with lower space permissions is not allowed.', 'description' => '不允许转移给更低空间权限的用户。'], + ], + ], + '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' => '删除组织用户', 'changeSet' => [ - [ - 'createdAt' => '2025-03-14T06:35:33.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-08-07T06:37:07.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteUser', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUser'], ], ], 'ramActions' => [ @@ -6397,12 +3804,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6410,13 +3812,8 @@ ], 'DeleteUserFromWorkspace' => [ 'summary' => '删除指定工作空间的成员。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6424,35 +3821,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '待删除的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'schema' => ['description' => '待删除的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], ], 'responses' => [ @@ -6460,91 +3839,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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' => '删除工作空间成员', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -6554,12 +3879,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6567,13 +3887,8 @@ ], 'DeleteUserGroup' => [ 'summary' => '删除组织内的用户组。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6581,24 +3896,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', - ], + 'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****'], ], ], 'responses' => [ @@ -6606,61 +3909,31 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F2775AB6-DE99-5FA6-86A4-72EA0A8AFEE3', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F2775AB6-DE99-5FA6-86A4-72EA0A8AFEE3'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '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' => '删除用户组', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -6670,12 +3943,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6683,13 +3951,8 @@ ], 'DeleteUserGroupMember' => [ 'summary' => '删除指定用户组下的指定成员。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6697,35 +3960,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '46e537****', - ], + 'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '46e537****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI的用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2fe4fbd8****', - ], + 'schema' => ['description' => 'Quick BI的用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2fe4fbd8****'], ], ], 'responses' => [ @@ -6733,40 +3978,24 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], - 'Result' => [ - 'description' => '返回删除用户组成员的结果。取值范围:'."\n" - ."\n" - .'- true:删除成功'."\n" - ."\n" - .'- false:删除失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - ."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], + 'Result' => ['description' => '返回删除用户组成员的结果。取值范围:'."\n" + ."\n" + .'- true:删除成功'."\n" + ."\n" + .'- false:删除失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + ."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Usergroup.Not.Exist', - 'errorMessage' => 'The user group does not exist.', - 'description' => '', - ], + ['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":""}]', @@ -6780,12 +4009,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6793,50 +4017,27 @@ ], 'DeleteUserGroupMembers' => [ 'summary' => '指定用户批量退出用户组。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '要退出用户组的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '204627493484****', - ], + 'schema' => ['description' => '要退出用户组的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '204627493484****'], ], [ 'name' => 'UserGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => '要退出的用户组ID。'."\n" - ."\n" - .'- 支持批量传参,ID之间用半角逗号(,)隔开。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****', - ], + 'schema' => ['description' => '要退出的用户组ID。'."\n" + ."\n" + .'- 支持批量传参,ID之间用半角逗号(,)隔开。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****'], ], ], 'responses' => [ @@ -6844,38 +4045,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'ABBAD906-3925-5D18-B23D-714053AB0AA2', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ABBAD906-3925-5D18-B23D-714053AB0AA2'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The usergroup %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\\": \\"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":""}]', @@ -6889,12 +4074,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6902,13 +4082,8 @@ ], 'DeleteUserTagMeta' => [ 'summary' => '删除组织成员的标签元信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6916,24 +4091,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'TagId', 'in' => 'query', - 'schema' => [ - 'description' => '待删除的标签ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pop_001', - ], + 'schema' => ['description' => '待删除的标签ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pop_001'], ], ], 'responses' => [ @@ -6941,51 +4104,29 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '返回删除标签的执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '返回删除标签的执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UserTag.NotIn.CurrentOrganization', - 'errorMessage' => 'The user tag is not in the current organization.', - 'description' => '', - ], + ['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' => '删除组织成员标签元信息', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:31.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:31.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -6995,12 +4136,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -7009,12 +4145,8 @@ 'GetDataSourceConnectionInfo' => [ 'summary' => '获取数据源信息。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7022,25 +4154,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DsId', 'in' => 'query', - 'schema' => [ - 'title' => '数据源id', - 'description' => '数据源ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => '7AAB95D-*****-****-*4FC0C976', - ], + 'schema' => ['title' => '数据源id', 'description' => '数据源ID。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => '7AAB95D-*****-****-*4FC0C976'], ], ], 'responses' => [ @@ -7050,241 +4169,78 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7AAB95D-*****-****-*4FC0C976', - ], + 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '7AAB95D-*****-****-*4FC0C976'], 'Result' => [ 'title' => '数据源信息', 'description' => '数据源信息。', 'type' => 'object', 'properties' => [ - 'Address' => [ - 'title' => '数据库连接串地址(域名或ip)', - 'description' => '数据库连接串地址(域名或ip)。', - 'type' => 'string', - 'example' => '172.**.**.48', - ], - 'AuthLevel' => [ - 'title' => '权限级别:'."\n" - .'● 0 -- 私有'."\n" - .'● 1 -- 协同编辑(旧)'."\n" - .'● 11 -- 协同编辑——空间成员'."\n" - .'● 12 -- 协同编辑——指定到人', - 'description' => '权限级别:'."\n" - ."\n" - .'- 0 -- 私有'."\n" - .'- 1 -- 协同编辑(旧)'."\n" - .'- 11 -- 协同编辑——空间成员'."\n" - .'- 12 -- 协同编辑——指定到人', - 'type' => 'string', - 'example' => '0', - ], - 'CreatorId' => [ - 'title' => '创建人的Quick BI用户ID。', - 'description' => '创建人的Quick BI用户ID。', - 'type' => 'string', - 'example' => 'U240****0880C6095', - ], - 'DsId' => [ - 'title' => '数据源ID', - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => 'a201c85c-******', - ], + 'Address' => ['title' => '数据库连接串地址(域名或ip)', 'description' => '数据库连接串地址(域名或ip)。', 'type' => 'string', 'example' => '172.**.**.48'], + 'AuthLevel' => ['title' => '权限级别:'."\n" + .'● 0 -- 私有'."\n" + .'● 1 -- 协同编辑(旧)'."\n" + .'● 11 -- 协同编辑——空间成员'."\n" + .'● 12 -- 协同编辑——指定到人', 'description' => '权限级别:'."\n" + ."\n" + .'- 0 -- 私有'."\n" + .'- 1 -- 协同编辑(旧)'."\n" + .'- 11 -- 协同编辑——空间成员'."\n" + .'- 12 -- 协同编辑——指定到人', 'type' => 'string', 'example' => '0'], + 'CreatorId' => ['title' => '创建人的Quick BI用户ID。', 'description' => '创建人的Quick BI用户ID。', 'type' => 'string', 'example' => 'U240****0880C6095'], + 'DsId' => ['title' => '数据源ID', 'description' => '数据源ID。', 'type' => 'string', 'example' => 'a201c85c-******'], 'DsType' => [ 'title' => '数据源类型', 'description' => '数据源类型。', 'type' => 'string', 'enumValueTitles' => [ - 'hive' => 'Hive 数据源', - 'vertica' => 'Vertica 数据源', - 'ppas' => 'RDS PPAS数据源', - 'dm' => 'DM7数据源-达梦', - 'tsdb' => 'TSDB数据源', - 'tdsql' => 'TDSQL-H数据源', - 'mysql_hybrid' => 'HybridDB for MySQL数据源', - 'sqlserver' => 'sqlserver数据源', - 'postgresql' => 'postgresql数据源', - 'garuda' => 'garuda数据源', - 'adb_spark' => 'adb数据源Spark引擎', - 'greenplum' => 'greenplum数据源', - 'phoenix_thin' => 'PHOENIX THIN 数据源', - 'dla' => 'DataLake Analytics 数据源', - 'starrocks' => 'StarRocks数据源', - 'mysql' => 'mysql数据源', - 'hana' => 'SAP HANA 数据源', - 'mongodb' => 'MongoDB数据源', - 'adb' => 'ADB', - 'hbase' => 'HBASE数据源', - 'oscar' => '神通数据源', - 'gbase' => 'Gbase数据源', - 'oracle' => 'oracle数据源', - 'sybase' => ' SAP SYBASE IQ 数据源', - 'dataphin' => 'DataPhin数据源-多引擎', - 'odps' => 'odps数据源', - 'db2' => 'IBM DB2数据源(LUW)', - 'yida' => '宜搭应用数据源', - 'clickhouse' => 'ClickHouse数据源', - 'oceanbase_oracle' => 'OceanBase_Oracle模式数据源', - 'presto' => 'presto数据源', - 'polardb' => 'polardb数据源', - 'dataphin_odps' => 'DataPhin数据源odps引擎', - 'selectdb' => 'SelectDB数据源', + 'hive' => 'Hive 数据源', 'vertica' => 'Vertica 数据源', 'ppas' => 'RDS PPAS数据源', 'dm' => 'DM7数据源-达梦', 'tsdb' => 'TSDB数据源', 'tdsql' => 'TDSQL-H数据源', 'mysql_hybrid' => 'HybridDB for MySQL数据源', 'sqlserver' => 'sqlserver数据源', 'postgresql' => 'postgresql数据源', 'garuda' => 'garuda数据源', + 'adb_spark' => 'adb数据源Spark引擎', 'greenplum' => 'greenplum数据源', 'phoenix_thin' => 'PHOENIX THIN 数据源', 'dla' => 'DataLake Analytics 数据源', 'starrocks' => 'StarRocks数据源', 'mysql' => 'mysql数据源', 'hana' => 'SAP HANA 数据源', 'mongodb' => 'MongoDB数据源', 'adb' => 'ADB', 'hbase' => 'HBASE数据源', + 'oscar' => '神通数据源', 'gbase' => 'Gbase数据源', 'oracle' => 'oracle数据源', 'sybase' => ' SAP SYBASE IQ 数据源', 'dataphin' => 'DataPhin数据源-多引擎', 'odps' => 'odps数据源', 'db2' => 'IBM DB2数据源(LUW)', 'yida' => '宜搭应用数据源', 'clickhouse' => 'ClickHouse数据源', 'oceanbase_oracle' => 'OceanBase_Oracle模式数据源', + 'presto' => 'presto数据源', 'polardb' => 'polardb数据源', 'dataphin_odps' => 'DataPhin数据源odps引擎', 'selectdb' => 'SelectDB数据源', ], 'example' => 'mysql', ], - 'DsVersion' => [ - 'title' => '数据源的版本', - 'description' => '数据源的版本。', - 'type' => 'string', - 'example' => '5.7', - ], - 'Instance' => [ - 'title' => '数据库实例,对应数据库名称,ODPS为project', - 'description' => '数据库实例,对应数据库名称,ODPS为project。', - 'type' => 'string', - 'example' => 'rm*********t44ju1', - ], - 'InstanceId' => [ - 'title' => '实例id', - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'rm*********t44ju1', - ], - 'ModifyUser' => [ - 'title' => '修改人的Quick BI用户ID。', - 'description' => '修改人的Quick BI用户ID。', - 'type' => 'string', - 'example' => 'U240****0880C6095', - ], - 'NoSasl' => [ - 'description' => 'impala数据源是否需要身份验证即可登录:'."\n" - ."\n" - .'- true-需要账户密码登录 '."\n" - .'- false-不需要验证(默认)', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ParentDsType' => [ - 'title' => '多引擎数据源的主数据源类型', - 'description' => '多引擎数据源的主数据源类型。', - 'type' => 'string', - 'example' => 'dataphin', - ], - 'Port' => [ - 'title' => '端口', - 'description' => '端口。', - 'type' => 'string', - 'example' => '3306', - ], - 'Project' => [ - 'title' => '获取连接串详情时,odps供前端展示使用', - 'description' => '获取连接串详情时,odps供前端展示使用。', - 'type' => 'string', - 'example' => 'prod-ossdoc', - ], - 'Schema' => [ - 'title' => '数据库schema,仅对支持schema的数据库需要设置', - 'description' => '数据库schema,仅对支持schema的数据库需要设置。', - 'type' => 'string', - 'example' => 'Analysis', - ], - 'ShowName' => [ - 'title' => '数据源前端展示名称', - 'description' => '数据源前端展示名称。', - 'type' => 'string', - 'example' => '0327', - ], - 'WorkspaceId' => [ - 'title' => '数据源所属工作空间ID', - 'description' => '数据源所属工作空间ID。', - 'type' => 'string', - 'example' => '0de6**2-d**-4720-8836-0cc****1394c', - ], + 'DsVersion' => ['title' => '数据源的版本', 'description' => '数据源的版本。', 'type' => 'string', 'example' => '5.7'], + 'Instance' => ['title' => '数据库实例,对应数据库名称,ODPS为project', 'description' => '数据库实例,对应数据库名称,ODPS为project。', 'type' => 'string', 'example' => 'rm*********t44ju1'], + 'InstanceId' => ['title' => '实例id', 'description' => '实例ID。', 'type' => 'string', 'example' => 'rm*********t44ju1'], + 'ModifyUser' => ['title' => '修改人的Quick BI用户ID。', 'description' => '修改人的Quick BI用户ID。', 'type' => 'string', 'example' => 'U240****0880C6095'], + 'NoSasl' => ['description' => 'impala数据源是否需要身份验证即可登录:'."\n" + ."\n" + .'- true-需要账户密码登录 '."\n" + .'- false-不需要验证(默认)', 'type' => 'boolean', 'example' => 'true'], + 'ParentDsType' => ['title' => '多引擎数据源的主数据源类型', 'description' => '多引擎数据源的主数据源类型。', 'type' => 'string', 'example' => 'dataphin'], + 'Port' => ['title' => '端口', 'description' => '端口。', 'type' => 'string', 'example' => '3306'], + 'Project' => ['title' => '获取连接串详情时,odps供前端展示使用', 'description' => '获取连接串详情时,odps供前端展示使用。', 'type' => 'string', 'example' => 'prod-ossdoc'], + 'Schema' => ['title' => '数据库schema,仅对支持schema的数据库需要设置', 'description' => '数据库schema,仅对支持schema的数据库需要设置。', 'type' => 'string', 'example' => 'Analysis'], + 'ShowName' => ['title' => '数据源前端展示名称', 'description' => '数据源前端展示名称。', 'type' => 'string', 'example' => '0327'], + 'WorkspaceId' => ['title' => '数据源所属工作空间ID', 'description' => '数据源所属工作空间ID。', 'type' => 'string', 'example' => '0de6**2-d**-4720-8836-0cc****1394c'], ], ], - 'Success' => [ - 'title' => '是否成功', - 'description' => '是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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', - ], + ['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' => '获取数据源信息', 'changeSet' => [ - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -7294,12 +4250,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -7308,12 +4259,8 @@ 'GetMailTaskList' => [ 'summary' => '获取订阅任务列表信息,注意:当调用者ak的权限不能查看其他人的订阅任务时,则只能返回当前调用者有权限的列表。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7321,63 +4268,31 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码:'."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码:'."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页行数:'."\n" - ."\n" - .'- 默认值:25', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '每页行数:'."\n" + ."\n" + .'- 默认值:25', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], [ 'name' => 'UserNick', 'in' => 'query', - 'schema' => [ - 'description' => '订阅负责人的用户昵称,如果不传则查全部。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '订阅负责人的用户昵称,如果不传则查全部。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'Paused', 'in' => 'query', - 'schema' => [ - 'description' => '订阅任务是否已暂停。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '订阅任务是否已暂停。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -7387,51 +4302,17 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0c52************8e1952a3', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0c52************8e1952a3'], 'Result' => [ 'description' => '订阅任务的分页信息。', 'type' => 'object', 'properties' => [ - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Pre' => [ - 'description' => '上一页,为NULL or 0,表示没有上一页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'null', - ], - 'Next' => [ - 'description' => '下一页,为NULL or 0,表示没有下一页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'null', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Pre' => ['description' => '上一页,为NULL or 0,表示没有上一页。', 'type' => 'integer', 'format' => 'int32', 'example' => 'null'], + 'Next' => ['description' => '下一页,为NULL or 0,表示没有下一页。', 'type' => 'integer', 'format' => 'int32', 'example' => 'null'], 'Data' => [ 'description' => '订阅任务信息模型数组。', 'type' => 'array', @@ -7439,74 +4320,36 @@ 'description' => '订阅任务信息模型。', 'type' => 'object', 'properties' => [ - 'MailId' => [ - 'description' => '订阅任务的邮件ID。', - 'type' => 'string', - 'example' => '2342526', - ], - 'Paused' => [ - 'description' => '任务是否暂停。'."\n" - ."\n" - .'- true -- 暂停'."\n" - .'- false -- 未暂停', - 'type' => 'boolean', - 'example' => 'true', - ], - 'BizOwnerUserId' => [ - 'description' => '负责人userId。', - 'type' => 'string', - 'example' => 'asag****2423', - ], - 'BizOwnerName' => [ - 'description' => '负责人昵称。', - 'type' => 'string', - 'example' => 'test', - ], - 'SubscribeName' => [ - 'description' => '订阅任务名称。', - 'type' => 'string', - 'example' => 'test', - ], + 'MailId' => ['description' => '订阅任务的邮件ID。', 'type' => 'string', 'example' => '2342526'], + 'Paused' => ['description' => '任务是否暂停。'."\n" + ."\n" + .'- true -- 暂停'."\n" + .'- false -- 未暂停', 'type' => 'boolean', 'example' => 'true'], + 'BizOwnerUserId' => ['description' => '负责人userId。', 'type' => 'string', 'example' => 'asag****2423'], + 'BizOwnerName' => ['description' => '负责人昵称。', 'type' => 'string', 'example' => 'test'], + 'SubscribeName' => ['description' => '订阅任务名称。', 'type' => 'string', 'example' => 'test'], ], ], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - ."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + ."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'UserRoleConfig.NotContain.Function', - 'errorMessage' => 'The user %s does not have permission to operate.', - 'description' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'UserRoleConfig.NotContain.Function', 'errorMessage' => 'The user %s does not have permission to operate.', 'description' => '此用户%s没有权限操作。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取订阅任务列表信息', 'changeSet' => [], 'flowControl' => [ @@ -7517,12 +4360,8 @@ ], 'GetMailTaskStatus' => [ 'summary' => '查看组织内邮件任务运行状态(实时状态非最终状态)。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7530,41 +4369,20 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'MailId', 'in' => 'query', - 'schema' => [ - 'title' => '邮件id', - 'description' => '邮件id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'd5a59a898b634d75be5584f8dc159c62', - ], + 'schema' => ['title' => '邮件id', 'description' => '邮件id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd5a59a898b634d75be5584f8dc159c62'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务id', - 'description' => '任务id'."\n" - ."\n" - .'> - 当任务id传参为空时,则默认返回最新的一条任务状态;'."\n" - .'> - 当任务id传参不为空时,则按传参值返回任务状态。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '7218865303929605212', - ], + 'schema' => ['title' => '任务id', 'description' => '任务id'."\n" + ."\n" + .'> - 当任务id传参为空时,则默认返回最新的一条任务状态;'."\n" + .'> - 当任务id传参不为空时,则按传参值返回任务状态。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '7218865303929605212'], ], ], 'responses' => [ @@ -7574,11 +4392,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '38C0FEC8-1510-415C-A9F1-9AE9422BDB65', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '38C0FEC8-1510-415C-A9F1-9AE9422BDB65'], 'Result' => [ 'description' => '返回结果。', 'type' => 'array', @@ -7586,79 +4400,37 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'execTime' => [ - 'title' => '执行时间,时间格式为 yyyy-MM-dd HH:mm:ss', - 'description' => '执行时间,时间格式为 yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'example' => '2024-10-09 17:34:11', - ], - 'mailId' => [ - 'title' => '邮件id', - 'description' => '邮件id', - 'type' => 'string', - 'example' => 'c38f73f4c5xxxxxc808c41b3f4d23b7852', - ], - 'status' => [ - 'title' => '邮件状态,成功:SENT ,失败:FAILED ,进行中:PROCESSING', - 'description' => '邮件状态。取值范围:'."\n" - ."\n" - .'- 成功:SENT'."\n" - .'- 失败:FAILED '."\n" - .'- 进行中:PROCESSING', - 'type' => 'string', - 'example' => 'SENT', - ], - 'taskId' => [ - 'title' => '任务id', - 'description' => '任务id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1282xxx610816', - ], + 'execTime' => ['title' => '执行时间,时间格式为 yyyy-MM-dd HH:mm:ss', 'description' => '执行时间,时间格式为 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2024-10-09 17:34:11'], + 'mailId' => ['title' => '邮件id', 'description' => '邮件id', 'type' => 'string', 'example' => 'c38f73f4c5xxxxxc808c41b3f4d23b7852'], + 'status' => ['title' => '邮件状态,成功:SENT ,失败:FAILED ,进行中:PROCESSING', 'description' => '邮件状态。取值范围:'."\n" + ."\n" + .'- 成功:SENT'."\n" + .'- 失败:FAILED '."\n" + .'- 进行中:PROCESSING', 'type' => 'string', 'example' => 'SENT'], + 'taskId' => ['title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'example' => '1282xxx610816'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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', - ], + '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' => '查看邮件任务运行状态', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -7668,12 +4440,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -7681,37 +4448,20 @@ ], 'GetUserGroupInfo' => [ 'summary' => '根据用户组名称关键字搜索用户组信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '用户组名称关键字。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '测试用户组', - ], + 'schema' => ['description' => '用户组名称关键字。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试用户组'], ], ], 'responses' => [ @@ -7719,70 +4469,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => 'D7980306-1F08-5A88-9FE7-ECB8B9C4C0F5', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'D7980306-1F08-5A88-9FE7-ECB8B9C4C0F5'], 'Result' => [ 'description' => '用户组信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '用户组创建时间。', - 'type' => 'string', - 'example' => '2021-03-15 17:13:55', - ], - 'CreateUser' => [ - 'description' => '子用户组创建者。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], - 'IdentifiedPath' => [ - 'description' => '用户组的目录层级。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/34fd141d-4598-4093-8c33-8e066dcb****', - ], - 'ModifiedTime' => [ - 'description' => '用户组最新修改时间。', - 'type' => 'string', - 'example' => '2021-03-15 20:36:40', - ], - 'ModifyUser' => [ - 'description' => '用户组修改者。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], - 'ParentUsergroupId' => [ - 'description' => '父用户组ID。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', - ], - 'UsergroupDesc' => [ - 'description' => '用户组备注。', - 'type' => 'string', - 'example' => '测试描述', - ], - 'UsergroupId' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'example' => '34fd141d-4598-4093-8c33-8e066dcb****', - ], - 'UsergroupName' => [ - 'description' => '用户组名称。', - 'type' => 'string', - 'example' => '测试用户组01', - ], + 'CreateTime' => ['description' => '用户组创建时间。', 'type' => 'string', 'example' => '2021-03-15 17:13:55'], + 'CreateUser' => ['description' => '子用户组创建者。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'example' => '46e5374665ba4b679ee22e2a2927****'], + 'IdentifiedPath' => ['description' => '用户组的目录层级。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/34fd141d-4598-4093-8c33-8e066dcb****'], + 'ModifiedTime' => ['description' => '用户组最新修改时间。', 'type' => 'string', 'example' => '2021-03-15 20:36:40'], + 'ModifyUser' => ['description' => '用户组修改者。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'example' => '46e5374665ba4b679ee22e2a2927****'], + 'ParentUsergroupId' => ['description' => '父用户组ID。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****'], + 'UsergroupDesc' => ['description' => '用户组备注。', 'type' => 'string', 'example' => '测试描述'], + 'UsergroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => '34fd141d-4598-4093-8c33-8e066dcb****'], + 'UsergroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => '测试用户组01'], ], ], ], @@ -7802,12 +4508,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -7815,12 +4516,8 @@ ], 'GetWorksEmbedList' => [ 'summary' => '查询已嵌入报表列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7828,25 +4525,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WsId', 'in' => 'query', - 'schema' => [ - 'title' => '工作空间id', - 'description' => '工作空间ID', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '919818-***-*****-wdasd', - ], + 'schema' => ['title' => '工作空间id', 'description' => '工作空间ID', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '919818-***-*****-wdasd'], ], [ 'name' => 'WorksType', @@ -7870,54 +4554,24 @@ 'type' => 'string', 'required' => false, 'docRequired' => false, - 'enumValueTitles' => [ - 'dataForm' => '数据填报', - 'dashboardOfflineQuery' => '自助取数', - 'report' => '电子表格', - 'screen' => '数据大屏', - 'ANALYSIS' => '即席分析', - 'page' => ' 仪表板', - ], + 'enumValueTitles' => ['dataForm' => '数据填报', 'dashboardOfflineQuery' => '自助取数', 'report' => '电子表格', 'screen' => '数据大屏', 'ANALYSIS' => '即席分析', 'page' => ' 仪表板'], 'example' => 'page', ], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'title' => '报表名称(模糊匹配)', - 'description' => '报表名称(模糊匹配)', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试数据集', - ], + 'schema' => ['title' => '报表名称(模糊匹配)', 'description' => '报表名称(模糊匹配)', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试数据集'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'title' => '页数(为空默认选1)', - 'description' => '页数(为空默认选1)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['title' => '页数(为空默认选1)', 'description' => '页数(为空默认选1)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '每页显示的条数(为空默认选10)', - 'description' => '每页显示的条数(为空默认选10)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '100', - ], + 'schema' => ['title' => '每页显示的条数(为空默认选10)', 'description' => '每页显示的条数(为空默认选10)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '100'], ], ], 'responses' => [ @@ -7925,12 +4579,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID', - 'type' => 'string', - 'example' => '38C0F*****0-415****9F1-*****422BDB65', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '38C0F*****0-415****9F1-*****422BDB65'], 'Result' => [ 'description' => '报表数组对象', 'type' => 'object', @@ -7942,82 +4591,27 @@ 'description' => '报表对象', 'type' => 'object', 'properties' => [ - 'EmbedTime' => [ - 'title' => '嵌入时间', - 'description' => '嵌入时间', - 'type' => 'string', - 'example' => 'YYYY-mm-DD hh:MM:ss', - ], - 'WorksId' => [ - 'title' => '报表ID', - 'description' => '报表ID', - 'type' => 'string', - 'example' => '897ce25e-****-****-af84-d13c5610****', - ], - 'WorksName' => [ - 'title' => '报表名称', - 'description' => '报表名称', - 'type' => 'string', - 'example' => '测试哦', - ], - 'WorksType' => [ - 'title' => '报表类型', - 'description' => '报表类型', - 'type' => 'string', - 'example' => 'page', - ], - 'WorkspaceId' => [ - 'title' => '所属空间ID', - 'description' => '所属空间ID', - 'type' => 'string', - 'example' => '87c6b145-****-43e1-9426-8f93be23****', - ], + 'EmbedTime' => ['title' => '嵌入时间', 'description' => '嵌入时间', 'type' => 'string', 'example' => 'YYYY-mm-DD hh:MM:ss'], + 'WorksId' => ['title' => '报表ID', 'description' => '报表ID', 'type' => 'string', 'example' => '897ce25e-****-****-af84-d13c5610****'], + 'WorksName' => ['title' => '报表名称', 'description' => '报表名称', 'type' => 'string', 'example' => '测试哦'], + 'WorksType' => ['title' => '报表类型', 'description' => '报表类型', 'type' => 'string', 'example' => 'page'], + 'WorkspaceId' => ['title' => '所属空间ID', 'description' => '所属空间ID', 'type' => 'string', 'example' => '87c6b145-****-43e1-9426-8f93be23****'], ], ], ], - 'PageNo' => [ - 'title' => '页数', - 'description' => '页数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => '每页显示的条数', - 'description' => '每页显示的条数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TotalNum' => [ - 'title' => '总条数', - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18', - ], - 'TotalPages' => [ - 'title' => '总页码', - 'description' => '总页码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], + 'PageNo' => ['title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['title' => '每页显示的条数', 'description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TotalNum' => ['title' => '总条数', 'description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '18'], + 'TotalPages' => ['title' => '总页码', 'description' => '总页码', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], ], ], - 'Success' => [ - 'description' => '请求是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '获取已经嵌入的报表', 'changeSet' => [], @@ -8029,26 +4623,92 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'IpWhiteListConfig' => [ + 'summary' => '数据安全-IP白名单配置', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'IpWhiteList', + 'in' => 'query', + 'schema' => ['title' => 'IP白名单列表,增量增加,已存在的会覆盖;传参时以英文逗号分隔', 'description' => '增加和删除时必传,ip白名单列表,多个时以英文逗号分隔', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '60.205.254.120'], + ], + [ + 'name' => 'Operation', + 'in' => 'query', + 'schema' => ['title' => '操作类型', 'description' => '操作类型'."\n" + ."\n" + .'- ADD -- 增量增加'."\n" + .'- DELETE -- 删除'."\n" + .'- QUERY -- 查询', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'add'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => [ + 'title' => 'IP白名单列表', + 'description' => 'IP白名单列表', + 'type' => 'object', + 'properties' => [ + 'IpWhiteList' => [ + 'title' => 'IP白名单数组', + 'description' => 'IP白名单数组', + 'type' => 'array', + 'items' => ['title' => 'IP', 'description' => 'IP', 'type' => 'string', 'example' => '*.*.*.*'], + ], + ], ], + 'Success' => ['title' => '请求是否成功', 'description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], + 'errorCodes' => [ + 297 => [ + ['errorCode' => 'Invalid.Parameter', 'errorMessage' => 'The length of the parameter must not exceed 1000.', 'description' => '参数长度超过1000条限制'], + ], + 400 => [ + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'Parameter.Error', 'errorMessage' => 'The input parameter is invalid.', 'description' => '输入参数无效。'], + ['errorCode' => 'LoginIp.Format.Error', 'errorMessage' => 'Invalid IP address format: %s. Only public IPv4 addresses or CIDR format are supported.', 'description' => '无效的 IP 地址格式:%s ,仅支持公网 IPv4 地址或 CIDR 格式'], + ['errorCode' => 'LoginIp.Private.Error', 'errorMessage' => 'Does not support private IP addresses: %s.', 'description' => '不支持私有IP地址:%s'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '数据安全-IP白名单配置', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": {\\n \\"IpWhiteList\\": [\\n \\"*.*.*.*\\"\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', ], 'ListAccelerationOfWorkspace' => [ 'summary' => '获取空间下加速引擎管控页任务信息。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8056,71 +4716,33 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'CubeName', 'in' => 'query', - 'schema' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '数据集名称。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'CreatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 QueryUserInfoByAccount 接口,获取 UserId。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1***************139', - ], + 'schema' => ['description' => 'Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 QueryUserInfoByAccount 接口,获取 UserId。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1***************139'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '页数(为空默认选1)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页数(为空默认选1)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - .'- 默认值:10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + .'- 默认值:10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], ], 'responses' => [ @@ -8130,52 +4752,18 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E****************05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E****************05DF8D885'], 'Result' => [ 'description' => '加速任务信息模型。', 'type' => 'object', 'properties' => [ - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', - ], - 'PageNum' => [ - 'description' => ' '."\n" - .'页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Pre' => [ - 'description' => '上一页, 为NULL or 0 ,表示没有上一页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Next' => [ - 'description' => '下一页 ,为NULL or 0,表示没有下一页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'null', - ], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '18'], + 'PageNum' => ['description' => ' '."\n" + .'页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Pre' => ['description' => '上一页, 为NULL or 0 ,表示没有上一页。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Next' => ['description' => '下一页 ,为NULL or 0,表示没有下一页。', 'type' => 'integer', 'format' => 'int32', 'example' => 'null'], 'Data' => [ 'description' => '加速任务信息数组。', 'type' => 'array', @@ -8183,98 +4771,43 @@ 'description' => '加速任务信息数组。', 'type' => 'object', 'properties' => [ - 'CubeId' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => 'd14e*********fef8de29fd', - ], - 'CubeName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'CreatorName' => [ - 'description' => '创建者姓名', - 'type' => 'string', - 'example' => 'system', - ], - 'Size' => [ - 'description' => '大小。', - 'type' => 'string', - 'example' => '47045632', - ], - 'LastModifyTime' => [ - 'description' => '最近更新时间。', - 'type' => 'string', - 'example' => '20250911 00:00:00', - ], - 'EnableQuickindexTime' => [ - 'description' => '启用加速时间。', - 'type' => 'string', - 'example' => '20250911 00:00:00', - ], - 'JobId' => [ - 'description' => '加速任务ID。', - 'type' => 'string', - 'example' => 'b30b74**********b3b', - ], - 'JobStatus' => [ - 'description' => '状态:'."\n" - ."\n" - .'- 0-待运行'."\n" - .'- 1-运行中'."\n" - .'- 2-正常结束'."\n" - .'- 3-异常结束'."\n" - .'- 4-取消'."\n" - .'- 5-警告', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'JobHistoryId' => [ - 'description' => '任务历史ID。', - 'type' => 'string', - 'example' => 'QWDAASG*******8SAD', - ], + 'CubeId' => ['description' => '数据集ID。', 'type' => 'string', 'example' => 'd14e*********fef8de29fd'], + 'CubeName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => 'test'], + 'CreatorName' => ['description' => '创建者姓名', 'type' => 'string', 'example' => 'system'], + 'Size' => ['description' => '大小。', 'type' => 'string', 'example' => '47045632'], + 'LastModifyTime' => ['description' => '最近更新时间。', 'type' => 'string', 'example' => '20250911 00:00:00'], + 'EnableQuickindexTime' => ['description' => '启用加速时间。', 'type' => 'string', 'example' => '20250911 00:00:00'], + 'JobId' => ['description' => '加速任务ID。', 'type' => 'string', 'example' => 'b30b74**********b3b'], + 'JobStatus' => ['description' => '状态:'."\n" + ."\n" + .'- 0-待运行'."\n" + .'- 1-运行中'."\n" + .'- 2-正常结束'."\n" + .'- 3-异常结束'."\n" + .'- 4-取消'."\n" + .'- 5-警告', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'JobHistoryId' => ['description' => '任务历史ID。', 'type' => 'string', 'example' => 'QWDAASG*******8SAD'], ], ], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], - [ - 'errorCode' => 'Invalid.Workspace', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '该空间不在组织内。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'Invalid.Workspace', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '该空间不在组织内。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取空间下加速引擎管控页任务信息', 'changeSet' => [], 'flowControl' => [ @@ -8285,13 +4818,8 @@ ], 'ListApiDatasource' => [ 'summary' => '查询API数据源列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8299,65 +4827,33 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89713491-cb4f-4579-b889-e82c35f1****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89713491-cb4f-4579-b889-e82c35f1****'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'API数据源列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'API数据源列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:100', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], [ 'name' => 'KeyWord', 'in' => 'query', - 'schema' => [ - 'description' => 'API数据源名称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试', - ], + 'schema' => ['description' => 'API数据源名称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试'], ], ], 'responses' => [ @@ -8366,11 +4862,7 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回查询结果。', 'type' => 'object', @@ -8381,128 +4873,55 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ApiId' => [ - 'description' => 'API数据源的ID。', - 'type' => 'string', - 'example' => '0f2c3c6409be4dc0810f2a5785e816a8', - ], - 'Body' => [ - 'description' => 'JSON格式的查询语句参数配置,用户可以自行定义。', - 'type' => 'string', - 'example' => '{"key1":"value1"}', - ], - 'DataSize' => [ - 'description' => 'API数据源的数据量。'."\n" - .'- 单位:KB', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.39746094', - ], - 'DateUpdateTime' => [ - 'description' => 'API数据源最后同步时间。', - 'type' => 'string', - 'example' => '2022-05-25 16:19:43', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2022-05-25 16:19:43', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2022-05-25 16:19:43', - ], - 'JobId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'REST_API_SYNC_0f2c3c6409be4dc0810f2a5785e816a8', - ], - 'Parameters' => [ - 'description' => 'JSONArray格式的参数配置。'."\n" - .'- name:参数名称'."\n" - .'- value:参数值', - 'type' => 'string', - 'example' => '[{"name":"token","value":"xxxxxxxxxxxx"},{"name":"pageSize","value":100}]', - ], - 'ShowName' => [ - 'description' => 'API数据源的名称。', - 'type' => 'string', - 'example' => '测试数据源', - ], + 'ApiId' => ['description' => 'API数据源的ID。', 'type' => 'string', 'example' => '0f2c3c6409be4dc0810f2a5785e816a8'], + 'Body' => ['description' => 'JSON格式的查询语句参数配置,用户可以自行定义。', 'type' => 'string', 'example' => '{"key1":"value1"}'], + 'DataSize' => ['description' => 'API数据源的数据量。'."\n" + .'- 单位:KB', 'type' => 'number', 'format' => 'float', 'example' => '0.39746094'], + 'DateUpdateTime' => ['description' => 'API数据源最后同步时间。', 'type' => 'string', 'example' => '2022-05-25 16:19:43'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-05-25 16:19:43'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2022-05-25 16:19:43'], + 'JobId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'REST_API_SYNC_0f2c3c6409be4dc0810f2a5785e816a8'], + 'Parameters' => ['description' => 'JSONArray格式的参数配置。'."\n" + .'- name:参数名称'."\n" + .'- value:参数值', 'type' => 'string', 'example' => '[{"name":"token","value":"xxxxxxxxxxxx"},{"name":"pageSize","value":100}]'], + 'ShowName' => ['description' => 'API数据源的名称。', 'type' => 'string', 'example' => '测试数据源'], 'StatusType' => [ 'description' => 'API数据源同步任务状态。', 'type' => 'integer', 'format' => 'int32', - 'enumValueTitles' => [ - '待运行', - '运行中', - '成功', - '失败', - ], + 'enumValueTitles' => ['待运行', '运行中', '成功', '失败'], 'example' => '2', ], ], ], ], - 'PageNum' => [ - 'description' => '请求获取的数据页码数,用于翻页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '请求获取的数据页码数,用于翻页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '空间不在组织内。', - ], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], ], ], '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' => '查询API数据源列表', 'description' => '具体的参数说明详见[创建API数据源。](~~409330~~)', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListApiDatasource', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApiDatasource'], ], ], 'ramActions' => [ @@ -8513,12 +4932,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -8526,13 +4940,8 @@ ], 'ListByUserGroupId' => [ 'summary' => '根据用户组ID批量查询用户组信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8540,24 +4949,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的用户组ID,批量查询时用半角逗号(,)隔开。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '34fe-***-6dcb,84q9-****-4a274', - ], + 'schema' => ['description' => '要查询的用户组ID,批量查询时用半角逗号(,)隔开。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '34fe-***-6dcb,84q9-****-4a274'], ], ], 'responses' => [ @@ -8565,30 +4962,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], 'Result' => [ 'description' => '返回用户组查询结果。', 'type' => 'object', 'properties' => [ 'FailedUserGroupIds' => [ 'type' => 'array', - 'items' => [ - 'description' => '查询失败的用户组ID。', - 'type' => 'string', - 'example' => '[]', - ], + 'items' => ['description' => '查询失败的用户组ID。', 'type' => 'string', 'example' => '[]'], ], 'UserGroupModels' => [ 'description' => '查询到的用户组详情。', @@ -8596,51 +4981,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-03-15 17:13:55', - ], - 'CreateUser' => [ - 'description' => '创建者在Quick BI的UserID。', - 'type' => 'string', - 'example' => '46e5*******ee22e2a292704c8', - ], - 'IdentifiedPath' => [ - 'description' => '用户组路径。', - 'type' => 'string', - 'example' => '2fe4fbd8-****-af083ea/34fd1-****-dcbc33f', - ], - 'ModifiedTime' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2021-03-15 20:36:40', - ], - 'ModifyUser' => [ - 'description' => '修改者在Quick BI的UserID。', - 'type' => 'string', - 'example' => '46e5*******ee22e2a292704c8', - ], - 'ParentUsergroupId' => [ - 'description' => '上级用户组的ID。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af083ea', - ], - 'UsergroupDesc' => [ - 'description' => '用户组描述信息。', - 'type' => 'string', - 'example' => '描述信息', - ], - 'UsergroupId' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'example' => '34fd141d-****-4093-8c33-8e066dcbc33f', - ], - 'UsergroupName' => [ - 'description' => '用户组名称。', - 'type' => 'string', - 'example' => '测试用户组', - ], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2021-03-15 17:13:55'], + 'CreateUser' => ['description' => '创建者在Quick BI的UserID。', 'type' => 'string', 'example' => '46e5*******ee22e2a292704c8'], + 'IdentifiedPath' => ['description' => '用户组路径。', 'type' => 'string', 'example' => '2fe4fbd8-****-af083ea/34fd1-****-dcbc33f'], + 'ModifiedTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2021-03-15 20:36:40'], + 'ModifyUser' => ['description' => '修改者在Quick BI的UserID。', 'type' => 'string', 'example' => '46e5*******ee22e2a292704c8'], + 'ParentUsergroupId' => ['description' => '上级用户组的ID。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af083ea'], + 'UsergroupDesc' => ['description' => '用户组描述信息。', 'type' => 'string', 'example' => '描述信息'], + 'UsergroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => '34fd141d-****-4093-8c33-8e066dcbc33f'], + 'UsergroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => '测试用户组'], ], ], ], @@ -8652,33 +5001,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Usergroup.Not.Exist', - 'errorMessage' => 'The user group does not exist.', - 'description' => '用户组不存在。', - ], + ['errorCode' => 'Usergroup.Not.Exist', 'errorMessage' => 'The user group does not exist.', 'description' => '用户组不存在。'], ], ], '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' => '批量查询用户组', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListByUserGroupId', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListByUserGroupId'], ], ], 'ramActions' => [ @@ -8689,12 +5023,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -8702,37 +5031,20 @@ ], 'ListCollections' => [ 'summary' => '获取用户收藏的作品列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], + 'schema' => ['description' => '用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], ], ], 'responses' => [ @@ -8740,64 +5052,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '收藏记录的主键 ID。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '162A632E-0A88-51CF-98F8-94FDEE82DB7D', - ], + 'Success' => ['description' => '收藏记录的主键 ID。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '162A632E-0A88-51CF-98F8-94FDEE82DB7D'], 'Result' => [ 'description' => '用户收藏的报表列表详情。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FavoriteId' => [ - 'description' => '收藏记录的主键 ID。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12373', - ], - 'OwnerId' => [ - 'description' => '作品所有者的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], - 'WorksId' => [ - 'description' => '作品的ID。', - 'type' => 'string', - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], - 'WorksName' => [ - 'description' => '作品的名称。', - 'type' => 'string', - 'example' => '奇异博士', - ], - 'WorksType' => [ - 'description' => '作品类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格'."\n" - .'- dataForm:数据填报'."\n" - .'- dashboardOfflineQuery:自助取数', - 'type' => 'string', - 'example' => 'dashboardOfflineQuery', - ], - 'WorkspaceId' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '9337d121-a78f-4c1b-a8bc-f81de117****', - ], - 'WorkspaceName' => [ - 'description' => '工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'FavoriteId' => ['description' => '收藏记录的主键 ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '12373'], + 'OwnerId' => ['description' => '作品所有者的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], + 'WorksId' => ['description' => '作品的ID。', 'type' => 'string', 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], + 'WorksName' => ['description' => '作品的名称。', 'type' => 'string', 'example' => '奇异博士'], + 'WorksType' => ['description' => '作品类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格'."\n" + .'- dataForm:数据填报'."\n" + .'- dashboardOfflineQuery:自助取数', 'type' => 'string', 'example' => 'dashboardOfflineQuery'], + 'WorkspaceId' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => '9337d121-a78f-4c1b-a8bc-f81de117****'], + 'WorkspaceName' => ['description' => '工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], @@ -8807,24 +5082,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '', - ], + ['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' => '获取用户收藏作品列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -8834,12 +5099,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -8847,13 +5107,8 @@ ], 'ListCubeDataLevelPermissionConfig' => [ 'summary' => '获取指定数据集的行列权限配置列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8861,38 +5116,20 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => '数据集行列权限类型。取值范围:'."\n" - ."\n" - .'- ROW_LEVEL:行级权限'."\n" - .'- COLUMN_LEVEL:列级权限', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ROW_LEVEL', - ], + 'schema' => ['description' => '数据集行列权限类型。取值范围:'."\n" + ."\n" + .'- ROW_LEVEL:行级权限'."\n" + .'- COLUMN_LEVEL:列级权限', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ROW_LEVEL'], ], ], 'responses' => [ @@ -8900,118 +5137,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '{'."\n" - .' "isOpen": 1,'."\n" - .' "extraConfigModel": { // 额外配置信息'."\n" - .' "ruleType": "ROW_LEVEL", //行级权限类型'."\n" - .' "missHitPolicy": "NONE", //命中规则策略:NONE无权限,ALL有权限'."\n" - .' "cubeId": "7c7223ae-31d1-4d2f-b11f-3c744528014b" //数据集ID'."\n" - .' },'."\n" - .' "ruleType": "ROW_LEVEL", //行列权限类型 '."\n" - .' "ruleModels": ['."\n" - .' {'."\n" - .' "ruleUsersModel": { // 针对的人群'."\n" - .' "userGroups": ['."\n" - .' "0d5fb19b-****-1248fc27ca51", // 用户组ID'."\n" - .' "4aa3f089-****-85f0-0e8ac7c2dee9"'."\n" - .' ],'."\n" - .' "users": ['."\n" - .' "HuangJia***2e3fa822", // 用户的UserID'."\n" - .' "4334***84358"'."\n" - .' ]'."\n" - .' },'."\n" - .' "ruleContentModel": {'."\n" - .' "ruleContentType": "ROW_FIELD", //行列权限类型'."\n" - .' "ruleContentJson": "{\\"conditionNode\\":{\\"caption\\":\\"周期\\",\\"isMeasure\\":false,\\"pathId\\":\\"7d3b073bc6\\",\\"relationOperator\\":\\"not-null\\",\\"name\\":\\"7d3b073bc6\\",\\"value\\":{\\"value\\":[\\"\\"],\\"valueType\\":\\"ENUM\\"}}}", //行列权限规则的JSON串'."\n" - .' "ruleOriginConfigJson": "{\\"operator\\":\\"and\\",\\"operands\\":[{\\"labelName\\":\\"周期\\",\\"isValid\\":true,\\"uniqueId\\":\\"5\\",\\"fieldId\\":\\"7d3b073bc6\\",\\"error\\":false,\\"fieldType\\":\\"string\\",\\"defaultValue\\":{\\"selectType\\":\\"condition\\",\\"value\\":{\\"conditionOp\\":\\"not-null\\",\\"conditionValue\\":\\"\\"},\\"valueType\\":\\"ENUM\\"}}],\\"isRelation\\":true}"'."\n" - .' }, //前端需求的固定格式JSON串'."\n" - .' "isOpen": 1, // 行列权限配置的开关状态 1.开启 0.关闭'."\n" - .' "hitTakeEffect": 1, // 针对列级权限,命中后规则是否生效 1生效、0不生效。'."\n" - .' "ruleName": "测试行级权限_勿删", // 行列权限规则的名称'."\n" - .' "ruleLevelType": "ROW_LEVEL", //行列权限类型'."\n" - .' "ruleId": "a5bb24da-772f-45e8-a43c-a891683e14da", // 行列权限规则的ID'."\n" - .' "cubeId": "7c7223ae-31d1-4d2f-b11f-3c744528014b", // 数据集ID'."\n" - .' "ruleTargetScope": "OTHERS" 规则生效范围:ALL所有人、OTHERS指定人'."\n" - .' }'."\n" - .' ],'."\n" - .' "cubeId": "7c7223ae-31d1-4d2f-b11f-3c744528014b" // 数据集ID'."\n" - .'}', - 'type' => 'string', - 'example' => '行列权限列表的JSON串,详情见描述。', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '{'."\n" + .' "isOpen": 1,'."\n" + .' "extraConfigModel": { // 额外配置信息'."\n" + .' "ruleType": "ROW_LEVEL", //行级权限类型'."\n" + .' "missHitPolicy": "NONE", //命中规则策略:NONE无权限,ALL有权限'."\n" + .' "cubeId": "7c7223ae-31d1-4d2f-b11f-3c744528014b" //数据集ID'."\n" + .' },'."\n" + .' "ruleType": "ROW_LEVEL", //行列权限类型 '."\n" + .' "ruleModels": ['."\n" + .' {'."\n" + .' "ruleUsersModel": { // 针对的人群'."\n" + .' "userGroups": ['."\n" + .' "0d5fb19b-****-1248fc27ca51", // 用户组ID'."\n" + .' "4aa3f089-****-85f0-0e8ac7c2dee9"'."\n" + .' ],'."\n" + .' "users": ['."\n" + .' "HuangJia***2e3fa822", // 用户的UserID'."\n" + .' "4334***84358"'."\n" + .' ]'."\n" + .' },'."\n" + .' "ruleContentModel": {'."\n" + .' "ruleContentType": "ROW_FIELD", //行列权限类型'."\n" + .' "ruleContentJson": "{\\"conditionNode\\":{\\"caption\\":\\"周期\\",\\"isMeasure\\":false,\\"pathId\\":\\"7d3b073bc6\\",\\"relationOperator\\":\\"not-null\\",\\"name\\":\\"7d3b073bc6\\",\\"value\\":{\\"value\\":[\\"\\"],\\"valueType\\":\\"ENUM\\"}}}", //行列权限规则的JSON串'."\n" + .' "ruleOriginConfigJson": "{\\"operator\\":\\"and\\",\\"operands\\":[{\\"labelName\\":\\"周期\\",\\"isValid\\":true,\\"uniqueId\\":\\"5\\",\\"fieldId\\":\\"7d3b073bc6\\",\\"error\\":false,\\"fieldType\\":\\"string\\",\\"defaultValue\\":{\\"selectType\\":\\"condition\\",\\"value\\":{\\"conditionOp\\":\\"not-null\\",\\"conditionValue\\":\\"\\"},\\"valueType\\":\\"ENUM\\"}}],\\"isRelation\\":true}"'."\n" + .' }, //前端需求的固定格式JSON串'."\n" + .' "isOpen": 1, // 行列权限配置的开关状态 1.开启 0.关闭'."\n" + .' "hitTakeEffect": 1, // 针对列级权限,命中后规则是否生效 1生效、0不生效。'."\n" + .' "ruleName": "测试行级权限_勿删", // 行列权限规则的名称'."\n" + .' "ruleLevelType": "ROW_LEVEL", //行列权限类型'."\n" + .' "ruleId": "a5bb24da-772f-45e8-a43c-a891683e14da", // 行列权限规则的ID'."\n" + .' "cubeId": "7c7223ae-31d1-4d2f-b11f-3c744528014b", // 数据集ID'."\n" + .' "ruleTargetScope": "OTHERS" 规则生效范围:ALL所有人、OTHERS指定人'."\n" + .' }'."\n" + .' ],'."\n" + .' "cubeId": "7c7223ae-31d1-4d2f-b11f-3c744528014b" // 数据集ID'."\n" + .'}', 'type' => 'string', 'example' => '行列权限列表的JSON串,详情见描述。'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '行级权限规则不存在:%s。', - ], - [ - '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' => '数据集模型不属于当前组织。', - ], + ['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' => '行级权限规则不存在:%s。'], + ['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\\": \\"行列权限列表的JSON串,详情见描述。\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListCubeDataLevelPermissionConfigResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>行列权限列表的JSON串,详情见描述。</Result>\\n <Success>true</Success>\\n</ListCubeDataLevelPermissionConfigResponse>","errorExample":""}]', 'title' => '获取数据集行列权限配置列表', 'description' => '>:当前接口仅支持Quick BI新版行列权限模型。若您仍在使用老的行列权限,请先一键迁移至新的行列权限模型后再调用该接口。一键迁移至新的行列权限模型的操作步骤:在组织管理-->安全配置-->行列权限升级新版中,单击**一键升级**,升级至新版行级权限。', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:57.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:57.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListCubeDataLevelPermissionConfig', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCubeDataLevelPermissionConfig'], ], ], 'ramActions' => [ @@ -9022,12 +5212,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -9035,13 +5220,8 @@ ], 'ListDataLevelPermissionWhiteList' => [ 'summary' => '根据行列权限种类,获取数据集行列权限的白名单列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9049,38 +5229,20 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3d5db23c-e4f2-49dd-a883-92285b48e14a', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3d5db23c-e4f2-49dd-a883-92285b48e14a'], ], [ 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => '白名单所属的行列权限类型:'."\n" - ."\n" - .'- ROW_LEVEL:行级权限'."\n" - .'- COLUMN_LEVEL:列级权限', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ROW_LEVEL', - ], + 'schema' => ['description' => '白名单所属的行列权限类型:'."\n" + ."\n" + .'- ROW_LEVEL:行级权限'."\n" + .'- COLUMN_LEVEL:列级权限', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ROW_LEVEL'], ], ], 'responses' => [ @@ -9088,96 +5250,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], 'Result' => [ 'description' => '指定行级权限类型的白名单列表。', 'type' => 'object', 'properties' => [ - 'CubeId' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => '7c7223ae-****-3c744528014b', - ], - 'RuleType' => [ - 'description' => '数据集行列权限类型。取值范围:'."\n" - ."\n" - .'- ROW_LEVEL:行级权限'."\n" - .'- COLUMN_LEVEL:列级权限', - 'type' => 'string', - 'example' => 'ROW_LEVEL', - ], + 'CubeId' => ['description' => '数据集ID。', 'type' => 'string', 'example' => '7c7223ae-****-3c744528014b'], + 'RuleType' => ['description' => '数据集行列权限类型。取值范围:'."\n" + ."\n" + .'- ROW_LEVEL:行级权限'."\n" + .'- COLUMN_LEVEL:列级权限', 'type' => 'string', 'example' => 'ROW_LEVEL'], 'UsersModel' => [ 'description' => '白名单信息。', 'type' => 'object', 'properties' => [ 'UserGroups' => [ 'type' => 'array', - 'items' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'example' => '0d5fb19b-***-1248fc27ca51', - ], + 'items' => ['description' => '用户组ID。', 'type' => 'string', 'example' => '0d5fb19b-***-1248fc27ca51'], ], 'Users' => [ 'type' => 'array', - 'items' => [ - 'description' => 'Quick BI用户的UserID。', - 'type' => 'string', - 'example' => '4334***358', - ], + 'items' => ['description' => 'Quick BI用户的UserID。', 'type' => 'string', 'example' => '4334***358'], ], ], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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":""}]', @@ -9192,12 +5306,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -9206,12 +5315,8 @@ 'ListDataSource' => [ 'summary' => '查询指定空间下的所有数据源。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9219,35 +5324,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'title' => '工作空间ID', - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => '95296e95-******c7d-8af9-dedf0ad0****', - ], + 'schema' => ['title' => '工作空间ID', 'description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => '95296e95-******c7d-8af9-dedf0ad0****'], ], [ 'name' => 'DsType', 'in' => 'query', - 'schema' => [ - 'description' => '数据源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'mysql', - ], + 'schema' => ['description' => '数据源类型。', 'type' => 'string', 'required' => false, 'example' => 'mysql'], ], ], 'responses' => [ @@ -9257,12 +5344,7 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7FC9A6A6-****-5CED-B*****E891E4075', - ], + 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '7FC9A6A6-****-5CED-B*****E891E4075'], 'Result' => [ 'title' => '数据源信息数组', 'description' => '数据源信息数组。', @@ -9272,149 +5354,42 @@ 'description' => '数据源信息。', 'type' => 'object', 'properties' => [ - 'CreatorId' => [ - 'title' => '创建人的Quick BI用户ID。', - 'description' => '创建人的Quick BI用户ID。', - 'type' => 'string', - 'example' => '281*****-485******-8', - ], - 'CreatorName' => [ - 'title' => '所有者昵称', - 'description' => '所有者昵称。', - 'type' => 'string', - 'example' => 'system', - ], - 'DatasourceId' => [ - 'title' => '数据源的id', - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '7FC9A6A6-****-5CED-B*****E891E4075', - ], - 'GmtCreate' => [ - 'title' => '数据源创建时间,yyyy-MM-dd HH:mm:ss', - 'description' => '数据源创建时间,yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'example' => '2024-04-16 13:17:39', - ], - 'GmtModified' => [ - 'title' => '修改时间', - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2024-08-15 10:06:31', - ], - 'ShowName' => [ - 'title' => '数据源展示名称', - 'description' => '数据源展示名称。', - 'type' => 'string', - 'example' => '0327', - ], - 'DsType' => [ - 'title' => '数据源类型', - 'description' => '数据源类型。', - 'type' => 'string', - 'example' => 'odps', - ], - 'ParentDsType' => [ - 'title' => '多引擎数据源的主数据源类型', - 'description' => '多引擎数据源的主数据源类型。', - 'type' => 'string', - 'example' => 'dataphin', - ], + 'CreatorId' => ['title' => '创建人的Quick BI用户ID。', 'description' => '创建人的Quick BI用户ID。', 'type' => 'string', 'example' => '281*****-485******-8'], + 'CreatorName' => ['title' => '所有者昵称', 'description' => '所有者昵称。', 'type' => 'string', 'example' => 'system'], + 'DatasourceId' => ['title' => '数据源的id', 'description' => '数据源ID。', 'type' => 'string', 'example' => '7FC9A6A6-****-5CED-B*****E891E4075'], + 'GmtCreate' => ['title' => '数据源创建时间,yyyy-MM-dd HH:mm:ss', 'description' => '数据源创建时间,yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'example' => '2024-04-16 13:17:39'], + 'GmtModified' => ['title' => '修改时间', 'description' => '修改时间。', 'type' => 'string', 'example' => '2024-08-15 10:06:31'], + 'ShowName' => ['title' => '数据源展示名称', 'description' => '数据源展示名称。', 'type' => 'string', 'example' => '0327'], + 'DsType' => ['title' => '数据源类型', 'description' => '数据源类型。', 'type' => 'string', 'example' => 'odps'], + 'ParentDsType' => ['title' => '多引擎数据源的主数据源类型', 'description' => '多引擎数据源的主数据源类型。', 'type' => 'string', 'example' => 'dataphin'], ], ], ], - 'Success' => [ - 'title' => '请求是否成功', - 'description' => '请求是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['title' => '请求是否成功', 'description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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', - ], + ['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'], '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"}]', 'title' => '查询指定空间下的所有数据源', 'requestParamsDescription' => '数据源类型码值:'."\n" @@ -9485,14 +5460,8 @@ .'- mariadb -- MariaDB数据源'."\n" .'- adb_spark -- adb数据源Spark引擎', 'changeSet' => [ - [ - 'createdAt' => '2025-08-11T03:10:11.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-08-11T03:10:11.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -9502,26 +5471,82 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListDynamicTag' => [ + 'summary' => '获取当前组织的动态标签列表。', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'D787E1A**********DF8D885'], + 'Result' => [ + 'title' => '标签列表', + 'description' => '标签列表', + 'type' => 'array', + 'items' => [ + 'title' => '标签信息对象', + 'description' => '标签信息对象', + 'type' => 'object', + 'properties' => [ + 'OrganizationId' => ['title' => '组织ID', 'description' => '组织ID', 'type' => 'string', 'example' => '2fe4fbd8-****-****-b3e1-e92c7af083ea'], + 'ConfigId' => ['title' => '单条配置ID', 'description' => '单条配置ID', 'type' => 'string', 'example' => 'cfg****14352318681088'], + 'ConfigName' => ['title' => '标签配置名称', 'description' => '标签配置名称', 'type' => 'string', 'example' => 'eip'], + 'DsId' => ['title' => '关联数据源ID', 'description' => '关联数据源ID', 'type' => 'string', 'example' => 'a201c85c-******'], + 'TableName' => ['title' => '关联数据源表名', 'description' => '关联数据源表名', 'type' => 'string', 'example' => 'testTable02\\"\''], + 'ColumnName' => ['title' => '关联数据源列名', 'description' => '关联数据源列名', 'type' => 'string', 'example' => 'site_id'], + 'RelatedAttribute' => ['title' => '关联用户属性'."\n" + .'● 0:账号ID'."\n" + .'● 1:账号名'."\n" + .'● 2:组织内昵称', 'description' => '关联用户属性'."\n" + ."\n" + .'- 0:账号ID'."\n" + .'- 1:账号名'."\n" + .'- 2:组织内昵称', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], ], + 'Success' => ['title' => '请求是否成功', 'description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取当前组织的动态标签列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A**********DF8D885\\",\\n \\"Result\\": [\\n {\\n \\"OrganizationId\\": \\"2fe4fbd8-****-****-b3e1-e92c7af083ea\\",\\n \\"ConfigId\\": \\"cfg****14352318681088\\",\\n \\"ConfigName\\": \\"eip\\",\\n \\"DsId\\": \\"a201c85c-******\\",\\n \\"TableName\\": \\"testTable02\\\\\\\\\\\\\\"\'\\",\\n \\"ColumnName\\": \\"site_id\\",\\n \\"RelatedAttribute\\": 1\\n }\\n ],\\n \\"Success\\": true\\n}","type":"json"}]', ], 'ListFavoriteReports' => [ 'summary' => '获取指定用户在首页看板中展示的收藏作品列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9529,64 +5554,32 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询用户在Quick BI中的UserID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'b5d8fd9348cc4327****afb604', - ], + 'schema' => ['description' => '要查询用户在Quick BI中的UserID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b5d8fd9348cc4327****afb604'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '作品名称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '财务报表', - ], + 'schema' => ['description' => '作品名称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '财务报表'], ], [ 'name' => 'TreeType', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品的类型(填空查询所有类型)。取值范围 :'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'PAGE', - ], + 'schema' => ['description' => '查询作品的类型(填空查询所有类型)。取值范围 :'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'PAGE'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品列表的行数:'."\n" - .'默认值:10'."\n" - .'最大值:9999', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '查询作品列表的行数:'."\n" + .'默认值:10'."\n" + .'最大值:9999', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -9594,11 +5587,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回查询结果。', 'type' => 'object', @@ -9609,122 +5598,41 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Favorite' => [ - 'description' => '查询用户是否收藏了该作品。'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'FavoriteDate' => [ - 'description' => '作品收藏时间戳', - 'type' => 'string', - 'example' => '1640088615000', - ], - 'GmtCreate' => [ - 'description' => '作品创建时间戳。', - 'type' => 'string', - 'example' => '1640088615000', - ], - 'GmtModified' => [ - 'description' => '作品修改的时间戳。', - 'type' => 'string', - 'example' => '1640595729000', - ], - 'HasEditAuth' => [ - 'description' => '查询用户是拥有作品的编辑权限。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'HasViewAuth' => [ - 'description' => '查询用户是拥有作品的查看权限。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Name' => [ - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'OwnerName' => [ - 'description' => '作品所有者的阿里云账号名。', - 'type' => 'string', - 'example' => 'luyaotest的昵称非管理员', - ], - 'OwnerNum' => [ - 'description' => '作品所有者的UserID。', - 'type' => 'string', - 'example' => '1365*****238860', - ], - 'PublishStatus' => [ - 'description' => '作品的发布状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改保存未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TreeId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '977c7698-****-****-****-44b7304d20fc', - ], - 'Type' => [ - 'description' => '作品类型。取值范围 :'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'WorkspaceId' => [ - 'description' => '作品所属的工作空间ID。', - 'type' => 'string', - 'example' => '523793cb-****-****-****-aa71c65ffa39', - ], - 'WorkspaceName' => [ - 'description' => '作品所属的工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'Favorite' => ['description' => '查询用户是否收藏了该作品。'."\n", 'type' => 'boolean', 'example' => 'true'], + 'FavoriteDate' => ['description' => '作品收藏时间戳', 'type' => 'string', 'example' => '1640088615000'], + 'GmtCreate' => ['description' => '作品创建时间戳。', 'type' => 'string', 'example' => '1640088615000'], + 'GmtModified' => ['description' => '作品修改的时间戳。', 'type' => 'string', 'example' => '1640595729000'], + 'HasEditAuth' => ['description' => '查询用户是拥有作品的编辑权限。', 'type' => 'boolean', 'example' => 'true'], + 'HasViewAuth' => ['description' => '查询用户是拥有作品的查看权限。', 'type' => 'boolean', 'example' => 'true'], + 'Name' => ['description' => '作品名称。', 'type' => 'string', 'example' => '测试报表'], + 'OwnerName' => ['description' => '作品所有者的阿里云账号名。', 'type' => 'string', 'example' => 'luyaotest的昵称非管理员'], + 'OwnerNum' => ['description' => '作品所有者的UserID。', 'type' => 'string', 'example' => '1365*****238860'], + 'PublishStatus' => ['description' => '作品的发布状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改保存未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TreeId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '977c7698-****-****-****-44b7304d20fc'], + 'Type' => ['description' => '作品类型。取值范围 :'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格', 'type' => 'string', 'example' => 'PAGE'], + 'WorkspaceId' => ['description' => '作品所属的工作空间ID。', 'type' => 'string', 'example' => '523793cb-****-****-****-aa71c65ffa39'], + 'WorkspaceName' => ['description' => '作品所属的工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => ' '."\n" - .'请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => ' '."\n" + .'请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -9741,12 +5649,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -9754,13 +5657,8 @@ ], 'ListOrganizationRoleUsers' => [ 'summary' => '获取指定组织角色下的用户列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9768,68 +5666,35 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'RoleId', 'in' => 'query', - 'schema' => [ - 'description' => '组织角色ID,包括预置角色和自定义角色:'."\n" - ."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113'."\n" - .'- 自定义角色:自定义角色对应的角色ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '111111111', - ], + 'schema' => ['description' => '组织角色ID,包括预置角色和自定义角色:'."\n" + ."\n" + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113'."\n" + .'- 自定义角色:自定义角色对应的角色ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '111111111'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '页码。'."\n" - ."\n" - .'- 默认值1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页码。'."\n" + ."\n" + .'- 默认值1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页行数。'."\n" - .'- 默认值10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '每页行数。'."\n" + .'- 默认值10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '组织成员昵称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '小刘', - ], + 'schema' => ['description' => '组织成员昵称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '小刘'], ], ], 'responses' => [ @@ -9837,11 +5702,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF'], 'Result' => [ 'description' => '返回组织角色下的用户列表。', 'type' => 'object', @@ -9853,63 +5714,27 @@ 'description' => '用户详情。', 'type' => 'object', 'properties' => [ - 'NickName' => [ - 'description' => '组织成员的昵称。', - 'type' => 'string', - 'example' => '测试用户', - ], - 'UserId' => [ - 'description' => '组织成员在Quick BI的UserID。', - 'type' => 'string', - 'example' => 'b5d8fd9348cc4327****afb604', - ], + 'NickName' => ['description' => '组织成员的昵称。', 'type' => 'string', 'example' => '测试用户'], + 'UserId' => ['description' => '组织成员在Quick BI的UserID。', 'type' => 'string', 'example' => 'b5d8fd9348cc4327****afb604'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'User.Role.NotExist', - 'errorMessage' => 'User role not exist: %s.', - 'description' => '', - ], + ['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"}]', @@ -9923,12 +5748,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -9936,13 +5756,8 @@ ], 'ListOrganizationRoles' => [ 'summary' => '获取组织角色列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9950,24 +5765,14 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976'], 'Result' => [ 'description' => '返回组织角色列表。', 'type' => 'array', @@ -9982,56 +5787,35 @@ 'description' => '具体的权限配置。', 'type' => 'object', 'properties' => [ - 'AuthKey' => [ - 'description' => '权限类型:'."\n" - .'- quick_monitor:指标监控'."\n" - .'- subscription:订阅管理'."\n" - .'- offline_download:自助取数'."\n" - .'- resource_package:资源包管理'."\n" - .'- organization_ask:组织识别码(AK/SK)'."\n" - .'- developer_openapi:开放API'."\n" - .'- data_service:数据服务'."\n" - .'- admin_authorize3rd:嵌入分析'."\n" - .'- component_manage:自定义组件'."\n" - .'- template_open:自定义模版'."\n" - .'- custom_driver:自定义驱动(仅独立部署支持)'."\n" - .'- open_platform_custom_plugin:自定义插件(仅独立部署支持)'."\n" - .'- enterprise_safety:企业安全', - 'type' => 'string', - 'example' => 'enterprise_safety', - ], + 'AuthKey' => ['description' => '权限类型:'."\n" + .'- quick_monitor:指标监控'."\n" + .'- subscription:订阅管理'."\n" + .'- offline_download:自助取数'."\n" + .'- resource_package:资源包管理'."\n" + .'- organization_ask:组织识别码(AK/SK)'."\n" + .'- developer_openapi:开放API'."\n" + .'- data_service:数据服务'."\n" + .'- admin_authorize3rd:嵌入分析'."\n" + .'- component_manage:自定义组件'."\n" + .'- template_open:自定义模版'."\n" + .'- custom_driver:自定义驱动(仅独立部署支持)'."\n" + .'- open_platform_custom_plugin:自定义插件(仅独立部署支持)'."\n" + .'- enterprise_safety:企业安全', 'type' => 'string', 'example' => 'enterprise_safety'], ], ], ], - 'IsSystemRole' => [ - 'description' => '是否是预置角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RoleId' => [ - 'description' => '角色ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '111111111', - ], - 'RoleName' => [ - 'description' => '角色名称。', - 'type' => 'string', - 'example' => '组织管理员', - ], + 'IsSystemRole' => ['description' => '是否是预置角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否', 'type' => 'boolean', 'example' => 'true'], + 'RoleId' => ['description' => '角色ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111'], + 'RoleName' => ['description' => '角色名称。', 'type' => 'string', 'example' => '组织管理员'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -10040,10 +5824,7 @@ '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' => '获取组织角色列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -10053,12 +5834,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -10066,37 +5842,20 @@ ], 'ListPortalMenuAuthorization' => [ 'summary' => '获取数据门户菜单的授权详情列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DataPortalId', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0d173abb53e84c8ca7495429163b****', - ], + 'schema' => ['description' => '数据门户的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0d173abb53e84c8ca7495429163b****'], ], ], 'responses' => [ @@ -10104,19 +5863,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], 'Result' => [ 'description' => '门户菜单的授权详情列表。', 'type' => 'array', @@ -10124,11 +5875,7 @@ 'description' => '门户菜单的授权详情列表。', 'type' => 'object', 'properties' => [ - 'MenuId' => [ - 'description' => '数据门户的叶子节点菜单ID。', - 'type' => 'string', - 'example' => '54kqgoa****', - ], + 'MenuId' => ['description' => '数据门户的叶子节点菜单ID。', 'type' => 'string', 'example' => '54kqgoa****'], 'Receivers' => [ 'description' => '菜单所授权的对象详情。', 'type' => 'array', @@ -10136,52 +5883,32 @@ 'description' => '菜单所授权的对象详情。', 'type' => 'object', 'properties' => [ - 'ReceiverId' => [ - 'description' => '授权对象ID。'."\n" - .'> '."\n" - .'> - 授权对象类型为组织时,该ID对应组织ID'."\n" - .'> - 授权对象类型为空间时,该ID对应空间ID', - 'type' => 'string', - 'example' => '121344444790****', - ], - 'ReceiverType' => [ - 'description' => '授权对象类型。取值范围:'."\n" - ."\n" - .'- 0:用户'."\n" - .'- 1:用户组'."\n" - .'- 2:组织'."\n" - .'- 3:空间', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'AuthPointsValue' => [ - 'description' => '菜单授权类型。取值范围:'."\n" - ."\n" - .'- 1:查看'."\n" - .'- 11:编辑'."\n" - .'- 3:导出和查看'."\n" - .'- 10 :管理填报数据', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'ReceiverId' => ['description' => '授权对象ID。'."\n" + .'> '."\n" + .'> - 授权对象类型为组织时,该ID对应组织ID'."\n" + .'> - 授权对象类型为空间时,该ID对应空间ID', 'type' => 'string', 'example' => '121344444790****'], + 'ReceiverType' => ['description' => '授权对象类型。取值范围:'."\n" + ."\n" + .'- 0:用户'."\n" + .'- 1:用户组'."\n" + .'- 2:组织'."\n" + .'- 3:空间', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'AuthPointsValue' => ['description' => '菜单授权类型。取值范围:'."\n" + ."\n" + .'- 1:查看'."\n" + .'- 11:编辑'."\n" + .'- 3:导出和查看'."\n" + .'- 10 :管理填报数据', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], ], - 'ShowOnlyWithAccess' => [ - 'title' => '菜单授权类型。取值范围:'."\n" - .'● 1:查看'."\n" - .'● 11:编辑'."\n" - .'● 3:导出和查看', - 'description' => '是否仅授权可见。取值范围:'."\n" - ."\n" - .'- true:仅授权可见'."\n" - .'- false:都可见', - 'type' => 'boolean', - 'example' => 'true', - ], + 'ShowOnlyWithAccess' => ['title' => '菜单授权类型。取值范围:'."\n" + .'● 1:查看'."\n" + .'● 11:编辑'."\n" + .'● 3:导出和查看', 'description' => '是否仅授权可见。取值范围:'."\n" + ."\n" + .'- true:仅授权可见'."\n" + .'- false:都可见', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -10191,28 +5918,15 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '', - ], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","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}","errorExample":""},{"type":"xml","example":"<ListPortalMenuAuthorizationResponse>\\n <Success>true</Success>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>\\n <ShowOnlyWithAccess>true</ShowOnlyWithAccess>\\n <MenuId>54kqgoa****</MenuId>\\n <Receivers>\\n <ReceiverId>121344444790****</ReceiverId>\\n <ReceiverType>0</ReceiverType>\\n </Receivers>\\n </Result>\\n</ListPortalMenuAuthorizationResponse>","errorExample":""}]', 'title' => '获取数据门户菜单的授权详情', 'changeSet' => [ - [ - 'createdAt' => '2025-08-11T03:10:11.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-08-11T03:10:11.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -10222,12 +5936,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -10235,47 +5944,25 @@ ], 'ListPortalMenus' => [ 'summary' => '获取具体数据门户下的分层菜单列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DataPortalId', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0d173abb53e84c8ca7495429163b****', - ], + 'schema' => ['description' => '数据门户的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0d173abb53e84c8ca7495429163b****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI中的用户ID。传入时列表仅展示用户有权限的菜单。', - 'type' => 'string', - 'required' => false, - 'example' => '1234567***', - ], + 'schema' => ['description' => 'Quick BI中的用户ID。传入时列表仅展示用户有权限的菜单。', 'type' => 'string', 'required' => false, 'example' => '1234567***'], ], ], 'responses' => [ @@ -10283,37 +5970,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '75912036-5527-4B7E-9265-B481D6651AC2', - ], - 'Result' => [ - 'description' => '分级门户菜单列表详情的JSON字符串。取值范围:'."\n" - ."\n" - .'- menuType:菜单类型。'."\n" - .' - 0:仪表板'."\n" - .' - 1:外链'."\n" - .' - 2:电子表格'."\n" - .' - 4:目录文件夹'."\n" - .' - 5:表单填报'."\n" - .' - 6:自助取数'."\n" - .'- menuId:菜单ID'."\n" - .'- uri: 菜单关联资源的ID或者URL'."\n" - .'- showOnlyWithAccess:是否仅授权可见'."\n" - .'- menuName:菜单显示名称'."\n" - .'- dependentPermisson:菜单关联的报表资源是否有权限'."\n" - .'- children:子菜单', - '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}]', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '75912036-5527-4B7E-9265-B481D6651AC2'], + 'Result' => ['description' => '分级门户菜单列表详情的JSON字符串。取值范围:'."\n" + ."\n" + .'- menuType:菜单类型。'."\n" + .' - 0:仪表板'."\n" + .' - 1:外链'."\n" + .' - 2:电子表格'."\n" + .' - 4:目录文件夹'."\n" + .' - 5:表单填报'."\n" + .' - 6:自助取数'."\n" + .'- menuId:菜单ID'."\n" + .'- uri: 菜单关联资源的ID或者URL'."\n" + .'- showOnlyWithAccess:是否仅授权可见'."\n" + .'- menuName:菜单显示名称'."\n" + .'- dependentPermisson:菜单关联的报表资源是否有权限'."\n" + .'- children:子菜单', '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}]'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -10322,14 +5997,8 @@ '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":"<ListPortalMenusResponse>\\n <RequestId>75912036-5527-4B7E-9265-B481D6651AC2</RequestId>\\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}]</Result>\\n <Success>true</Success>\\n</ListPortalMenusResponse>","errorExample":""}]', 'title' => '获取数据门户菜单列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:31.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:31.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -10339,12 +6008,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -10352,13 +6016,8 @@ ], 'ListRecentViewReports' => [ 'summary' => '获取指定用户在首页看板中展示的常看和足迹列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10366,93 +6025,46 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的用户在Quick BI中的UserID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'b5d8fd9348cc4327****afb604', - ], + 'schema' => ['description' => '要查询的用户在Quick BI中的UserID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b5d8fd9348cc4327****afb604'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '作品名称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '财务报表', - ], + 'schema' => ['description' => '作品名称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '财务报表'], ], [ 'name' => 'TreeType', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品的类型(填空查询所有类型)。取值范围 :'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'PAGE', - ], + 'schema' => ['description' => '查询作品的类型(填空查询所有类型)。取值范围 :'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'PAGE'], ], [ 'name' => 'QueryMode', 'in' => 'query', - 'schema' => [ - 'description' => '查询模式。取值范围:'."\n" - ."\n" - .'- 1:按访问次数排序'."\n" - .'- 2:按最近访问时间排序', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '查询模式。取值范围:'."\n" + ."\n" + .'- 1:按访问次数排序'."\n" + .'- 2:按最近访问时间排序', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品列表的行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:9999', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '查询作品列表的行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:9999', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10', 'default' => '10'], ], [ 'name' => 'OffsetDay', 'in' => 'query', - 'schema' => [ - 'description' => '查询最近多少天的数据(默认10天)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '查询最近多少天的数据(默认10天)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -10460,149 +6072,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回查询结果。', 'type' => 'object', 'properties' => [ - 'Attention' => [ - 'type' => 'string', - 'example' => '当前API返回的分页参数如TotalNum等即将下线,如有使用请及时修改', - 'default' => '当前API返回的分页参数如TotalNum等即将下线,如有使用请及时修改', - ], + 'Attention' => ['type' => 'string', 'example' => '当前API返回的分页参数如TotalNum等即将下线,如有使用请及时修改', 'default' => '当前API返回的分页参数如TotalNum等即将下线,如有使用请及时修改'], 'Data' => [ 'description' => '查询到的作品列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Favorite' => [ - 'description' => '查询用户是否收藏了该作品。'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'GmtCreate' => [ - 'description' => '作品创建时间戳。', - 'type' => 'string', - 'example' => '1496651577000', - ], - 'GmtModified' => [ - 'description' => '作品修改的时间戳。', - 'type' => 'string', - 'example' => '1640595729000', - ], - 'HasEditAuth' => [ - 'description' => '查询用户是拥有作品的编辑权限。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'HasViewAuth' => [ - 'description' => '查询用户是拥有作品的查看权限。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LatestViewTime' => [ - 'description' => '作品最后一次被访问的时间戳。', - 'type' => 'string', - 'example' => '1642067498000', - ], - 'Name' => [ - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'OwnerName' => [ - 'description' => '作品所有者的阿里云账号名。', - 'type' => 'string', - 'example' => '李四', - ], - 'OwnerNum' => [ - 'description' => '作品所有者的UserID。', - 'type' => 'string', - 'example' => '1365*****238860', - ], - 'PublishStatus' => [ - 'description' => '作品的发布状态。取值范围:'."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改保存未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TreeId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '977c7698-****-****-****-44b7304d20fc', - ], - 'Type' => [ - 'description' => '作品类型。取值范围 :'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'ViewCount' => [ - 'description' => '作品被访问的次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7', - ], - 'WorkspaceId' => [ - 'description' => '作品所属的工作空间ID。', - 'type' => 'string', - 'example' => '523793cb-****-****-****-aa71c65ffa39', - ], - 'WorkspaceName' => [ - 'description' => '作品所属的工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'Favorite' => ['description' => '查询用户是否收藏了该作品。'."\n", 'type' => 'boolean', 'example' => 'true'], + 'GmtCreate' => ['description' => '作品创建时间戳。', 'type' => 'string', 'example' => '1496651577000'], + 'GmtModified' => ['description' => '作品修改的时间戳。', 'type' => 'string', 'example' => '1640595729000'], + 'HasEditAuth' => ['description' => '查询用户是拥有作品的编辑权限。', 'type' => 'boolean', 'example' => 'true'], + 'HasViewAuth' => ['description' => '查询用户是拥有作品的查看权限。', 'type' => 'boolean', 'example' => 'true'], + 'LatestViewTime' => ['description' => '作品最后一次被访问的时间戳。', 'type' => 'string', 'example' => '1642067498000'], + 'Name' => ['description' => '作品名称。', 'type' => 'string', 'example' => '测试报表'], + 'OwnerName' => ['description' => '作品所有者的阿里云账号名。', 'type' => 'string', 'example' => '李四'], + 'OwnerNum' => ['description' => '作品所有者的UserID。', 'type' => 'string', 'example' => '1365*****238860'], + 'PublishStatus' => ['description' => '作品的发布状态。取值范围:'."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改保存未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TreeId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '977c7698-****-****-****-44b7304d20fc'], + 'Type' => ['description' => '作品类型。取值范围 :'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格', 'type' => 'string', 'example' => 'PAGE'], + 'ViewCount' => ['description' => '作品被访问的次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '7'], + 'WorkspaceId' => ['description' => '作品所属的工作空间ID。', 'type' => 'string', 'example' => '523793cb-****-****-****-aa71c65ffa39'], + 'WorkspaceName' => ['description' => '作品所属的工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页显示的数据条数。'."\n" - ."\n" - .'- 默认为10条'."\n" - .'- 最大为100条', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页显示的数据条数。'."\n" + ."\n" + .'- 默认为10条'."\n" + .'- 最大为100条', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -10611,14 +6129,8 @@ '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' => '获取首页看板常看和足迹列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -10628,12 +6140,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -10641,13 +6148,8 @@ ], 'ListSharedReports' => [ 'summary' => '获取指定用户在首页看板中展示的被授权的作品列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10655,65 +6157,33 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询用户在Quick BI中的UserID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'b5d8fd9348cc4327****afb604', - ], + 'schema' => ['description' => '要查询用户在Quick BI中的UserID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b5d8fd9348cc4327****afb604'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '作品名称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试报表', - ], + 'schema' => ['description' => '作品名称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试报表'], ], [ 'name' => 'TreeType', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品的类型(填空查询所有类型)。取值范围 :'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'PAGE', - ], + 'schema' => ['description' => '查询作品的类型(填空查询所有类型)。取值范围 :'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'PAGE'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品列表的行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:9999', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '查询作品列表的行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:9999', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -10721,11 +6191,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回查询结果。', 'type' => 'object', @@ -10736,116 +6202,39 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Favorite' => [ - 'description' => '查询用户是否收藏了该作品。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'GmtCreate' => [ - 'description' => '作品创建时间戳。', - 'type' => 'string', - 'example' => '1640088615000', - ], - 'GmtModified' => [ - 'description' => '作品修改的时间戳。', - 'type' => 'string', - 'example' => '1644373980000', - ], - 'HasEditAuth' => [ - 'description' => '查询用户是拥有作品的编辑权限。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'HasViewAuth' => [ - 'description' => '查询用户是拥有作品的查看权限。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Name' => [ - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'OwnerName' => [ - 'description' => '作品所有者的阿里云账号名。', - 'type' => 'string', - 'example' => 'test账号', - ], - 'OwnerNum' => [ - 'description' => '作品所有者的UserID。', - 'type' => 'string', - 'example' => '1365*****238860', - ], - 'PublishStatus' => [ - 'description' => '作品的发布状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改保存未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TreeId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '977c7698-****-****-****-44b7304d20fc', - ], - 'Type' => [ - 'description' => '作品类型。取值范围 :'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'WorkspaceId' => [ - 'description' => '作品所属的工作空间ID。', - 'type' => 'string', - 'example' => 'gfidm145-****-****-9426-8f93be23****', - ], - 'WorkspaceName' => [ - 'description' => '作品所属的工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'Favorite' => ['description' => '查询用户是否收藏了该作品。', 'type' => 'boolean', 'example' => 'true'], + 'GmtCreate' => ['description' => '作品创建时间戳。', 'type' => 'string', 'example' => '1640088615000'], + 'GmtModified' => ['description' => '作品修改的时间戳。', 'type' => 'string', 'example' => '1644373980000'], + 'HasEditAuth' => ['description' => '查询用户是拥有作品的编辑权限。', 'type' => 'boolean', 'example' => 'true'], + 'HasViewAuth' => ['description' => '查询用户是拥有作品的查看权限。', 'type' => 'boolean', 'example' => 'true'], + 'Name' => ['description' => '作品名称。', 'type' => 'string', 'example' => '测试报表'], + 'OwnerName' => ['description' => '作品所有者的阿里云账号名。', 'type' => 'string', 'example' => 'test账号'], + 'OwnerNum' => ['description' => '作品所有者的UserID。', 'type' => 'string', 'example' => '1365*****238860'], + 'PublishStatus' => ['description' => '作品的发布状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改保存未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TreeId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '977c7698-****-****-****-44b7304d20fc'], + 'Type' => ['description' => '作品类型。取值范围 :'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格', 'type' => 'string', 'example' => 'PAGE'], + 'WorkspaceId' => ['description' => '作品所属的工作空间ID。', 'type' => 'string', 'example' => 'gfidm145-****-****-9426-8f93be23****'], + 'WorkspaceName' => ['description' => '作品所属的工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -10854,23 +6243,12 @@ '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":"<ListSharedReportsResponse>\\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>test账号</OwnerName>\\n <GmtCreate>1640088615000</GmtCreate>\\n <GmtModified>1644373980000</GmtModified>\\n <PublishStatus>1</PublishStatus>\\n <Favorite>true</Favorite>\\n <HasViewAuth>true</HasViewAuth>\\n <HasEditAuth>true</HasEditAuth>\\n <WorkspaceId>gfidm145-****-****-9426-8f93be23****</WorkspaceId>\\n <WorkspaceName>测试工作空间</WorkspaceName>\\n </Data>\\n </Result>\\n <Success>true</Success>\\n</ListSharedReportsResponse>","errorExample":""}]', 'title' => '获取首页看板被授权的作品列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListSharedReports', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSharedReports'], ], ], 'ramActions' => [ @@ -10881,12 +6259,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -10894,37 +6267,20 @@ ], 'ListUserGroupsByUserId' => [ 'summary' => '根据用户的UserID,查询该用户所属的所有用户组信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], + 'schema' => ['description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '46e5374665ba4b679ee22e2a2927****'], ], ], 'responses' => [ @@ -10932,70 +6288,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E2440604-3059-561A-AD68-DEDBC870EB2B', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E2440604-3059-561A-AD68-DEDBC870EB2B'], 'Result' => [ 'description' => '用户组信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '用户组创建时间。', - 'type' => 'string', - 'example' => '2021-03-15 17:13:55', - ], - 'CreateUser' => [ - 'description' => '用户组创建者。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], - 'IdentifiedPath' => [ - 'description' => '用户组的目录层级。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', - ], - 'ModifiedTime' => [ - 'description' => '用户组最新修改时间。', - 'type' => 'string', - 'example' => '2021-03-15 20:36:40', - ], - 'ModifyUser' => [ - 'description' => '用户组修改者。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], - 'ParentUsergroupId' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', - ], - 'UsergroupDesc' => [ - 'description' => '用户组备注。', - 'type' => 'string', - 'example' => '备注', - ], - 'UsergroupId' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'example' => '34fd141d-4598-4093-8c33-8e066dcb****', - ], - 'UsergroupName' => [ - 'description' => '用户组名称。', - 'type' => 'string', - 'example' => '测试用户组', - ], + 'CreateTime' => ['description' => '用户组创建时间。', 'type' => 'string', 'example' => '2021-03-15 17:13:55'], + 'CreateUser' => ['description' => '用户组创建者。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'example' => '46e5374665ba4b679ee22e2a2927****'], + 'IdentifiedPath' => ['description' => '用户组的目录层级。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****'], + 'ModifiedTime' => ['description' => '用户组最新修改时间。', 'type' => 'string', 'example' => '2021-03-15 20:36:40'], + 'ModifyUser' => ['description' => '用户组修改者。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'example' => '46e5374665ba4b679ee22e2a2927****'], + 'ParentUsergroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****'], + 'UsergroupDesc' => ['description' => '用户组备注。', 'type' => 'string', 'example' => '备注'], + 'UsergroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => '34fd141d-4598-4093-8c33-8e066dcb****'], + 'UsergroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => '测试用户组'], ], ], ], @@ -11007,14 +6319,8 @@ '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":"<ListUserGroupsByUserIdResponse>\\n <Success>true</Success>\\n <RequestId>E2440604-3059-561A-AD68-DEDBC870EB2B</RequestId>\\n <Result>\\n <IdentifiedPath>2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****</IdentifiedPath>\\n <ParentUsergroupId>2fe4fbd8-588f-489a-b3e1-e92c7af0****</ParentUsergroupId>\\n <ModifiedTime>2021-03-15 20:36:40</ModifiedTime>\\n <CreateUser>46e5374665ba4b679ee22e2a2927****</CreateUser>\\n <UsergroupName>测试用户组</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</ListUserGroupsByUserIdResponse>","errorExample":""}]', 'title' => '查询用户所属的用户组信息列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -11024,12 +6330,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -11038,12 +6339,8 @@ 'ListWhitePortalMenu' => [ 'summary' => '获取数据门户菜单的白名单列表。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11051,24 +6348,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'DataportalId', 'in' => 'query', - 'schema' => [ - 'description' => '数据门户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'asdagad***213425', - ], + 'schema' => ['description' => '数据门户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asdagad***213425'], ], ], 'responses' => [ @@ -11078,11 +6363,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1**********0DF67E2C3', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1**********0DF67E2C3'], 'Result' => [ 'description' => '白名单列表。', 'type' => 'array', @@ -11090,84 +6371,41 @@ 'description' => '白名单信息。', 'type' => 'object', 'properties' => [ - 'ReceiverId' => [ - 'title' => '授权对象的ID。', - 'description' => '授权对象的ID,当空间或组织级别时则返回空间ID或组织ID。', - 'type' => 'string', - 'example' => '8a4***********1e769', - ], - 'ReceiverType' => [ - 'title' => '授权对象类型。取值范围:'."\n" - .'● 0:用户 '."\n" - .'● 1:用户组 ', - 'description' => '授权对象类型。取值范围: '."\n" - ."\n" - .'- 0:用户 '."\n" - .'- 1:用户组'."\n" - .'- 3:空间或组织级别', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'AuthPointsValue' => [ - 'title' => '菜单授权类型。取值范围:'."\n" - .'● 1:查看'."\n" - .'● 3:导出和查看', - 'description' => '菜单授权类型。取值范围:'."\n" - ."\n" - .'- 1:查看'."\n" - .'- 3:导出和查看', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'ReceiverId' => ['title' => '授权对象的ID。', 'description' => '授权对象的ID,当空间或组织级别时则返回空间ID或组织ID。', 'type' => 'string', 'example' => '8a4***********1e769'], + 'ReceiverType' => ['title' => '授权对象类型。取值范围:'."\n" + .'● 0:用户 '."\n" + .'● 1:用户组 ', 'description' => '授权对象类型。取值范围: '."\n" + ."\n" + .'- 0:用户 '."\n" + .'- 1:用户组'."\n" + .'- 3:空间或组织级别', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'AuthPointsValue' => ['title' => '菜单授权类型。取值范围:'."\n" + .'● 1:查看'."\n" + .'● 3:导出和查看', 'description' => '菜单授权类型。取值范围:'."\n" + ."\n" + .'- 1:查看'."\n" + .'- 3:导出和查看', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - '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' => '群空间不存在。', - ], - [ - 'errorCode' => 'NoPermissionTo.Operate.Object', - 'errorMessage' => 'You are not authorized to operate the objects.', - 'description' => '您无权操作这些对象。', - ], - [ - 'errorCode' => 'Invalid.Workspace', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '该空间不在组织内。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['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' => '群空间不存在。'], + ['errorCode' => 'NoPermissionTo.Operate.Object', 'errorMessage' => 'You are not authorized to operate the objects.', 'description' => '您无权操作这些对象。'], + ['errorCode' => 'Invalid.Workspace', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '该空间不在组织内。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取数据门户菜单的白名单列表', 'changeSet' => [], 'flowControl' => [ @@ -11178,13 +6416,8 @@ ], 'ListWorkspaceRoleUsers' => [ 'summary' => '获取指定空间角色下的用户列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11192,83 +6425,44 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'RoleId', 'in' => 'query', - 'schema' => [ - 'description' => '空间角色ID,包括预置角色和自定义角色:'."\n" - ."\n" - .'- 25:空间管理员(预置角色)'."\n" - .'- 26:开发者(预置角色)'."\n" - .'- 27:分析者(预置角色)'."\n" - .'- 30:阅览者(预置角色)'."\n" - .'- 自定义角色:自定义角色对应的角色ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '25', - ], + 'schema' => ['description' => '空间角色ID,包括预置角色和自定义角色:'."\n" + ."\n" + .'- 25:空间管理员(预置角色)'."\n" + .'- 26:开发者(预置角色)'."\n" + .'- 27:分析者(预置角色)'."\n" + .'- 30:阅览者(预置角色)'."\n" + .'- 自定义角色:自定义角色对应的角色ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '25'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID,非必填,不传时,返回所有空间的角色。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', - ], + 'schema' => ['description' => '工作空间ID,非必填,不传时,返回所有空间的角色。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的当前页:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询时的当前页:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '用户昵称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试pop用户', - ], + 'schema' => ['description' => '用户昵称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试pop用户'], ], ], 'responses' => [ @@ -11276,11 +6470,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回空间角色下的用户列表。', 'type' => 'object', @@ -11292,84 +6482,34 @@ 'description' => '用户详情。', 'type' => 'object', 'properties' => [ - 'NickName' => [ - 'description' => '组织成员的昵称。', - 'type' => 'string', - 'example' => '测试用户', - ], - 'UserId' => [ - 'description' => '组织成员在Quick BI的UserID。', - 'type' => 'string', - 'example' => 'b5d8fd9348cc4327****afb604'."\n", - ], - 'WorkspaceId' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '7350a155-0e94-4c6c-8620-57bbec38****', - ], - 'WorkspaceName' => [ - 'description' => '工作空间名称。', - 'type' => 'string', - 'example' => '测试空间', - ], + 'NickName' => ['description' => '组织成员的昵称。', 'type' => 'string', 'example' => '测试用户'], + 'UserId' => ['description' => '组织成员在Quick BI的UserID。', 'type' => 'string', 'example' => 'b5d8fd9348cc4327****afb604'."\n"], + 'WorkspaceId' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => '7350a155-0e94-4c6c-8620-57bbec38****'], + 'WorkspaceName' => ['description' => '工作空间名称。', 'type' => 'string', 'example' => '测试空间'], ], ], ], - 'PageNum' => [ - 'description' => ' '."\n" - .'页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => ' '."\n" + .'页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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', - ], + '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' => '获取指定空间角色下的用户列表', 'changeSet' => [], @@ -11381,12 +6521,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -11394,13 +6529,8 @@ ], 'ListWorkspaceRoles' => [ 'summary' => '获取空间角色列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11408,24 +6538,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], ], 'responses' => [ @@ -11433,11 +6551,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '空间角色列表。', 'type' => 'array', @@ -11454,81 +6568,52 @@ 'ActionAuthKeys' => [ 'description' => '权限范围。', 'type' => 'array', - 'items' => [ - 'description' => '具体的权限:'."\n" - .'- edit:新建'."\n" - .'- use:使用'."\n" - .'- list:展示列表', - 'type' => 'string', - 'example' => 'edit', - ], - ], - 'AuthKey' => [ - 'description' => '权限类型:'."\n" - .'- portal_create:数据门户'."\n" - .'- dashboard_create:仪表板'."\n" - .'- report_create:电子表格'."\n" - .'- screen_create:数据大屏'."\n" - .'- analysis:即席分析'."\n" - .'- offline_download:自助取数'."\n" - .'- data_form:数据填报'."\n" - .'- quick_etl:数据准备'."\n" - .'- cube:数据集'."\n" - .'- datasource:数据源', - 'type' => 'string', - 'example' => 'portal_create', + 'items' => ['description' => '具体的权限:'."\n" + .'- edit:新建'."\n" + .'- use:使用'."\n" + .'- list:展示列表', 'type' => 'string', 'example' => 'edit'], ], + 'AuthKey' => ['description' => '权限类型:'."\n" + .'- portal_create:数据门户'."\n" + .'- dashboard_create:仪表板'."\n" + .'- report_create:电子表格'."\n" + .'- screen_create:数据大屏'."\n" + .'- analysis:即席分析'."\n" + .'- offline_download:自助取数'."\n" + .'- data_form:数据填报'."\n" + .'- quick_etl:数据准备'."\n" + .'- cube:数据集'."\n" + .'- datasource:数据源', 'type' => 'string', 'example' => 'portal_create'], ], ], ], - 'IsSystemRole' => [ - 'description' => '是否是预置角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RoleId' => [ - 'description' => '空间角色ID,包括预置角色和自定义角色:'."\n" - ."\n" - .'- 25:空间管理员(预置角色)'."\n" - .'- 26:开发者(预置角色)'."\n" - .'- 27:分析者(预置角色)'."\n" - .'- 30:阅览者(预置角色)'."\n" - .'- 自定义角色:自定义角色对应的角色ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '25', - ], - 'RoleName' => [ - 'description' => '角色名称。', - 'type' => 'string', - 'example' => '空间管理员', - ], + 'IsSystemRole' => ['description' => '是否是预置角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否', 'type' => 'boolean', 'example' => 'true'], + 'RoleId' => ['description' => '空间角色ID,包括预置角色和自定义角色:'."\n" + ."\n" + .'- 25:空间管理员(预置角色)'."\n" + .'- 26:开发者(预置角色)'."\n" + .'- 27:分析者(预置角色)'."\n" + .'- 30:阅览者(预置角色)'."\n" + .'- 自定义角色:自定义角色对应的角色ID', 'type' => 'integer', 'format' => 'int64', 'example' => '25'], + 'RoleName' => ['description' => '角色名称。', 'type' => 'string', 'example' => '空间管理员'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - ."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + ."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.Workspace', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '', - ], + ['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"}]', @@ -11542,12 +6627,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -11556,12 +6636,8 @@ 'ListWorkspaceUserRolesByUserId' => [ 'summary' => '查询用户所有空间角色列表。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11569,24 +6645,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'afas-********asfasg', - ], + 'schema' => ['description' => 'Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'afas-********asfasg'], ], ], 'responses' => [ @@ -11596,11 +6660,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E***************F67E2C3', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E***************F67E2C3'], 'Result' => [ 'title' => '所有的空间角色信息列表。', 'description' => '所有的空间角色信息列表。', @@ -11610,84 +6670,45 @@ 'description' => '每个空间对象。', 'type' => 'object', 'properties' => [ - 'WorkspaceId' => [ - 'title' => '空间ID。', - 'description' => '空间ID。', - 'type' => 'string', - 'example' => '9337d121-a78f-4c1b-a8bc-f81de117****', - ], - 'WorkspaceName' => [ - 'title' => '空间名称。', - 'description' => '空间名称。', - 'type' => 'string', - 'example' => 'test', - ], + 'WorkspaceId' => ['title' => '空间ID。', 'description' => '空间ID。', 'type' => 'string', 'example' => '9337d121-a78f-4c1b-a8bc-f81de117****'], + 'WorkspaceName' => ['title' => '空间名称。', 'description' => '空间名称。', 'type' => 'string', 'example' => 'test'], 'RoleModel' => [ 'title' => '空间角色信息。', 'description' => '空间角色信息。', 'type' => 'object', 'properties' => [ - 'RoleId' => [ - 'title' => '空间角色ID,包括但不限于空间预置角色:'."\n" - .'● 25:空间管理员(预置角色)'."\n" - .'● 26:空间开发者(预置角色)'."\n" - .'● 27:空间分析师(预置角色)'."\n" - .'● 30:空间查看者(预置角色)', - 'description' => '空间角色ID,包括但不限于空间预置角色:'."\n" - ."\n" - .'- 25:空间管理员(预置角色)'."\n" - .'- 26:空间开发者(预置角色)'."\n" - .'- 27:空间分析师(预置角色)'."\n" - .'- 30:空间查看者(预置角色)', - 'type' => 'string', - 'example' => '111111111', - ], - 'RoleCode' => [ - 'title' => '预置空间角色对应的编码,自定义角色不返回。', - 'description' => '预置空间角色对应的编码,自定义角色不返回。', - 'type' => 'string', - 'example' => '34637***35', - ], - 'RoleName' => [ - 'title' => '空间角色的名称。', - 'description' => '空间角色的名称。', - 'type' => 'string', - 'example' => 'arms-admin', - ], + 'RoleId' => ['title' => '空间角色ID,包括但不限于空间预置角色:'."\n" + .'● 25:空间管理员(预置角色)'."\n" + .'● 26:空间开发者(预置角色)'."\n" + .'● 27:空间分析师(预置角色)'."\n" + .'● 30:空间查看者(预置角色)', 'description' => '空间角色ID,包括但不限于空间预置角色:'."\n" + ."\n" + .'- 25:空间管理员(预置角色)'."\n" + .'- 26:空间开发者(预置角色)'."\n" + .'- 27:空间分析师(预置角色)'."\n" + .'- 30:空间查看者(预置角色)', 'type' => 'string', 'example' => '111111111'], + 'RoleCode' => ['title' => '预置空间角色对应的编码,自定义角色不返回。', 'description' => '预置空间角色对应的编码,自定义角色不返回。', 'type' => 'string', 'example' => '34637***35'], + 'RoleName' => ['title' => '空间角色的名称。', 'description' => '空间角色的名称。', 'type' => 'string', 'example' => 'arms-admin'], ], ], ], ], 'required' => true, ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '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' => '该用户不在组织中。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询用户所有空间角色列表', 'changeSet' => [], @@ -11698,12 +6719,8 @@ ], 'ManualRunMailTask' => [ 'summary' => '手动执行订阅的邮件任务。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11711,25 +6728,12 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'MailId', 'in' => 'query', - 'schema' => [ - 'title' => '订阅任务id', - 'description' => '订阅管理界面的邮件id。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3423423sdfa****sdadw', - ], + 'schema' => ['title' => '订阅任务id', 'description' => '订阅管理界面的邮件id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3423423sdfa****sdadw'], ], ], 'responses' => [ @@ -11739,66 +6743,27 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求id。', - 'type' => 'string', - 'example' => 'a4d1a221d-41za1-****', - ], - 'Result' => [ - 'description' => '是否执行成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求id。', 'type' => 'string', 'example' => 'a4d1a221d-41za1-****'], + 'Result' => ['description' => '是否执行成功。', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"a4d1a221d-41za1-****\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '手动执行邮件任务', 'changeSet' => [], @@ -11810,12 +6775,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -11823,13 +6783,8 @@ ], 'ModifyApiDatasourceParameters' => [ 'summary' => '修改指定API数据源的配置。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11837,48 +6792,24 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'ApiId', 'in' => 'query', - 'schema' => [ - 'description' => 'API数据源的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'b66a66de51f24d149116c17718138194', - ], + 'schema' => ['description' => 'API数据源的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b66a66de51f24d149116c17718138194'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '726bee5a-****-43e1-9a8e-b550f0120f35'], ], [ 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'description' => 'JSONArray格式的API数据参数配置,修改的参数数量不能超过10个。'."\n" - .'- name:普通参数或查询语句中的参数名称'."\n" - .'- value:普通参数或查询语句中的参数值'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '[{"name":"token","value":"xxxxxxxxxxxx"},{"name":"pageSize","value":100}]', - ], + 'schema' => ['description' => 'JSONArray格式的API数据参数配置,修改的参数数量不能超过10个。'."\n" + .'- name:普通参数或查询语句中的参数名称'."\n" + .'- value:普通参数或查询语句中的参数值'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[{"name":"token","value":"xxxxxxxxxxxx"},{"name":"pageSize","value":100}]'], ], ], 'responses' => [ @@ -11887,77 +6818,37 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ApiDataSource.NotIn.Workspace', - 'errorMessage' => 'Target apiId not in target workspace.', - 'description' => '目标API不在工作空间内。', - ], - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '空间不在组织内。', - ], - [ - 'errorCode' => 'ApiDatasource.Not.Exist', - 'errorMessage' => 'Api datasource not exist.', - 'description' => 'API数据源不存在。', - ], - [ - 'errorCode' => 'ApiDatasource.Param.IsNull', - 'errorMessage' => 'Api datasource modify parameters is null.', - 'description' => 'API数据源的修改参数parameters为空。', - ], - [ - 'errorCode' => 'ApiDatasource.Param.Oversize', - 'errorMessage' => 'The number of parameters of API data source exceeds the limit and cannot exceed %s.', - 'description' => 'API数据源的参数数量超过限制,不能超过%s个。', - ], + ['errorCode' => 'ApiDataSource.NotIn.Workspace', 'errorMessage' => 'Target apiId not in target workspace.', 'description' => '目标API不在工作空间内。'], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], + ['errorCode' => 'ApiDatasource.Not.Exist', 'errorMessage' => 'Api datasource not exist.', 'description' => 'API数据源不存在。'], + ['errorCode' => 'ApiDatasource.Param.IsNull', 'errorMessage' => 'Api datasource modify parameters is null.', 'description' => 'API数据源的修改参数parameters为空。'], + ['errorCode' => 'ApiDatasource.Param.Oversize', 'errorMessage' => 'The number of parameters of API data source exceeds the limit and cannot exceed %s.', 'description' => 'API数据源的参数数量超过限制,不能超过%s个。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8749D65-E80A-433C-AF1B-CE9C180FF3B4\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '修改API数据源配置', 'description' => '修改查询语句时,仅支持修改最上层的JsonObject,不支持多层嵌套内的参数修改。具体的参数说明详见[创建API数据源。](~~409330~~)', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyApiDatasourceParameters', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyApiDatasourceParameters'], ], ], 'ramActions' => [ @@ -11968,12 +6859,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -11981,13 +6867,8 @@ ], 'ModifyCopilotEmbedConfig' => [ 'summary' => '修改智能问数嵌入配置。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11995,25 +6876,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CopilotId', 'in' => 'query', - 'schema' => [ - 'title' => '嵌入id', - 'description' => '嵌入id。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ccd3428c-dd2xxxxxxxxxxxxdffee', - ], + 'schema' => ['title' => '嵌入id', 'description' => '嵌入id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ccd3428c-dd2xxxxxxxxxxxxdffee'], ], [ 'name' => 'DataRange', @@ -12035,26 +6903,12 @@ [ 'name' => 'ModuleName', 'in' => 'query', - 'schema' => [ - 'title' => '模块名称', - 'description' => '模块名称。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '小Q', - ], + 'schema' => ['title' => '模块名称', 'description' => '模块名称。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '小Q'], ], [ 'name' => 'AgentName', 'in' => 'query', - 'schema' => [ - 'title' => '机器人昵称', - 'description' => '机器人昵称。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '小Q', - ], + 'schema' => ['title' => '机器人昵称', 'description' => '机器人昵称。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '小Q'], ], ], 'responses' => [ @@ -12064,83 +6918,37 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求id。', - 'type' => 'string', - 'example' => '4BAA4694-CC27-555F-B15A-688AA9289FEE', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求id。', 'type' => 'string', 'example' => '4BAA4694-CC27-555F-B15A-688AA9289FEE'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UserRoleConfig.NotContain.Function', - 'errorMessage' => 'The user %s does not have permission to operate.', - 'description' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'Copilot.Modulename.Error', - 'errorMessage' => 'ModuleName max length limit 20.', - 'description' => '模块名称最大长度是20。', - ], - [ - 'errorCode' => 'Copilot.AgentName.Error', - 'errorMessage' => 'AgentName max length limit 10.', - 'description' => '机器人名称最大长度限制为10。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], - [ - 'errorCode' => 'CopilotEmbed.Config.NotFind', - 'errorMessage' => 'Can not find copilot embed config with this copilot ID.', - 'description' => '找不到此嵌入配置', - ], + ['errorCode' => 'UserRoleConfig.NotContain.Function', 'errorMessage' => 'The user %s does not have permission to operate.', 'description' => '此用户%s没有权限操作。'], + ['errorCode' => 'Copilot.Modulename.Error', 'errorMessage' => 'ModuleName max length limit 20.', 'description' => '模块名称最大长度是20。'], + ['errorCode' => 'Copilot.AgentName.Error', 'errorMessage' => 'AgentName max length limit 10.', 'description' => '机器人名称最大长度限制为10。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'CopilotEmbed.Config.NotFind', 'errorMessage' => 'Can not find copilot embed config with this copilot ID.', 'description' => '找不到此嵌入配置'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4BAA4694-CC27-555F-B15A-688AA9289FEE\\",\\n \\"Success\\": true,\\n \\"Result\\": true\\n}","type":"json"}]', 'title' => '修改智能问数嵌入配置', 'changeSet' => [ - [ - 'createdAt' => '2025-02-11T06:04:44.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-11T06:04:44.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyCopilotEmbedConfig', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCopilotEmbedConfig'], ], ], 'ramActions' => [ @@ -12151,12 +6959,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -12164,12 +6967,8 @@ ], 'ModifyDashboardNl2sqlStatus' => [ 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12177,37 +6976,18 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'DashboardIds', 'in' => 'query', - 'schema' => [ - 'description' => '仪表板ID数组,多个以英文逗号分隔。'."\n" - .'><notice>要求size<=50></notice>', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'asda,sadaf', - ], + 'schema' => ['description' => '仪表板ID数组,多个以英文逗号分隔。'."\n" + .'><notice>要求size<=50></notice>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asda,sadaf'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '状态标识,0为关闭1为开启。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '0', - ], + 'schema' => ['description' => '状态标识,0为关闭1为开启。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '0'], ], ], 'responses' => [ @@ -12217,71 +6997,33 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '46e537a5****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '46e537a5****'], 'Result' => [ 'description' => '失败的仪表板ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '仪表板ID。', - 'type' => 'string', - 'example' => 'ccd3428c-****-****-a608-26bae29dffee', - ], - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', + 'items' => ['description' => '仪表板ID。', 'type' => 'string', 'example' => 'ccd3428c-****-****-a608-26bae29dffee'], ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 297 => [ - [ - 'errorCode' => 'Invalid.Parameter', - 'errorMessage' => 'You must specify the parameter.', - 'description' => '参数不能为空', - ], + ['errorCode' => 'Invalid.Parameter', 'errorMessage' => 'You must specify the parameter.', 'description' => '参数不能为空'], ], 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], - [ - 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', - 'errorMessage' => 'Please purchase Nl2sql module first.', - 'description' => '请先购买智能问数模块。', - ], - [ - 'errorCode' => 'ApiUser.Not.Exists', - 'errorMessage' => 'The specified user does not exist.', - 'description' => '用户不存在。', - ], - [ - 'errorCode' => 'Parameter.Error', - 'errorMessage' => 'The input parameter is invalid.', - 'description' => '输入参数无效。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'RobotNl2sql.Moudle.NotPurchase', 'errorMessage' => 'Please purchase Nl2sql module first.', 'description' => '请先购买智能问数模块。'], + ['errorCode' => 'ApiUser.Not.Exists', 'errorMessage' => 'The specified user does not exist.', 'description' => '用户不存在。'], + ['errorCode' => 'Parameter.Error', 'errorMessage' => 'The input parameter is invalid.', 'description' => '输入参数无效。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '批量编辑仪表板的小Q问数状态', 'summary' => '批量编辑仪表板的小Q问数状态。', 'changeSet' => [], @@ -12294,12 +7036,8 @@ 'QueryAccelerationLogByCubeId' => [ 'summary' => '获取指定数据集的加速任务运行日志。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12307,71 +7045,33 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间,格式:yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2025-04-15 00:00:00', - ], + 'schema' => ['description' => '开始时间,格式:yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2025-04-15 00:00:00'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间,格式:yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2025-05-15 00:00:00', - ], + 'schema' => ['description' => '结束时间,格式:yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2025-05-15 00:00:00'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '页码。默认取值**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页码。默认取值**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页行数。'."\n" - .'- 默认值10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '每页行数。'."\n" + .'- 默认值10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], ], 'responses' => [ @@ -12381,11 +7081,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D********80FF3B4', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D********80FF3B4'], 'Result' => [ 'description' => '返回接口执行结果。取值范围:'."\n" ."\n" @@ -12393,42 +7089,12 @@ .'- false:执行失败', 'type' => 'object', 'properties' => [ - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '页记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Pre' => [ - 'description' => '上一页, 为NULL or 0 ,表示没有上一页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'null', - ], - 'Next' => [ - 'description' => '下一页 ,为NULL or 0,表示没有下一页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'null', - ], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '页记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Pre' => ['description' => '上一页, 为NULL or 0 ,表示没有上一页。', 'type' => 'integer', 'format' => 'int32', 'example' => 'null'], + 'Next' => ['description' => '下一页 ,为NULL or 0,表示没有下一页。', 'type' => 'integer', 'format' => 'int32', 'example' => 'null'], 'Data' => [ 'description' => '加速任务日志数组。', 'type' => 'array', @@ -12436,87 +7102,41 @@ 'description' => '加速任务日志。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'REST_A***************6a8', - ], - 'JobHistoryId' => [ - 'description' => '任务历史ID。', - 'type' => 'string', - 'example' => 'REST_A***************6a8', - ], - 'JonStartDate' => [ - 'description' => '任务开始时间。', - 'type' => 'string', - 'example' => 'REST_A***************6a8', - ], - 'JobStatus' => [ - 'description' => '状态:'."\n" - ."\n" - .'- 0-待运行'."\n" - .'- 1-运行中'."\n" - .'- 2-正常结束'."\n" - .'- 3-异常结束'."\n" - .'- 4-取消'."\n" - .'- 5-警告', - 'type' => 'string', - 'example' => '0', - ], - 'Duration' => [ - 'description' => '耗时,单位秒。', - 'type' => 'string', - 'example' => '123', - ], - 'Log' => [ - 'description' => '日志。', - 'type' => 'string', - 'example' => 'asdav************', - ], + 'JobId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'REST_A***************6a8'], + 'JobHistoryId' => ['description' => '任务历史ID。', 'type' => 'string', 'example' => 'REST_A***************6a8'], + 'JonStartDate' => ['description' => '任务开始时间。', 'type' => 'string', 'example' => 'REST_A***************6a8'], + 'JobStatus' => ['description' => '状态:'."\n" + ."\n" + .'- 0-待运行'."\n" + .'- 1-运行中'."\n" + .'- 2-正常结束'."\n" + .'- 3-异常结束'."\n" + .'- 4-取消'."\n" + .'- 5-警告', 'type' => 'string', 'example' => '0'], + 'Duration' => ['description' => '耗时,单位秒。', 'type' => 'string', 'example' => '123'], + 'Log' => ['description' => '日志。', 'type' => 'string', 'example' => 'asdav************'], ], ], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], - [ - 'errorCode' => 'Date.Format.Error', - 'errorMessage' => 'Date format conversion error.', - 'description' => '日期格式转换错误', - ], - [ - 'errorCode' => 'Date.Check.Error', - 'errorMessage' => 'The end date cannot be greater than the start date.', - 'description' => '结束日期不能大于开始日期', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], + ['errorCode' => 'Date.Format.Error', 'errorMessage' => 'Date format conversion error.', 'description' => '日期格式转换错误'], + ['errorCode' => 'Date.Check.Error', 'errorMessage' => 'The end date cannot be greater than the start date.', 'description' => '结束日期不能大于开始日期'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取指定数据集的加速任务运行日志', 'changeSet' => [], 'flowControl' => [ @@ -12527,13 +7147,8 @@ ], 'QueryApprovalInfo' => [ 'summary' => '根据审批人获取相应的审批流信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12541,25 +7156,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '当前审批人用户ID,qbi用户id', - 'description' => '当前审批人用户ID,qbi用户id。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12352fasdavsa', - ], + 'schema' => ['title' => '当前审批人用户ID,qbi用户id', 'description' => '当前审批人用户ID,qbi用户id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12352fasdavsa'], ], [ 'name' => 'Status', @@ -12577,38 +7179,19 @@ 'docRequired' => true, 'maximum' => '1', 'minimum' => '0', - 'enumValueTitles' => [ - '0', - '1', - ], + 'enumValueTitles' => ['0', '1'], 'example' => '0', ], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '每页多少行,默认1000', - 'description' => '每页多少行,默认1000。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1000', - ], + 'schema' => ['title' => '每页多少行,默认1000', 'description' => '每页多少行,默认1000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1000'], ], [ 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'title' => '页数,默认1', - 'description' => '页数,默认1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['title' => '页数,默认1', 'description' => '页数,默认1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], ], 'responses' => [ @@ -12618,12 +7201,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回接口执行结果。', 'type' => 'object', @@ -12637,202 +7215,61 @@ 'description' => '审批流信息对象。', 'type' => 'object', 'properties' => [ - 'ApplicantId' => [ - 'title' => '申请人userID,qbi用户id', - 'description' => '申请人userID,qbi用户id。', - 'type' => 'string', - 'example' => '1359508', - ], - 'ApplicantName' => [ - 'title' => '申请人昵称', - 'description' => '申请人昵称。', - 'type' => 'string', - 'example' => '李飞', - ], - 'ApplicationId' => [ - 'title' => '申请id', - 'description' => '申请id。', - 'type' => 'string', - 'example' => '64813ef6da58e80eef8ed2f9', - ], - 'ApplyReason' => [ - 'title' => '申请理由', - 'description' => '申请理由。', - 'type' => 'string', - 'example' => '开发需要', - ], - 'ApproverId' => [ - 'title' => '审批人userID,qbi用户id', - 'description' => '审批人userID,qbi用户id。', - 'type' => 'string', - 'example' => 'sdasascasxasd', - ], - 'ApproverName' => [ - 'title' => '审批人昵称', - 'description' => '审批人昵称。', - 'type' => 'string', - 'example' => 'data_fusion_002', - ], - 'DeleteFlag' => [ - 'title' => '资源是否已被删除', - 'description' => '资源是否已被删除:'."\n" - .'- true:已被删除'."\n" - .'- false:未被删除', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ExpireDate' => [ - 'title' => '权限有效期限,时间戳', - 'description' => '权限有效期限,时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1708568097135', - ], - 'FlagStatus' => [ - 'title' => '权限审批状态:'."\n" - .'● 0:审批中,对应请求参数中的0'."\n" - .'● 1:审批通过,对应请求参数送1'."\n" - .'● 2:审批拒绝,对应请求参数送1', - 'description' => '权限审批状态:'."\n" - .'- 0:审批中,对应请求参数中的0'."\n" - .'- 1:审批通过,对应请求参数中的1'."\n" - .'- 2:审批拒绝,对应请求参数中的1', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'GmtCreate' => [ - 'title' => '申请创建时间,时间戳', - 'description' => '申请创建时间,时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1687315758', - ], - 'GmtModified' => [ - 'title' => '申请修改时间,时间戳', - 'description' => '申请修改时间,时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1640595729000', - ], - 'HandleReason' => [ - 'title' => '处理理由', - 'description' => '处理理由。', - 'type' => 'string', - 'example' => '开发需要', - ], - 'ResourceId' => [ - 'title' => '申请权限资源ID', - 'description' => '申请权限资源ID。', - 'type' => 'string', - 'example' => 'acl-ct4t2e4u2x4ej1bzur', - ], - 'ResourceName' => [ - 'title' => '申请权限资源名称(报表名、空间名...)', - 'description' => '申请权限资源名称(报表名、空间名...)。', - 'type' => 'string', - 'example' => '测试资源', - ], - 'ResourceType' => [ - 'title' => '资源类型', - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'DASHBOARD', - ], - 'WorkspaceName' => [ - 'title' => '空间名称', - 'description' => '空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'ApplicantId' => ['title' => '申请人userID,qbi用户id', 'description' => '申请人userID,qbi用户id。', 'type' => 'string', 'example' => '1359508'], + 'ApplicantName' => ['title' => '申请人昵称', 'description' => '申请人昵称。', 'type' => 'string', 'example' => '李飞'], + 'ApplicationId' => ['title' => '申请id', 'description' => '申请id。', 'type' => 'string', 'example' => '64813ef6da58e80eef8ed2f9'], + 'ApplyReason' => ['title' => '申请理由', 'description' => '申请理由。', 'type' => 'string', 'example' => '开发需要'], + 'ApproverId' => ['title' => '审批人userID,qbi用户id', 'description' => '审批人userID,qbi用户id。', 'type' => 'string', 'example' => 'sdasascasxasd'], + 'ApproverName' => ['title' => '审批人昵称', 'description' => '审批人昵称。', 'type' => 'string', 'example' => 'data_fusion_002'], + 'DeleteFlag' => ['title' => '资源是否已被删除', 'description' => '资源是否已被删除:'."\n" + .'- true:已被删除'."\n" + .'- false:未被删除', 'type' => 'boolean', 'example' => 'true'], + 'ExpireDate' => ['title' => '权限有效期限,时间戳', 'description' => '权限有效期限,时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1708568097135'], + 'FlagStatus' => ['title' => '权限审批状态:'."\n" + .'● 0:审批中,对应请求参数中的0'."\n" + .'● 1:审批通过,对应请求参数送1'."\n" + .'● 2:审批拒绝,对应请求参数送1', 'description' => '权限审批状态:'."\n" + .'- 0:审批中,对应请求参数中的0'."\n" + .'- 1:审批通过,对应请求参数中的1'."\n" + .'- 2:审批拒绝,对应请求参数中的1', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'GmtCreate' => ['title' => '申请创建时间,时间戳', 'description' => '申请创建时间,时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1687315758'], + 'GmtModified' => ['title' => '申请修改时间,时间戳', 'description' => '申请修改时间,时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1640595729000'], + 'HandleReason' => ['title' => '处理理由', 'description' => '处理理由。', 'type' => 'string', 'example' => '开发需要'], + 'ResourceId' => ['title' => '申请权限资源ID', 'description' => '申请权限资源ID。', 'type' => 'string', 'example' => 'acl-ct4t2e4u2x4ej1bzur'], + 'ResourceName' => ['title' => '申请权限资源名称(报表名、空间名...)', 'description' => '申请权限资源名称(报表名、空间名...)。', 'type' => 'string', 'example' => '测试资源'], + 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型。', 'type' => 'string', 'example' => 'DASHBOARD'], + 'WorkspaceName' => ['title' => '空间名称', 'description' => '空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'Page' => [ - 'title' => '当前页', - 'description' => '当前页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => '当前页请求记录数', - 'description' => '当前页请求记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'Start' => [ - 'title' => '当前页起始位置', - 'description' => '当前页起始位置。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Total' => [ - 'title' => '总数目', - 'description' => '总数目。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TotalPages' => [ - 'title' => '总页码', - 'description' => '总页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Page' => ['title' => '当前页', 'description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['title' => '当前页请求记录数', 'description' => '当前页请求记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'Start' => ['title' => '当前页起始位置', 'description' => '当前页起始位置。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Total' => ['title' => '总数目', 'description' => '总数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'TotalPages' => ['title' => '总页码', 'description' => '总页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '接口是否成功返回,取值范围:'."\n" - .'- true:成功'."\n" - .'- false:失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '接口是否成功返回,取值范围:'."\n" + .'- true:成功'."\n" + .'- false:失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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', - ], + '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' => '根据审批人获取相应的审批流信息', 'changeSet' => [ - [ - 'createdAt' => '2025-02-11T06:04:44.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-12-30T02:38:46.000Z', - 'description' => '错误码发生变更、请求参数发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:31.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-11T06:04:44.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-12-30T02:38:46.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-10-18T01:53:31.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -12842,12 +7279,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -12855,13 +7287,8 @@ ], 'QueryAuditLog' => [ 'summary' => '查询审计日志信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12869,13 +7296,7 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'LogType', @@ -12892,118 +7313,60 @@ 'type' => 'string', 'required' => true, 'docRequired' => true, - 'enumValueTitles' => [ - 'function' => 'function', - 'permission' => 'permission', - 'dataView' => 'dataView', - ], + 'enumValueTitles' => ['function' => 'function', 'permission' => 'permission', 'dataView' => 'dataView'], 'example' => 'function', ], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'title' => '工作空间ID,需要查询的日志所属工作空间ID', - 'description' => '工作空间ID,需要查询的日志所属工作空间ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['title' => '工作空间ID,需要查询的日志所属工作空间ID', 'description' => '工作空间ID,需要查询的日志所属工作空间ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'title' => '查询开始时间,时间戳,不能早于当前时间90天', - 'description' => '查询开始日期,格式(“yyyyMMdd”),不能早于当前时间90天。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '20240504', - ], + 'schema' => ['title' => '查询开始时间,时间戳,不能早于当前时间90天', 'description' => '查询开始日期,格式(“yyyyMMdd”),不能早于当前时间90天。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '20240504'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'title' => '查询结束时间,时间戳', - 'description' => '查询结束日期,格式(“yyyyMMdd”)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '20240604', - ], + 'schema' => ['title' => '查询结束时间,时间戳', 'description' => '查询结束日期,格式(“yyyyMMdd”)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '20240604'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型,参见作品类型', - 'description' => '资源类型,参见作品类型。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cube', - ], + 'schema' => ['title' => '资源类型,参见作品类型', 'description' => '资源类型,参见作品类型。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cube'], ], [ 'name' => 'OperatorId', 'in' => 'query', - 'schema' => [ - 'title' => '操作人userId。', - 'description' => '操作人userId。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0***', - ], + 'schema' => ['title' => '操作人userId。', 'description' => '操作人userId。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0***'], ], [ 'name' => 'OperatorTypes', 'in' => 'query', - 'schema' => [ - 'title' => '权限/访问/操作类型,空-默认所有;'."\n" - .'见审计日志码值,送多个请以英文逗号分割', - 'description' => '权限/访问/操作类型,空-默认所有;'."\n" - ."\n" - .'见审计日志码值,送多个请以英文逗号分割。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'MODIFY', - ], + 'schema' => ['title' => '权限/访问/操作类型,空-默认所有;'."\n" + .'见审计日志码值,送多个请以英文逗号分割', 'description' => '权限/访问/操作类型,空-默认所有;'."\n" + ."\n" + .'见审计日志码值,送多个请以英文逗号分割。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'MODIFY'], ], [ 'name' => 'UserAccessDevice', 'in' => 'query', - 'schema' => [ - 'title' => '访问设备', - 'description' => '访问设备,参考码值:'."\n" - ."\n" - .'- MOBILE -- 移动端'."\n" - .'- PC -- PC端', - 'type' => 'string', - 'required' => false, - 'example' => 'PC', - ], + 'schema' => ['title' => '访问设备', 'description' => '访问设备,参考码值:'."\n" + ."\n" + .'- MOBILE -- 移动端'."\n" + .'- PC -- PC端', 'type' => 'string', 'required' => false, 'example' => 'PC'], ], [ 'name' => 'AccessSourceFlag', 'in' => 'query', - 'schema' => [ - 'title' => '访问来源', - 'description' => '访问来源,参考码值:'."\n" - ."\n" - .'- COMMON -- 普通访问'."\n" - .'- IMBEDDED -- 嵌入报表'."\n" - .'- PUBLIC -- 公开报表'."\n" - .'- IMBEDDED_COMPONENT -- 嵌入卡片', - 'type' => 'string', - 'required' => false, - 'example' => 'PUBLIC', - ], + 'schema' => ['title' => '访问来源', 'description' => '访问来源,参考码值:'."\n" + ."\n" + .'- COMMON -- 普通访问'."\n" + .'- IMBEDDED -- 嵌入报表'."\n" + .'- PUBLIC -- 公开报表'."\n" + .'- IMBEDDED_COMPONENT -- 嵌入卡片', 'type' => 'string', 'required' => false, 'example' => 'PUBLIC'], ], ], 'responses' => [ @@ -13011,11 +7374,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95'], 'Result' => [ 'description' => '日志数组。', 'type' => 'array', @@ -13023,133 +7382,46 @@ 'description' => '日志对象。', 'type' => 'object', 'properties' => [ - 'GmtCreate' => [ - 'title' => '日志时间', - 'description' => '日志时间。', - 'type' => 'string', - 'example' => '2024-04-16 13:17:39', - ], - 'OperatorAccountName' => [ - 'title' => '操作者账号', - 'description' => '操作者账号。', - 'type' => 'string', - 'example' => 'wukaibis', - ], - 'OperatorName' => [ - 'title' => '操作者用户昵称', - 'description' => '操作者用户昵称。', - 'type' => 'string', - 'example' => 'buc_344078', - ], - 'OperatorType' => [ - 'title' => '操作类型', - 'description' => '操作类型。', - 'type' => 'string', - 'example' => 'CREATE', - ], - 'TargetName' => [ - 'title' => '操作目标名称', - 'description' => '操作目标名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'TargetType' => [ - 'title' => '操作目标类型', - 'description' => '操作目标类型。', - 'type' => 'string', - 'example' => 'USER', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID', - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '87c6b145-090c-43e1-9426-8f93be23****', - ], - 'TargetId' => [ - 'title' => '操作对象ID', - 'description' => '操作对象ID。', - 'type' => 'string', - 'example' => '1113***************8500', - ], + 'GmtCreate' => ['title' => '日志时间', 'description' => '日志时间。', 'type' => 'string', 'example' => '2024-04-16 13:17:39'], + 'OperatorAccountName' => ['title' => '操作者账号', 'description' => '操作者账号。', 'type' => 'string', 'example' => 'wukaibis'], + 'OperatorName' => ['title' => '操作者用户昵称', 'description' => '操作者用户昵称。', 'type' => 'string', 'example' => 'buc_344078'], + 'OperatorType' => ['title' => '操作类型', 'description' => '操作类型。', 'type' => 'string', 'example' => 'CREATE'], + 'TargetName' => ['title' => '操作目标名称', 'description' => '操作目标名称。', 'type' => 'string', 'example' => 'test'], + 'TargetType' => ['title' => '操作目标类型', 'description' => '操作目标类型。', 'type' => 'string', 'example' => 'USER'], + 'WorkspaceId' => ['title' => '工作空间ID', 'description' => '工作空间ID。', 'type' => 'string', 'example' => '87c6b145-090c-43e1-9426-8f93be23****'], + 'TargetId' => ['title' => '操作对象ID', 'description' => '操作对象ID。', 'type' => 'string', 'example' => '1113***************8500'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Date.Format.Error', - 'errorMessage' => 'Date format conversion error.', - 'description' => '日期格式转换错误', - ], - [ - 'errorCode' => 'Date.Check.Error', - 'errorMessage' => 'The end date cannot be greater than the start date.', - 'description' => '结束日期不能大于开始日期', - ], - [ - 'errorCode' => 'Date.Exceed.Error', - 'errorMessage' => 'The start date must be within 90 days from the current date.', - 'description' => '开始日期不能早于当前日期90天', - ], - [ - 'errorCode' => 'Log.Type.Error', - 'errorMessage' => 'The log type is incorrect.', - 'description' => '日志类型的格式错误', - ], - [ - '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' => 'Date.Format.Error', 'errorMessage' => 'Date format conversion error.', 'description' => '日期格式转换错误'], + ['errorCode' => 'Date.Check.Error', 'errorMessage' => 'The end date cannot be greater than the start date.', 'description' => '结束日期不能大于开始日期'], + ['errorCode' => 'Date.Exceed.Error', 'errorMessage' => 'The start date must be within 90 days from the current date.', 'description' => '开始日期不能早于当前日期90天'], + ['errorCode' => 'Log.Type.Error', 'errorMessage' => 'The log type is incorrect.', 'description' => '日志类型的格式错误'], + ['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' => '没有权限,您不是组织管理员。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询审计日志信息', 'changeSet' => [ - [ - 'createdAt' => '2025-07-02T03:20:55.000Z', - 'description' => '请求参数发生变更', - ], - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-12-30T02:38:46.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-07-02T03:20:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-12-30T02:38:46.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryAuditLog', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAuditLog'], ], ], 'ramActions' => [ @@ -13160,12 +7432,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -13173,13 +7440,8 @@ ], 'QueryComponentPerformance' => [ 'summary' => '查询组件性能日志。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13187,102 +7449,51 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '查询类型:'."\n" - ."\n" - .'- **lastDay**:昨天'."\n" - .'- **sevenDays**:七天内'."\n" - .'- **thirtyDays**:三十天内', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sevenDays', - ], + 'schema' => ['description' => '查询类型:'."\n" + ."\n" + .'- **lastDay**:昨天'."\n" + .'- **sevenDays**:七天内'."\n" + .'- **thirtyDays**:三十天内', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sevenDays'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89713491-cb4f-4579-b889-e82c35f1****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89713491-cb4f-4579-b889-e82c35f1****'], ], [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => '作品的ID。这里的作品包括数据门户,仪表板,电子表格,自助取数。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], + 'schema' => ['description' => '作品的ID。这里的作品包括数据门户,仪表板,电子表格,自助取数。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '6b407e50-e774-406b-9956-da2425c2****'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'report', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'report'], ], [ 'name' => 'CostTimeAvgMin', 'in' => 'query', - 'schema' => [ - 'description' => '平均耗时(分钟)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '平均耗时(分钟)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '100', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '100'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间成员列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '工作空间成员列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], ], 'responses' => [ @@ -13290,184 +7501,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF'], 'Result' => [ 'type' => 'array', 'items' => [ 'description' => '组件性能分析模型。', 'type' => 'object', 'properties' => [ - 'CacheCostTimeAvg' => [ - 'description' => '命中缓存平均耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'CacheQueryCount' => [ - 'description' => '命中缓存次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ComponentId' => [ - 'description' => '组件ID。', - 'type' => 'string', - 'example' => '0696083a-ca72-4d89-8e7a-c017910e0***', - ], - 'ComponentName' => [ - 'description' => '组件名称。', - 'type' => 'string', - 'example' => '线图', - ], - 'CostTimeAvg' => [ - 'description' => '平均查询时间。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'QueryCount' => [ - 'description' => '查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'QueryCountAvg' => [ - 'description' => '平均查询次数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'QueryOverFivePercentNum' => [ - 'description' => '查询超过5s查询次数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '5', - ], - 'QueryOverFiveSecPercent' => [ - 'description' => '查询超过5s占比。', - 'type' => 'string', - 'example' => '0.3', - ], - 'QueryOverTenSecPercent' => [ - 'description' => '查询超过10s占比。', - 'type' => 'string', - 'example' => '0.3', - ], - 'QueryOverTenSecPercentNum' => [ - 'description' => '查询超过10s查询次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'QueryTimeoutCount' => [ - 'description' => '图表查询超时次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'QueryTimeoutCountPercent' => [ - 'description' => '图表查询超时次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'QuickIndexCostTimeAvg' => [ - 'description' => '命中Quick引擎平均查询耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'QuickIndexQueryCount' => [ - 'description' => '命中Quick引擎次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RepeatQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '0.3', - ], - 'RepeatQueryPercentNum' => [ - 'description' => '重复查询数量。', - 'type' => 'number', - 'format' => 'double', - 'example' => '2', - ], - 'RepeatSqlQueryCount' => [ - 'description' => '重复查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RepeatSqlQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '0.3', - ], - 'ReportId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], - 'ReportName' => [ - 'description' => '报告名称。', - 'type' => 'string', - 'example' => 'ClusterRiskReport', - ], - 'ReportType' => [ - 'description' => '报表类型。', - 'type' => 'string', - 'example' => 'report', - ], - 'WorkspaceId' => [ - 'description' => '空间唯一ID。', - 'type' => 'string', - 'example' => '89713491-cb4f-4579-b889-e82c35f1****', - ], - 'WorkspaceName' => [ - 'description' => '空间名称。', - 'type' => 'string', - 'example' => '测试空间', - ], + 'CacheCostTimeAvg' => ['description' => '命中缓存平均耗时。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'CacheQueryCount' => ['description' => '命中缓存次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'ComponentId' => ['description' => '组件ID。', 'type' => 'string', 'example' => '0696083a-ca72-4d89-8e7a-c017910e0***'], + 'ComponentName' => ['description' => '组件名称。', 'type' => 'string', 'example' => '线图'], + 'CostTimeAvg' => ['description' => '平均查询时间。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'QueryCount' => ['description' => '查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'QueryCountAvg' => ['description' => '平均查询次数。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'QueryOverFivePercentNum' => ['description' => '查询超过5s查询次数。', 'type' => 'number', 'format' => 'double', 'example' => '5'], + 'QueryOverFiveSecPercent' => ['description' => '查询超过5s占比。', 'type' => 'string', 'example' => '0.3'], + 'QueryOverTenSecPercent' => ['description' => '查询超过10s占比。', 'type' => 'string', 'example' => '0.3'], + 'QueryOverTenSecPercentNum' => ['description' => '查询超过10s查询次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'QueryTimeoutCount' => ['description' => '图表查询超时次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'QueryTimeoutCountPercent' => ['description' => '图表查询超时次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'QuickIndexCostTimeAvg' => ['description' => '命中Quick引擎平均查询耗时。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'QuickIndexQueryCount' => ['description' => '命中Quick引擎次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RepeatQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '0.3'], + 'RepeatQueryPercentNum' => ['description' => '重复查询数量。', 'type' => 'number', 'format' => 'double', 'example' => '2'], + 'RepeatSqlQueryCount' => ['description' => '重复查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RepeatSqlQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '0.3'], + 'ReportId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '6b407e50-e774-406b-9956-da2425c2****'], + 'ReportName' => ['description' => '报告名称。', 'type' => 'string', 'example' => 'ClusterRiskReport'], + 'ReportType' => ['description' => '报表类型。', 'type' => 'string', 'example' => 'report'], + 'WorkspaceId' => ['description' => '空间唯一ID。', 'type' => 'string', 'example' => '89713491-cb4f-4579-b889-e82c35f1****'], + 'WorkspaceName' => ['description' => '空间名称。', 'type' => 'string', 'example' => '测试空间'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '', - ], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'Workspace.Not.Exist', - 'errorMessage' => 'The group workspace does not exist.', - 'description' => '', - ], + ['errorCode' => 'Workspace.Not.Exist', 'errorMessage' => 'The group workspace does not exist.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询组件性能日志', 'changeSet' => [], @@ -13479,12 +7563,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -13492,13 +7571,8 @@ ], 'QueryCopilotEmbedConfig' => [ 'summary' => '获取开通小Q嵌入的配置列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13506,25 +7580,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'title' => '嵌入配置模块名称', - 'description' => '嵌入配置模块名称,模糊搜索。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '06-ELive', - ], + 'schema' => ['title' => '嵌入配置模块名称', 'description' => '嵌入配置模块名称,模糊搜索。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '06-ELive'], ], ], 'responses' => [ @@ -13534,20 +7595,11 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求id。', - 'type' => 'string', - 'example' => '1FC71085-D5FD-08E0-813A-4D4BD1031BC5', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求id。', 'type' => 'string', 'example' => '1FC71085-D5FD-08E0-813A-4D4BD1031BC5'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], 'Result' => [ 'description' => '嵌入配置列表。', 'type' => 'array', @@ -13555,87 +7607,34 @@ 'description' => '嵌入配置对象。', 'type' => 'object', 'properties' => [ - 'AgentName' => [ - 'title' => '机器人昵称', - 'description' => '机器人昵称。', - 'type' => 'string', - 'example' => '小Q', - ], - 'CopilotId' => [ - 'title' => '嵌入id', - 'description' => '嵌入id。', - 'type' => 'string', - 'example' => '9c079710-ddbe-48b3-b495-7c83c8d57cc4', - ], - 'CreateUser' => [ - 'title' => '创建人userid', - 'description' => '创建人userid。', - 'type' => 'string', - 'example' => 'qweqw12312423521', - ], - 'CreateUserName' => [ - 'title' => '创建人的昵称', - 'description' => '创建人的昵称。', - 'type' => 'string', - 'example' => '诸葛', - ], + 'AgentName' => ['title' => '机器人昵称', 'description' => '机器人昵称。', 'type' => 'string', 'example' => '小Q'], + 'CopilotId' => ['title' => '嵌入id', 'description' => '嵌入id。', 'type' => 'string', 'example' => '9c079710-ddbe-48b3-b495-7c83c8d57cc4'], + 'CreateUser' => ['title' => '创建人userid', 'description' => '创建人userid。', 'type' => 'string', 'example' => 'qweqw12312423521'], + 'CreateUserName' => ['title' => '创建人的昵称', 'description' => '创建人的昵称。', 'type' => 'string', 'example' => '诸葛'], 'DataRange' => [ 'title' => '数据范围(分析主题和数据集)', 'description' => '数据范围(分析主题和问数资源)。', 'type' => 'object', 'properties' => [ - 'AllCube' => [ - 'title' => '是否全选问数资源', - 'description' => '是否全选问数资源。', - 'type' => 'boolean', - 'example' => 'true/false', - ], - 'AllTheme' => [ - 'title' => '是否全选分析主题', - 'description' => '是否全选分析主题。', - 'type' => 'boolean', - 'example' => 'true/false', - ], + 'AllCube' => ['title' => '是否全选问数资源', 'description' => '是否全选问数资源。', 'type' => 'boolean', 'example' => 'true/false'], + 'AllTheme' => ['title' => '是否全选分析主题', 'description' => '是否全选分析主题。', 'type' => 'boolean', 'example' => 'true/false'], 'LlmCubes' => [ 'title' => '数据集id集合', 'description' => '问数资源id集合。', 'type' => 'array', - 'items' => [ - 'description' => '问数资源id。', - 'type' => 'string', - 'example' => '123124,1231241', - ], + 'items' => ['description' => '问数资源id。', 'type' => 'string', 'example' => '123124,1231241'], ], 'Themes' => [ 'title' => '分析主题的id集合', 'description' => '分析主题的id集合。', 'type' => 'array', - 'items' => [ - 'description' => '分析主题id。', - 'type' => 'string', - 'example' => '123124,1231241', - ], + 'items' => ['description' => '分析主题id。', 'type' => 'string', 'example' => '123124,1231241'], ], ], ], - 'ModifyUser' => [ - 'title' => '修改人', - 'description' => '修改人userId。', - 'type' => 'string', - 'example' => 'asda1231231dfs', - ], - 'ModuleName' => [ - 'title' => '模块名称', - 'description' => '模块名称。', - 'type' => 'string', - 'example' => '小Q', - ], - 'ShowName' => [ - 'title' => '嵌入模块名称', - 'description' => '嵌入模块名称。', - 'type' => 'string', - 'example' => '0327', - ], + 'ModifyUser' => ['title' => '修改人', 'description' => '修改人userId。', 'type' => 'string', 'example' => 'asda1231231dfs'], + 'ModuleName' => ['title' => '模块名称', 'description' => '模块名称。', 'type' => 'string', 'example' => '小Q'], + 'ShowName' => ['title' => '嵌入模块名称', 'description' => '嵌入模块名称。', 'type' => 'string', 'example' => '0327'], ], ], ], @@ -13645,23 +7644,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UserRoleConfig.NotContain.Function', - 'errorMessage' => 'The user %s does not have permission to operate.', - 'description' => '', - ], + ['errorCode' => 'UserRoleConfig.NotContain.Function', 'errorMessage' => 'The user %s does not have permission to operate.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '获取开通小Q嵌入的配置列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -13671,12 +7661,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -13684,13 +7669,8 @@ ], 'QueryCubeOptimization' => [ 'summary' => '查询数据集优化建议。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13698,24 +7678,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], ], 'responses' => [ @@ -13723,158 +7691,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AdviceType' => [ - 'description' => '建议的类型,取值说明:'."\n" - .'- **OPEN_CACHE**:开放缓存。'."\n" - .'- **OPEN_QUICK_ENGINE**:开放快速缓存。'."\n" - .'- **INCREASE_CACHE_TIME**:增长缓存时间。', - 'type' => 'string', - 'example' => 'OPENQUICKENGINE', - ], + 'AdviceType' => ['description' => '建议的类型,取值说明:'."\n" + .'- **OPEN_CACHE**:开放缓存。'."\n" + .'- **OPEN_QUICK_ENGINE**:开放快速缓存。'."\n" + .'- **INCREASE_CACHE_TIME**:增长缓存时间。', 'type' => 'string', 'example' => 'OPENQUICKENGINE'], 'CubePerformanceDiagnoseModel' => [ 'description' => '数据集诊断信息。', 'type' => 'object', 'properties' => [ - 'CacheCostTimeAvg' => [ - 'description' => '命中缓存平均耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'CacheQueryCount' => [ - 'description' => '命中缓存次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'CostTimeAvg' => [ - 'description' => '平均查询时间。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1.0', - ], - 'CubeId' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => '3e45b61a-9ba8-4c7c-8248-8dbe69945636', - ], - 'CubeName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'QueryCount' => [ - 'description' => '查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'QueryCountAvg' => [ - 'description' => '平均查询次数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '2', - ], - 'QueryOverFivePercentNum' => [ - 'description' => '查询超过5s查询次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.1', - ], - 'QueryOverFiveSecPercent' => [ - 'description' => '查询超过5s占比。', - 'type' => 'string', - 'example' => '0.5', - ], - 'QueryOverTenSecPercent' => [ - 'description' => '查询超过10s占比。', - 'type' => 'string', - 'example' => '0.1', - ], - 'QueryOverTenSecPercentNum' => [ - 'description' => '查询超过10s查询次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'QueryTimeoutCount' => [ - 'description' => '图表查询超时次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'QueryTimeoutCountPercent' => [ - 'description' => '图表查询超时次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.3', - ], - 'QuickIndexCostTimeAvg' => [ - 'description' => '命中Quick引擎平均查询耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'QuickIndexQueryCount' => [ - 'description' => '命中Quick引擎次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RepeatQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '0.1', - ], - 'RepeatQueryPercentNum' => [ - 'description' => '重复查询数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '2', - ], - 'RepeatSqlQueryCount' => [ - 'description' => '重复查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RepeatSqlQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '0.3', - ], - 'WorkspaceId' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '6ea74bff-c818-4188-b462-dbb45a24dbac', - ], - 'WorkspaceName' => [ - 'description' => '工作空间名称。', - 'type' => 'string', - 'example' => 'eco0sh0prods', - ], + 'CacheCostTimeAvg' => ['description' => '命中缓存平均耗时。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'CacheQueryCount' => ['description' => '命中缓存次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'CostTimeAvg' => ['description' => '平均查询时间。', 'type' => 'number', 'format' => 'double', 'example' => '1.0'], + 'CubeId' => ['description' => '数据集ID。', 'type' => 'string', 'example' => '3e45b61a-9ba8-4c7c-8248-8dbe69945636'], + 'CubeName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => 'test'], + 'QueryCount' => ['description' => '查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'QueryCountAvg' => ['description' => '平均查询次数。', 'type' => 'number', 'format' => 'double', 'example' => '2'], + 'QueryOverFivePercentNum' => ['description' => '查询超过5s查询次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.1'], + 'QueryOverFiveSecPercent' => ['description' => '查询超过5s占比。', 'type' => 'string', 'example' => '0.5'], + 'QueryOverTenSecPercent' => ['description' => '查询超过10s占比。', 'type' => 'string', 'example' => '0.1'], + 'QueryOverTenSecPercentNum' => ['description' => '查询超过10s查询次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'QueryTimeoutCount' => ['description' => '图表查询超时次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'QueryTimeoutCountPercent' => ['description' => '图表查询超时次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.3'], + 'QuickIndexCostTimeAvg' => ['description' => '命中Quick引擎平均查询耗时。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'QuickIndexQueryCount' => ['description' => '命中Quick引擎次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RepeatQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '0.1'], + 'RepeatQueryPercentNum' => ['description' => '重复查询数。', 'type' => 'number', 'format' => 'double', 'example' => '2'], + 'RepeatSqlQueryCount' => ['description' => '重复查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RepeatSqlQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '0.3'], + 'WorkspaceId' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => '6ea74bff-c818-4188-b462-dbb45a24dbac'], + 'WorkspaceName' => ['description' => '工作空间名称。', 'type' => 'string', 'example' => 'eco0sh0prods'], ], ], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -13883,10 +7742,7 @@ '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' => '查询数据集优化建议', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -13896,12 +7752,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -13909,13 +7760,8 @@ ], 'QueryCubePerformance' => [ 'summary' => '查询数据集性能日志。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13923,91 +7769,46 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '查询类型:'."\n" - ."\n" - .'- **lastDay**:昨天'."\n" - .'- **sevenDays**:七天内'."\n" - .'- **thirtyDays**:三十天内', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sevenDays', - ], + 'schema' => ['description' => '查询类型:'."\n" + ."\n" + .'- **lastDay**:昨天'."\n" + .'- **sevenDays**:七天内'."\n" + .'- **thirtyDays**:三十天内', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sevenDays'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间成员列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '工作空间成员列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '100', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '100'], ], [ 'name' => 'CostTimeAvgMin', 'in' => 'query', - 'schema' => [ - 'description' => '平均耗时(分钟)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '平均耗时(分钟)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], ], 'responses' => [ @@ -14015,146 +7816,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '685072a0-1fd5-40ef-ae6b-cf94e79e718f', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '685072a0-1fd5-40ef-ae6b-cf94e79e718f'], 'Result' => [ 'type' => 'array', 'items' => [ 'description' => '数据集诊断信息。', 'type' => 'object', 'properties' => [ - 'CacheCostTimeAvg' => [ - 'description' => '命中缓存平均耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'CacheQueryCount' => [ - 'description' => '命中缓存次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CostTimeAvg' => [ - 'description' => '平均查询时间。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'CubeId' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => '7c7223ae-****-3c744528014b', - ], - 'CubeName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'QueryCount' => [ - 'description' => '查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'QueryCountAvg' => [ - 'description' => '平均查询次数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'QueryOverFivePercentNum' => [ - 'description' => '查询超过5s查询次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1.0', - ], - 'QueryOverFiveSecPercent' => [ - 'description' => '查询超过5s占比。', - 'type' => 'string', - 'example' => '1.0', - ], - 'QueryOverTenSecPercent' => [ - 'description' => '查询超过10s占比。', - 'type' => 'string', - 'example' => '1.0', - ], - 'QueryOverTenSecPercentNum' => [ - 'description' => '查询超过10s查询次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1.0', - ], - 'QueryTimeoutCount' => [ - 'description' => '图表查询超时次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'QueryTimeoutCountPercent' => [ - 'description' => '图表查询超时次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'QuickIndexCostTimeAvg' => [ - 'description' => '命中Quick引擎平均查询耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'QuickIndexQueryCount' => [ - 'description' => '命中Quick引擎次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RepeatQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '0.3', - ], - 'RepeatQueryPercentNum' => [ - 'description' => '重复查询数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'RepeatSqlQueryCount' => [ - 'description' => '重复查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RepeatSqlQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '1', - ], - 'WorkspaceId' => [ - 'description' => '作品所属工作空间的ID。', - 'type' => 'string', - 'example' => '87c6b145-090c-43e1-9426-8f93be23****', - ], - 'WorkspaceName' => [ - 'description' => '空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'CacheCostTimeAvg' => ['description' => '命中缓存平均耗时。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'CacheQueryCount' => ['description' => '命中缓存次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CostTimeAvg' => ['description' => '平均查询时间。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'CubeId' => ['description' => '数据集ID。', 'type' => 'string', 'example' => '7c7223ae-****-3c744528014b'], + 'CubeName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => 'test'], + 'QueryCount' => ['description' => '查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'QueryCountAvg' => ['description' => '平均查询次数。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'QueryOverFivePercentNum' => ['description' => '查询超过5s查询次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '1.0'], + 'QueryOverFiveSecPercent' => ['description' => '查询超过5s占比。', 'type' => 'string', 'example' => '1.0'], + 'QueryOverTenSecPercent' => ['description' => '查询超过10s占比。', 'type' => 'string', 'example' => '1.0'], + 'QueryOverTenSecPercentNum' => ['description' => '查询超过10s查询次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '1.0'], + 'QueryTimeoutCount' => ['description' => '图表查询超时次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'QueryTimeoutCountPercent' => ['description' => '图表查询超时次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'QuickIndexCostTimeAvg' => ['description' => '命中Quick引擎平均查询耗时。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'QuickIndexQueryCount' => ['description' => '命中Quick引擎次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RepeatQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '0.3'], + 'RepeatQueryPercentNum' => ['description' => '重复查询数。', 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'RepeatSqlQueryCount' => ['description' => '重复查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RepeatSqlQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '1'], + 'WorkspaceId' => ['description' => '作品所属工作空间的ID。', 'type' => 'string', 'example' => '87c6b145-090c-43e1-9426-8f93be23****'], + 'WorkspaceName' => ['description' => '空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -14163,10 +7859,7 @@ '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' => '查询数据集性能日志', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -14176,12 +7869,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -14190,12 +7878,8 @@ 'QueryDashboardNl2sql' => [ 'summary' => '查询仪表板的问数资源信息。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -14203,35 +7887,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3d7ebb8***********500078f4', - ], + 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3d7ebb8***********500078f4'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3d7ebb8***********500078f4', - ], + 'schema' => ['description' => '空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3d7ebb8***********500078f4'], ], ], 'responses' => [ @@ -14241,11 +7907,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '46e537a5****,3dadsu****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '46e537a5****,3dadsu****'], 'Result' => [ 'description' => '接口执行结果。取值范围:'."\n" ."\n" @@ -14256,87 +7918,37 @@ 'description' => '返回接口执行结果。', 'type' => 'object', 'properties' => [ - 'DashboardName' => [ - 'title' => '仪表板名称', - 'description' => '仪表板名称', - 'type' => 'string', - 'example' => '612b', - ], - 'DashboardNl2sqlId' => [ - 'title' => '仪表板问数资源id', - 'description' => '仪表板问数资源id', - 'type' => 'string', - 'example' => 'sasdas****sawdau', - ], - 'OwnerId' => [ - 'title' => '仪表板创建者Userid', - 'description' => '仪表板创建者Userid', - 'type' => 'string', - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], + 'DashboardName' => ['title' => '仪表板名称', 'description' => '仪表板名称', 'type' => 'string', 'example' => '612b'], + 'DashboardNl2sqlId' => ['title' => '仪表板问数资源id', 'description' => '仪表板问数资源id', 'type' => 'string', 'example' => 'sasdas****sawdau'], + 'OwnerId' => ['title' => '仪表板创建者Userid', 'description' => '仪表板创建者Userid', 'type' => 'string', 'example' => '46e5374665ba4b679ee22e2a2927****'], 'Authorities' => [ 'title' => '当该参数有值,并且包含"READ"时,表示该用户对该仪表板问数资源有问数权限', 'description' => '当该参数有值,并且包含"READ"时,表示该用户对该仪表板问数资源有问数权限。', 'type' => 'array', - 'items' => [ - 'title' => '', - 'description' => '当该参数有值,并且包含"READ"时,表示该用户对该仪表板问数资源有问数权限。', - 'type' => 'string', - 'example' => 'READ', - ], + 'items' => ['title' => '', 'description' => '当该参数有值,并且包含"READ"时,表示该用户对该仪表板问数资源有问数权限。', 'type' => 'string', 'example' => 'READ'], ], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围: '."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围: '."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => 'Workspace.Not.Exist', - 'errorMessage' => 'The group workspace does not exist.', - 'description' => '群空间不存在。', - ], - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '空间不在组织内。', - ], - [ - 'errorCode' => 'UserRoleConfig.NotContain.Function', - 'errorMessage' => 'The user %s does not have permission to operate.', - 'description' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'User.NotIn.Workspace', - 'errorMessage' => 'The user is not a member of the group workspace.', - 'description' => '该用户不在群空间中。', - ], + ['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' => 'Workspace.Not.Exist', 'errorMessage' => 'The group workspace does not exist.', 'description' => '群空间不存在。'], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], + ['errorCode' => 'UserRoleConfig.NotContain.Function', 'errorMessage' => 'The user %s does not have permission to operate.', 'description' => '此用户%s没有权限操作。'], + ['errorCode' => 'User.NotIn.Workspace', 'errorMessage' => 'The user is not a member of the group workspace.', 'description' => '该用户不在群空间中。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], '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"}]', 'title' => '查询仪表板的问数资源信息', 'changeSet' => [], @@ -14347,13 +7959,8 @@ ], 'QueryData' => [ 'summary' => '对数据服务中已创建的API进行调用。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14361,80 +7968,53 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'ApiId', 'in' => 'query', - 'schema' => [ - 'description' => '数据服务中的API ID,请参见:[数据服务](~~144980~~)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'f4cc43bc3***', - ], + 'schema' => ['description' => '数据服务中的API ID,请参见:[数据服务](~~144980~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f4cc43bc3***'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI中的userId。如何获取userId,请参见:[根据账号查询用户信息接口](https://next.api.aliyun.com/document/quickbi-public/2022-01-01/QueryUserInfoByAccount)'."\n" - .'> 该参数用于指定具体使用数据服务的人的身份,可结合数据集的行列权限配置使用'."\n" - ."\n\n" - ."\n" - .'><notice>参数不传、传空字符串、传null等情况,默认传入的userId为当前Quick BI组织的owner></notice>', - 'type' => 'string', - 'required' => false, - 'example' => 'b5d8fd9348cc4327****afb604', - ], + 'schema' => ['description' => 'Quick BI中的userId。如何获取userId,请参见:[根据账号查询用户信息接口](https://next.api.aliyun.com/document/quickbi-public/2022-01-01/QueryUserInfoByAccount)'."\n" + .'> 该参数用于指定具体使用数据服务的人的身份,可结合数据集的行列权限配置使用'."\n" + ."\n\n" + ."\n" + .'><notice>参数不传、传空字符串、传null等情况,默认传入的userId为当前Quick BI组织的owner></notice>', 'type' => 'string', 'required' => false, 'example' => 'b5d8fd9348cc4327****afb604'], ], [ 'name' => 'Conditions', 'in' => 'query', - 'schema' => [ - 'description' => '数据服务的查询条件,以Key和Value的形式传入。map类型的字符串。其中,Key为请求参数的参数名,Value为请求参数的参数值。Key和Value必须成对出现。'."\n" - ."\n" - .'**说明:**'."\n" - ."\n" - .'- 请求参数的操作符设置为**枚举筛选**时支持value包含多个值,此时value值的格式是JSON形式的List。例如: `area=["华东","华北","华南"] ` '."\n" - ."\n" - .'- 对于日期,根据类型不同,提供不同的入参格式:'."\n" - ."\n" - .' - 年:2019'."\n" - ."\n" - .' - 季:2019Q1'."\n" - ."\n" - .' - 月:201901 (携带0)'."\n" - .' '."\n" - .' - 周:2019-52'."\n" - ."\n" - .' - 日:20190101'."\n" - ."\n" - .' - 时:14:00:00 (分、秒为00)'."\n" - .' '."\n" - .' - 分:14:12:00 (秒为00)'."\n" - ."\n" - .' - 秒:14:34:34', - 'type' => 'string', - 'required' => false, - 'example' => '{ "area": ["test", "test"], "shopping_date": "2019Q1", }', - ], + 'schema' => ['description' => '数据服务的查询条件,以Key和Value的形式传入。map类型的字符串。其中,Key为请求参数的参数名,Value为请求参数的参数值。Key和Value必须成对出现。'."\n" + ."\n" + .'**说明:**'."\n" + ."\n" + .'- 请求参数的操作符设置为**枚举筛选**时支持value包含多个值,此时value值的格式是JSON形式的List。例如: `area=["华东","华北","华南"] ` '."\n" + ."\n" + .'- 对于日期,根据类型不同,提供不同的入参格式:'."\n" + ."\n" + .' - 年:2019'."\n" + ."\n" + .' - 季:2019Q1'."\n" + ."\n" + .' - 月:201901 (携带0)'."\n" + .' '."\n" + .' - 周:2019-52'."\n" + ."\n" + .' - 日:20190101'."\n" + ."\n" + .' - 时:14:00:00 (分、秒为00)'."\n" + .' '."\n" + .' - 分:14:12:00 (秒为00)'."\n" + ."\n" + .' - 秒:14:34:34', 'type' => 'string', 'required' => false, 'example' => '{ "area": ["test", "test"], "shopping_date": "2019Q1", }'], ], [ 'name' => 'ReturnFields', 'in' => 'query', - 'schema' => [ - 'description' => '返回参数的参数名列表,List 类型字符串。', - 'type' => 'string', - 'required' => false, - 'example' => '["area", "city", "price", "date"]', - ], + 'schema' => ['description' => '返回参数的参数名列表,List 类型字符串。', 'type' => 'string', 'required' => false, 'example' => '["area", "city", "price", "date"]'], ], ], 'responses' => [ @@ -14442,19 +8022,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'a4d1a221d-41za1-****', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'a4d1a221d-41za1-****'], 'Result' => [ 'description' => '返回接口执行结果。取值范围:'."\n" ."\n" @@ -14468,139 +8040,69 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Aggregator' => [ - 'description' => '聚合操作符。度量字段才会有,例如SUM、AVG和MAX。'."\n" - .'- SUM:求和'."\n" - .'- MAX:最大值'."\n" - .'- MIN:最小值'."\n" - .'- AVG:平均值'."\n" - .'- COUNT:计数'."\n" - .'- COUNTD:去重计数'."\n" - .'- STDDEV_POP:总体标准差'."\n" - .'- STDDEV_SAMP:样本标准差'."\n" - .'- VAR_POP:样本标准差'."\n" - .'- VAR_SAMP:样本方差', - 'type' => 'string', - 'example' => 'SUM', - ], - 'Column' => [ - 'description' => '字段名,对应物理表字段名。', - 'type' => 'string', - 'example' => 'test', - ], - 'DataType' => [ - 'description' => '字段的数据类型。一般有:'."\n" - .'- number:数值'."\n" - .'- string:字符串'."\n" - .'- date:日期'."\n" - .'- time:时间'."\n" - .'- datetime:日期时间', - 'type' => 'string', - 'example' => 'string', - ], - 'Granularity' => [ - 'description' => '维度字段的粒度。'."\n" - .'当请求字段为日期维度或地理维度字段,才会返回该字段,取值范围:'."\n" - ."\n" - .'- 日期粒度:yearRegion(年)、 monthRegion(月)、weekRegion(周)、dayRegion(日)、hourRegion(时)、minRegion(分)、secRegion(秒)'."\n" - ."\n" - .'- 地理信息粒度:COUNTRY("国际级")、PROVINCE("省级")、CITY("市级")、XIAN("区县")、REGION("区域")', - 'type' => 'string', - 'example' => 'REGION', - ], - 'Label' => [ - 'description' => '字段别名,结果参数values中map数据行的key。', - 'type' => 'string', - 'example' => 'area', - ], - 'Type' => [ - 'description' => '字段类型,用于区分是字段类型为维度或度量字段。'."\n" - .'- Dimension:维度'."\n" - .'- Measure:度量', - 'type' => 'string', - 'example' => 'Dimension', - ], - 'OriginalColumn' => [ - 'description' => '数据集里对应的字段原名。', - 'type' => 'string', - 'example' => 'area', - ], + 'Aggregator' => ['description' => '聚合操作符。度量字段才会有,例如SUM、AVG和MAX。'."\n" + .'- SUM:求和'."\n" + .'- MAX:最大值'."\n" + .'- MIN:最小值'."\n" + .'- AVG:平均值'."\n" + .'- COUNT:计数'."\n" + .'- COUNTD:去重计数'."\n" + .'- STDDEV_POP:总体标准差'."\n" + .'- STDDEV_SAMP:样本标准差'."\n" + .'- VAR_POP:样本标准差'."\n" + .'- VAR_SAMP:样本方差', 'type' => 'string', 'example' => 'SUM'], + 'Column' => ['description' => '字段名,对应物理表字段名。', 'type' => 'string', 'example' => 'test'], + 'DataType' => ['description' => '字段的数据类型。一般有:'."\n" + .'- number:数值'."\n" + .'- string:字符串'."\n" + .'- date:日期'."\n" + .'- time:时间'."\n" + .'- datetime:日期时间', 'type' => 'string', 'example' => 'string'], + 'Granularity' => ['description' => '维度字段的粒度。'."\n" + .'当请求字段为日期维度或地理维度字段,才会返回该字段,取值范围:'."\n" + ."\n" + .'- 日期粒度:yearRegion(年)、 monthRegion(月)、weekRegion(周)、dayRegion(日)、hourRegion(时)、minRegion(分)、secRegion(秒)'."\n" + ."\n" + .'- 地理信息粒度:COUNTRY("国际级")、PROVINCE("省级")、CITY("市级")、XIAN("区县")、REGION("区域")', 'type' => 'string', 'example' => 'REGION'], + 'Label' => ['description' => '字段别名,结果参数values中map数据行的key。', 'type' => 'string', 'example' => 'area'], + 'Type' => ['description' => '字段类型,用于区分是字段类型为维度或度量字段。'."\n" + .'- Dimension:维度'."\n" + .'- Measure:度量', 'type' => 'string', 'example' => 'Dimension'], + 'OriginalColumn' => ['description' => '数据集里对应的字段原名。', 'type' => 'string', 'example' => 'area'], ], + 'description' => '', ], ], - 'Sql' => [ - 'description' => '请求查询的 SQL。'."\n" - .'> 返回的sql语句中的过滤条件除了当前接口的传参条件外,还会带上行列权限的配置信息', - '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 \'%test%\' GROUP BY COMPANY_T_1_.`area`, COMPANY_T_1_.`city` HAVING SUM(COMPANY_T_1_.`order_amt`) > 1 LIMIT 0, 10', - ], + 'Sql' => ['description' => '请求查询的 SQL。'."\n" + .'> 返回的sql语句中的过滤条件除了当前接口的传参条件外,还会带上行列权限的配置信息', '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 \'%test%\' GROUP BY COMPANY_T_1_.`area`, COMPANY_T_1_.`city` HAVING SUM(COMPANY_T_1_.`order_amt`) > 1 LIMIT 0, 10'], 'Values' => [ 'description' => '返回查询到的结果。', 'type' => 'array', - 'items' => [ - 'description' => '返回数据的行和列。'."\n" - ."\n" - .'此参数为List<Map>结构,每个Map即一行数据。其中Map中的Key对应 Headers#Label字段。', - 'type' => 'object', - 'example' => '[{"area":"test","city":"test"},{"area":"test","city":"test"}]', - ], + 'items' => ['description' => '返回数据的行和列。'."\n" + ."\n" + .'此参数为List<Map>结构,每个Map即一行数据。其中Map中的Key对应 Headers#Label字段。', 'type' => 'object', 'example' => '[{"area":"test","city":"test"},{"area":"test","city":"test"}]'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'API.No.Permission', - 'errorMessage' => 'You are not authorized to call the data service API operation.', - 'description' => '您无权调用此数据服务API。', - ], - [ - 'errorCode' => 'API.Not.Exist', - 'errorMessage' => 'The data service API operation does not exist.', - 'description' => '数据服务 API 不存在。', - ], - [ - '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' => '参数 Conditions 错误:%s 未在模型中定义。', - ], - [ - 'errorCode' => 'Invalid.Parameter.ReturnFields', - 'errorMessage' => 'The specified returnFields is invalid. %s is not defined.', - 'description' => ' 参数ReturnFields错误:%s 未在模型中定义。', - ], - [ - 'errorCode' => 'Missing.Conditions', - 'errorMessage' => 'The specified Conditions is invalid. You must specify %s.', - 'description' => '输入参数Conditions 错误: %s 是必须项。', - ], - [ - 'errorCode' => 'Missing.Dimension.Measure', - 'errorMessage' => 'The dimension or measure %s does not exist in Cube.', - 'description' => ' Cube 模型中缺少维度或度量 %s 。', - ], - [ - 'errorCode' => 'Rowlevel.Permission.Forbbiden', - 'errorMessage' => 'The request is denied by row level permission. The dataset is %s, %s %s.', - 'description' => '请求被行级权限限制,数据集为%s,%s %s。', - ], - [ - 'errorCode' => 'Datasource.Sql.ExecuteFailed', - 'errorMessage' => 'Failed to execute the SQL statement in the data source.', - 'description' => '数据源执行SQL失败。', - ], + ['errorCode' => 'API.No.Permission', 'errorMessage' => 'You are not authorized to call the data service API operation.', 'description' => '您无权调用此数据服务API。'], + ['errorCode' => 'API.Not.Exist', 'errorMessage' => 'The data service API operation does not exist.', 'description' => '数据服务 API 不存在。'], + ['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' => '参数 Conditions 错误:%s 未在模型中定义。'], + ['errorCode' => 'Invalid.Parameter.ReturnFields', 'errorMessage' => 'The specified returnFields is invalid. %s is not defined.', 'description' => ' 参数ReturnFields错误:%s 未在模型中定义。'], + ['errorCode' => 'Missing.Conditions', 'errorMessage' => 'The specified Conditions is invalid. You must specify %s.', 'description' => '输入参数Conditions 错误: %s 是必须项。'], + ['errorCode' => 'Missing.Dimension.Measure', 'errorMessage' => 'The dimension or measure %s does not exist in Cube.', 'description' => ' Cube 模型中缺少维度或度量 %s 。'], + ['errorCode' => 'Rowlevel.Permission.Forbbiden', 'errorMessage' => 'The request is denied by row level permission. The dataset is %s, %s %s.', 'description' => '请求被行级权限限制,数据集为%s,%s %s。'], + ['errorCode' => 'Datasource.Sql.ExecuteFailed', 'errorMessage' => 'Failed to execute the SQL statement in the data source.', 'description' => '数据源执行SQL失败。'], + ['errorCode' => 'DataService.InputParam.Error', 'errorMessage' => 'input parameter error: %s.', 'description' => '输入的参数有误: %s。'], ], ], - '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' => '查询数据', 'description' => '### 前提条件'."\n" ."\n" @@ -14612,23 +8114,12 @@ .'* 数据服务 API 调用,接口超时时间为 60s,单个 API 的 QPS 为 10 次/秒。'."\n" .'* 数据服务 API 所引用数据集,如果开启了行级权限,API 调用的时候也会被行级权限策略拦截。', 'changeSet' => [ - [ - 'createdAt' => '2025-08-11T03:10:11.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-08-11T03:10:11.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryData', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryData'], ], ], 'ramActions' => [ @@ -14639,25 +8130,17 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], + '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"}]', ], 'QueryDataRange' => [ 'summary' => '获取嵌入配置界面的数据范围目录列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -14665,13 +8148,7 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Type', @@ -14687,24 +8164,14 @@ 'type' => 'string', 'required' => true, 'docRequired' => true, - 'enumValueTitles' => [ - 'llmCubeTheme' => '分析主题', - 'llmCube' => '问数资源', - ], + 'enumValueTitles' => ['llmCubeTheme' => '分析主题', 'llmCube' => '问数资源'], 'example' => 'llmCube', ], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'title' => '名称,模糊搜索。', - 'description' => '名称,模糊搜索。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试', - ], + 'schema' => ['title' => '名称,模糊搜索。', 'description' => '名称,模糊搜索。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试'], ], ], 'responses' => [ @@ -14714,19 +8181,10 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求id。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求id。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], 'Result' => [ 'description' => '数据范围对象。', 'type' => 'object', @@ -14739,24 +8197,9 @@ 'description' => '问数资源对象。', 'type' => 'object', 'properties' => [ - 'Alias' => [ - 'title' => '问数资源别名', - 'description' => '问数资源别名。', - 'type' => 'string', - 'example' => '测试', - ], - 'CreateUser' => [ - 'title' => '创建人昵称', - 'description' => '创建人昵称。', - 'type' => 'string', - 'example' => '诸葛', - ], - 'LlmCubeId' => [ - 'title' => '问数id', - 'description' => '问数资源id。', - 'type' => 'string', - 'example' => 'sdasdafas23342342342', - ], + 'Alias' => ['title' => '问数资源别名', 'description' => '问数资源别名。', 'type' => 'string', 'example' => '测试'], + 'CreateUser' => ['title' => '创建人昵称', 'description' => '创建人昵称。', 'type' => 'string', 'example' => '诸葛'], + 'LlmCubeId' => ['title' => '问数id', 'description' => '问数资源id。', 'type' => 'string', 'example' => 'sdasdafas23342342342'], ], ], ], @@ -14776,45 +8219,15 @@ 'description' => '问数资源对象。', 'type' => 'object', 'properties' => [ - 'Alias' => [ - 'title' => '问数资源别名', - 'description' => '问数资源别名。', - 'type' => 'string', - 'example' => '测哈', - ], - 'CreateUser' => [ - 'title' => '创建人昵称', - 'description' => '创建人昵称。', - 'type' => 'string', - 'example' => '诸葛', - ], - 'LlmCubeId' => [ - 'title' => '问数id', - 'description' => '问数资源id。', - 'type' => 'string', - 'example' => '1231242231asdasda', - ], + 'Alias' => ['title' => '问数资源别名', 'description' => '问数资源别名。', 'type' => 'string', 'example' => '测哈'], + 'CreateUser' => ['title' => '创建人昵称', 'description' => '创建人昵称。', 'type' => 'string', 'example' => '诸葛'], + 'LlmCubeId' => ['title' => '问数id', 'description' => '问数资源id。', 'type' => 'string', 'example' => '1231242231asdasda'], ], ], ], - 'CreateUser' => [ - 'title' => '创建人昵称', - 'description' => '创建人昵称。', - 'type' => 'string', - 'example' => '诸葛', - ], - 'ThemeId' => [ - 'title' => '分析主题id', - 'description' => '分析主题id。', - 'type' => 'string', - 'example' => '36631232342312312', - ], - 'ThemeName' => [ - 'title' => '分析主题昵称', - 'description' => '分析主题昵称。', - 'type' => 'string', - 'example' => '测试主题', - ], + 'CreateUser' => ['title' => '创建人昵称', 'description' => '创建人昵称。', 'type' => 'string', 'example' => '诸葛'], + 'ThemeId' => ['title' => '分析主题id', 'description' => '分析主题id。', 'type' => 'string', 'example' => '36631232342312312'], + 'ThemeName' => ['title' => '分析主题昵称', 'description' => '分析主题昵称。', 'type' => 'string', 'example' => '测试主题'], ], ], ], @@ -14826,32 +8239,16 @@ ], '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' => '', - ], + ['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', - ], + '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' => '获取数据范围目录列表', 'changeSet' => [ - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -14861,12 +8258,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -14874,13 +8266,8 @@ ], 'QueryDataService' => [ 'summary' => '对数据服务中已创建的API进行调用。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14888,66 +8275,44 @@ ], 'operationType' => 'read', 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'ApiId', 'in' => 'query', - 'schema' => [ - 'description' => '数据服务中的API ID,请参见:[数据服务](~~144980~~)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'f4cc43bc3***', - ], + 'schema' => ['description' => '数据服务中的API ID,请参见:[数据服务](~~144980~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f4cc43bc3***'], ], [ 'name' => 'Conditions', 'in' => 'query', - 'schema' => [ - 'description' => '数据服务的查询条件,以Key和Value的形式传入。map类型的字符串。其中,Key为请求参数的参数名,Value为请求参数的参数值。Key和Value必须成对出现。'."\n" - ."\n" - .'**说明:**'."\n" - ."\n" - .'- 请求参数的操作符设置为**枚举筛选**时支持value包含多个值,此时value值的格式是JSON形式的List。例如: `area=["华东","华北","华南"] ` '."\n" - ."\n" - .'- 对于日期,根据类型不同,提供不同的入参格式:'."\n" - ."\n" - .' - 年:2019'."\n" - ."\n" - .' - 季:2019Q1'."\n" - ."\n" - .' - 月:201901 (携带0)'."\n" - .' '."\n" - .' - 周:2019-52'."\n" - ."\n" - .' - 日:20190101'."\n" - ."\n" - .' - 时:14:00:00 (分、秒为00)'."\n" - .' '."\n" - .' - 分:14:12:00 (秒为00)'."\n" - ."\n" - .' - 秒:14:34:34', - 'type' => 'string', - 'required' => false, - 'example' => '{ "area": ["华东", "华北"], "shopping_date": "2019Q1", }', - ], + 'schema' => ['description' => '数据服务的查询条件,以Key和Value的形式传入。map类型的字符串。其中,Key为请求参数的参数名,Value为请求参数的参数值。Key和Value必须成对出现。'."\n" + ."\n" + .'**说明:**'."\n" + ."\n" + .'- 请求参数的操作符设置为**枚举筛选**时支持value包含多个值,此时value值的格式是JSON形式的List。例如: `area=["华东","华北","华南"] ` '."\n" + ."\n" + .'- 对于日期,根据类型不同,提供不同的入参格式:'."\n" + ."\n" + .' - 年:2019'."\n" + ."\n" + .' - 季:2019Q1'."\n" + ."\n" + .' - 月:201901 (携带0)'."\n" + .' '."\n" + .' - 周:2019-52'."\n" + ."\n" + .' - 日:20190101'."\n" + ."\n" + .' - 时:14:00:00 (分、秒为00)'."\n" + .' '."\n" + .' - 分:14:12:00 (秒为00)'."\n" + ."\n" + .' - 秒:14:34:34', 'type' => 'string', 'required' => false, 'example' => '{ "area": ["华东", "华北"], "shopping_date": "2019Q1", }'], ], [ 'name' => 'ReturnFields', 'in' => 'query', - 'schema' => [ - 'description' => '返回参数的参数名列表,List 类型字符串。', - 'type' => 'string', - 'required' => false, - 'example' => '["area", "city", "price", "date"]', - ], + 'schema' => ['description' => '返回参数的参数名列表,List 类型字符串。', 'type' => 'string', 'required' => false, 'example' => '["area", "city", "price", "date"]'], ], ], 'responses' => [ @@ -14955,20 +8320,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - ."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + ."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95'], 'Result' => [ 'description' => '返回接口查询结果。', 'type' => 'object', @@ -14979,60 +8336,28 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Aggregator' => [ - 'description' => '聚合操作符。度量字段才会有,例如SUM、AVG和MAX。', - 'type' => 'string', - 'example' => 'SUM', - ], - 'Column' => [ - 'description' => '字段名,对应物理表字段名。', - 'type' => 'string', - 'example' => '具体的物理字段名', - ], - 'DataType' => [ - 'description' => '字段的数据类型。一般有'."\n" - .'number、string、date、datetime、time、geographic。', - 'type' => 'string', - 'example' => 'string', - ], - 'Granularity' => [ - 'description' => '维度字段的粒度。'."\n" - .'当请求字段为日期维度或地理维度字段,才会返回该字段,取值范围:'."\n" - ."\n" - .'- 日期粒度:yearRegion(年)、 monthRegion(月)、weekRegion(周)、dayRegion(日)、hourRegion(时)、minRegion(分)、secRegion(秒)'."\n" - ."\n" - .'- 地理信息粒度:COUNTRY(国际级)、PROVINCE(省级)、CITY(市级)、XIAN(区县)、REGION(区域)', - 'type' => 'string', - 'example' => 'yearRegion', - ], - 'Label' => [ - 'description' => '字段别名,结果参数values中map数据行的key。', - 'type' => 'string', - 'example' => 'area', - ], - 'Type' => [ - 'description' => '字段类型,用于区分是字段类型为维度或度量字段。', - 'type' => 'string', - 'example' => 'StandardDimension', - ], + 'Aggregator' => ['description' => '聚合操作符。度量字段才会有,例如SUM、AVG和MAX。', 'type' => 'string', 'example' => 'SUM'], + 'Column' => ['description' => '字段名,对应物理表字段名。', 'type' => 'string', 'example' => '具体的物理字段名'], + 'DataType' => ['description' => '字段的数据类型。一般有'."\n" + .'number、string、date、datetime、time、geographic。', 'type' => 'string', 'example' => 'string'], + 'Granularity' => ['description' => '维度字段的粒度。'."\n" + .'当请求字段为日期维度或地理维度字段,才会返回该字段,取值范围:'."\n" + ."\n" + .'- 日期粒度:yearRegion(年)、 monthRegion(月)、weekRegion(周)、dayRegion(日)、hourRegion(时)、minRegion(分)、secRegion(秒)'."\n" + ."\n" + .'- 地理信息粒度:COUNTRY(国际级)、PROVINCE(省级)、CITY(市级)、XIAN(区县)、REGION(区域)', 'type' => 'string', 'example' => 'yearRegion'], + 'Label' => ['description' => '字段别名,结果参数values中map数据行的key。', 'type' => 'string', 'example' => 'area'], + 'Type' => ['description' => '字段类型,用于区分是字段类型为维度或度量字段。', 'type' => 'string', 'example' => 'StandardDimension'], ], ], ], - 'Sql' => [ - 'description' => '请求查询的 SQL。', - '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', - ], + 'Sql' => ['description' => '请求查询的 SQL。', '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'], 'Values' => [ 'description' => '返回查询到的结果。', 'type' => 'array', - 'items' => [ - 'description' => '返回数据的行和列。'."\n" - ."\n" - .'此参数为List<Map>结构,每个Map即一行数据。其中Map中的Key对应 Headers#Label字段。', - 'type' => 'object', - 'example' => '[{"area":"华东","city":"三明市"},{"area":"华东","city":"上海市"}]', - ], + 'items' => ['description' => '返回数据的行和列。'."\n" + ."\n" + .'此参数为List<Map>结构,每个Map即一行数据。其中Map中的Key对应 Headers#Label字段。', 'type' => 'object', 'example' => '[{"area":"华东","city":"三明市"},{"area":"华东","city":"上海市"}]'], ], ], ], @@ -15042,57 +8367,19 @@ ], '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' => '', - ], + ['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', - ], + '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' => '调用数据服务API', @@ -15114,12 +8401,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -15127,13 +8409,8 @@ ], 'QueryDataServiceList' => [ 'summary' => '查询数据服务API列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15141,62 +8418,30 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '数据服务名称。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试sql', - ], + 'schema' => ['description' => '数据服务名称。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试sql'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'dasdfdsa-csddf-dsadsa', - ], + 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'dasdfdsa-csddf-dsadsa'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '页码。默认取值**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '页码。默认取值**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], ], ], 'responses' => [ @@ -15204,11 +8449,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '78C1AA2D-9201-599E-A0BA-6FC462E57A95'], 'Result' => [ 'description' => '返回结果。', 'type' => 'object', @@ -15223,21 +8464,9 @@ 'description' => '数据服务的Model,JSON格式。', 'type' => 'object', 'properties' => [ - 'CubeId' => [ - 'description' => 'cube标识id。', - 'type' => 'string', - 'example' => '56f9f34a-bdba-496a-91a3-a18b1ff73a80', - ], - 'CubeName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => '测试数据集', - ], - 'Detail' => [ - 'description' => '明细 or 汇总。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'CubeId' => ['description' => 'cube标识id。', 'type' => 'string', 'example' => '56f9f34a-bdba-496a-91a3-a18b1ff73a80'], + 'CubeName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => '测试数据集'], + 'Detail' => ['description' => '明细 or 汇总。', 'type' => 'boolean', 'example' => 'true'], 'Filter' => [ 'description' => '请求参数信息。', 'type' => 'object', @@ -15245,56 +8474,44 @@ 'Filters' => [ 'description' => '组合条件。', 'type' => 'array', - 'items' => [ - 'description' => '分级门户菜单列表详情的 JSON 字符串。取值范围:'."\n" - ."\n" - .'- Type:类型。'."\n" - .' - 1.basic:基本'."\n" - .' - 2.combined:复杂'."\n" - .'- field:对应的cube字段'."\n" - .'- alias: 参数名'."\n" - .'- desc:字段的备注描述'."\n" - .'- aggregator:聚合函数'."\n" - .'- operator:操作符'."\n" - .'- essential:是否必传'."\n" - .'- defaultValue:系统默认值。如果接口调用不传入时,以此值替换。'."\n" - .'- interval:日期的偏移量。对于日期有效,相对默认值或者参数值的相对值。'."\n" - .'- logicalOperator:逻辑操作符'."\n" - .'- filters:组合条件(这是个套嵌结构)', - '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" - .'}]', - ], - ], - 'LogicalOperator' => [ - 'description' => '多个SQL文本关键词的逻辑关系。'."\n" - ."\n" - .'- **or**:或。'."\n" - .'- **and**:与。', - 'type' => 'string', - 'example' => 'and', - ], - 'Type' => [ - 'description' => '类型。'."\n" + 'items' => ['description' => '分级门户菜单列表详情的 JSON 字符串。取值范围:'."\n" ."\n" - .'- basic:基本'."\n" - .'- combined:复杂', - 'type' => 'string', - 'example' => 'basic', + .'- Type:类型。'."\n" + .' - 1.basic:基本'."\n" + .' - 2.combined:复杂'."\n" + .'- field:对应的cube字段'."\n" + .'- alias: 参数名'."\n" + .'- desc:字段的备注描述'."\n" + .'- aggregator:聚合函数'."\n" + .'- operator:操作符'."\n" + .'- essential:是否必传'."\n" + .'- defaultValue:系统默认值。如果接口调用不传入时,以此值替换。'."\n" + .'- interval:日期的偏移量。对于日期有效,相对默认值或者参数值的相对值。'."\n" + .'- logicalOperator:逻辑操作符'."\n" + .'- filters:组合条件(这是个套嵌结构)', '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" + .'}]'], ], + 'LogicalOperator' => ['description' => '多个SQL文本关键词的逻辑关系。'."\n" + ."\n" + .'- **or**:或。'."\n" + .'- **and**:与。', 'type' => 'string', 'example' => 'and'], + 'Type' => ['description' => '类型。'."\n" + ."\n" + .'- basic:基本'."\n" + .'- combined:复杂', 'type' => 'string', 'example' => 'basic'], ], ], 'ReturnFields' => [ @@ -15303,230 +8520,88 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Aggregator' => [ - 'description' => '聚合操作符。例如SUM、AVG和MAX。', - 'type' => 'string', - 'example' => 'SUM', - ], - 'Alias' => [ - 'description' => '字段参数名。', - 'type' => 'string', - 'example' => 's_number', - ], - 'Desc' => [ - 'description' => '返回字段的备注。', - 'type' => 'string', - 'example' => '主题配置已存在。', - ], + 'Aggregator' => ['description' => '聚合操作符。例如SUM、AVG和MAX。', 'type' => 'string', 'example' => 'SUM'], + 'Alias' => ['description' => '字段参数名。', 'type' => 'string', 'example' => 's_number'], + 'Desc' => ['description' => '返回字段的备注。', 'type' => 'string', 'example' => '主题配置已存在。'], 'Field' => [ 'description' => '对应的cube字段信息。', 'type' => 'object', 'properties' => [ - 'Caption' => [ - 'description' => 'cube模型中的显示名(可能是中文,也可能是英文)。', - 'type' => 'string', - 'example' => '日期(year)', - ], - 'Column' => [ - 'description' => '对应的物理字段名。', - 'type' => 'string', - 'example' => 'shid_star', - ], - 'DataType' => [ - 'description' => '数据类型。'."\n" - ."\n" - .'- number:数字'."\n" - .'- string:字符串'."\n" - .'- date:时间'."\n" - .'- datetime:时间'."\n" - .'- time:时间'."\n" - .'- geographic:地理'."\n" - .'- boolean:布尔'."\n" - .'- url:url', - 'type' => 'string', - 'example' => 'datetime', - ], - 'Fid' => [ - 'description' => '原始字段唯一标志ID。', - 'type' => 'string', - 'example' => '1c1f88cb7d', - ], - 'Granularity' => [ - 'description' => '日期维度、地理维度包含此属性,支持的粒度。', - 'type' => 'string', - 'example' => 'yearRegion', - ], - 'Name' => [ - 'description' => 'cube字段的唯一名称,主要用于返回结果的唯一定位。', - 'type' => 'string', - 'example' => 'sss', - ], - 'Type' => [ - 'description' => '类型。'."\n" - ."\n" - .'- Dimension:维度'."\n" - .'- Measure:度量', - 'type' => 'string', - 'example' => 'dimension', - ], + 'Caption' => ['description' => 'cube模型中的显示名(可能是中文,也可能是英文)。', 'type' => 'string', 'example' => '日期(year)'], + 'Column' => ['description' => '对应的物理字段名。', 'type' => 'string', 'example' => 'shid_star'], + 'DataType' => ['description' => '数据类型。'."\n" + ."\n" + .'- number:数字'."\n" + .'- string:字符串'."\n" + .'- date:时间'."\n" + .'- datetime:时间'."\n" + .'- time:时间'."\n" + .'- geographic:地理'."\n" + .'- boolean:布尔'."\n" + .'- url:url', 'type' => 'string', 'example' => 'datetime'], + 'Fid' => ['description' => '原始字段唯一标志ID。', 'type' => 'string', 'example' => '1c1f88cb7d'], + 'Granularity' => ['description' => '日期维度、地理维度包含此属性,支持的粒度。', 'type' => 'string', 'example' => 'yearRegion'], + 'Name' => ['description' => 'cube字段的唯一名称,主要用于返回结果的唯一定位。', 'type' => 'string', 'example' => 'sss'], + 'Type' => ['description' => '类型。'."\n" + ."\n" + .'- Dimension:维度'."\n" + .'- Measure:度量', 'type' => 'string', 'example' => 'dimension'], ], ], - 'Orderby' => [ - 'description' => '排序。'."\n" - ."\n" - .'- asc:升序'."\n" - .'- desc:降序'."\n" - .'- no:不排序', - 'type' => 'string', - 'example' => 'no', - ], + 'Orderby' => ['description' => '排序。'."\n" + ."\n" + .'- asc:升序'."\n" + .'- desc:降序'."\n" + .'- no:不排序', 'type' => 'string', 'example' => 'no'], ], ], ], ], ], - 'CreatorId' => [ - 'description' => '创建人id', - 'type' => 'string', - 'example' => '7cb94cd48701', - ], - 'CreatorName' => [ - 'description' => '创建者姓名', - 'type' => 'string', - 'example' => '张仔龙', - ], - 'CubeId' => [ - 'description' => 'cube标识id', - 'type' => 'string', - 'example' => 'd14e7448-0eb3-40d3-9375-4afef8de29fd', - ], - 'CubeName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => '测试数据集', - ], - 'Desc' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '测试用', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-05-18 14:00:02.0', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2023-03-21 18:02:36', - ], - 'ModifierId' => [ - 'description' => '修改者userId。', - 'type' => 'string', - 'example' => '7cb94cd48701', - ], - 'ModifierName' => [ - 'description' => '修改人名', - 'type' => 'string', - 'example' => '张仔龙'."\n", - ], - 'Name' => [ - 'description' => '数据服务名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'OwnerId' => [ - 'description' => '拥有者id', - 'type' => 'string', - 'example' => '862801339', - ], - 'OwnerName' => [ - 'description' => '所有者名字', - 'type' => 'string', - 'example' => '李四', - ], - 'Sid' => [ - 'description' => '数据服务的唯一ID。', - 'type' => 'string', - 'example' => 'dtsuq3i31f5j8v848b', - ], - 'WorkspaceId' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '7350a155-0e94-4c6c-8620-57bbec38****', - ], - 'WorkspaceName' => [ - 'description' => '工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'CreatorId' => ['description' => '创建人id', 'type' => 'string', 'example' => '7cb94cd48701'], + 'CreatorName' => ['description' => '创建者姓名', 'type' => 'string', 'example' => '张仔龙'], + 'CubeId' => ['description' => 'cube标识id', 'type' => 'string', 'example' => 'd14e7448-0eb3-40d3-9375-4afef8de29fd'], + 'CubeName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => '测试数据集'], + 'Desc' => ['description' => '描述', 'type' => 'string', 'example' => '测试用'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-05-18 14:00:02.0'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-03-21 18:02:36'], + 'ModifierId' => ['description' => '修改者userId。', 'type' => 'string', 'example' => '7cb94cd48701'], + 'ModifierName' => ['description' => '修改人名', 'type' => 'string', 'example' => '张仔龙'."\n"], + 'Name' => ['description' => '数据服务名称。', 'type' => 'string', 'example' => '测试报表'], + 'OwnerId' => ['description' => '拥有者id', 'type' => 'string', 'example' => '862801339'], + 'OwnerName' => ['description' => '所有者名字', 'type' => 'string', 'example' => '李四'], + 'Sid' => ['description' => '数据服务的唯一ID。', 'type' => 'string', 'example' => 'dtsuq3i31f5j8v848b'], + 'WorkspaceId' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => '7350a155-0e94-4c6c-8620-57bbec38****'], + 'WorkspaceName' => ['description' => '工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '页记录数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => ' '."\n" - .'总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '页记录数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => ' '."\n" + .'总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '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' => '数据服务列表API', 'changeSet' => [ - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -15536,12 +8611,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -15549,13 +8619,8 @@ ], 'QueryDatasetDetailInfo' => [ 'summary' => '查询指定数据集的详情,包括所属数据源、目录、以及数据集模型。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15563,24 +8628,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DatasetId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '5820f58c-c734-4d8a-baf1-7979af4f****', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '5820f58c-c734-4d8a-baf1-7979af4f****'], ], ], 'responses' => [ @@ -15588,25 +8641,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], - 'Result' => [ - 'description' => '返回JSON格式的数据集数据:'."\n" - .'`{ "cube": { "dimensions": [ { "caption": "客户名称", "dataType": "string", "dimensionType": "standard_dimension", "factColumn": "customer_name", "uid": "N5820f5_customer_name" }, { "caption": "订单编号", "dataType": "string", "dimensionType": "standard_dimension", "factColumn": "order_id", "uid": "N5820f5_order_id" }, ], "measures": [ { "caption": "订单金额", "dataType": "number", "factColumn": "order_amt", "measureType": "standard_measure", "uid": "N5820f5_order_amt" } ], "table": { "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": "立三自用", "dsType": "mysql" }, "directory": { "id": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "name": "我的数据集", "pathId": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "pathName": "我的数据集" }, "ownerId": "13651626232****", "ownerName": "张三", "rowLevel": false, "workspaceId": "95296e95-ca89-4c7d-8af9-dedf0ad0****", "workspaceName": "测试工作空间" }`', - 'type' => 'string', - 'example' => '返回JSON格式的数据集数据,详见左侧说明。', - ], - 'Success' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], + 'Result' => ['description' => '返回JSON格式的数据集数据:'."\n" + .'`{ "cube": { "dimensions": [ { "caption": "客户名称", "dataType": "string", "dimensionType": "standard_dimension", "factColumn": "customer_name", "uid": "N5820f5_customer_name" }, { "caption": "订单编号", "dataType": "string", "dimensionType": "standard_dimension", "factColumn": "order_id", "uid": "N5820f5_order_id" }, ], "measures": [ { "caption": "订单金额", "dataType": "number", "factColumn": "order_amt", "measureType": "standard_measure", "uid": "N5820f5_order_amt" } ], "table": { "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": "立三自用", "dsType": "mysql" }, "directory": { "id": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "name": "我的数据集", "pathId": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "pathName": "我的数据集" }, "ownerId": "13651626232****", "ownerName": "张三", "rowLevel": false, "workspaceId": "95296e95-ca89-4c7d-8af9-dedf0ad0****", "workspaceName": "测试工作空间" }`', 'type' => 'string', 'example' => '返回JSON格式的数据集数据,详见左侧说明。'], + 'Success' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -15614,54 +8655,23 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], - [ - 'errorCode' => 'Not.WorkspaceCube.Error', - 'errorMessage' => 'You can only use the %s dataset of the current workspace.', - 'description' => '只能使用当前工作空间的数据集。', - ], - [ - 'errorCode' => 'DatasourceId.IsNull.Error', - 'errorMessage' => 'You must select a data source before selecting the table.', - 'description' => '必须选择数据源之后再选择表。', - ], - [ - 'errorCode' => 'Datasource.UserPermission.Error', - 'errorMessage' => 'You do not have datasource authorization.', - 'description' => '当前用户没有数据源权限。', - ], - [ - 'errorCode' => 'CubeDimension.NotExist.Error', - 'errorMessage' => 'The dimension does not exist in the dataset. The dimension ID is %s.', - 'description' => '数据集包含的维度不存在,维度path id:%s。', - ], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], + ['errorCode' => 'Not.WorkspaceCube.Error', 'errorMessage' => 'You can only use the %s dataset of the current workspace.', 'description' => '只能使用当前工作空间的数据集。'], + ['errorCode' => 'DatasourceId.IsNull.Error', 'errorMessage' => 'You must select a data source before selecting the table.', 'description' => '必须选择数据源之后再选择表。'], + ['errorCode' => 'Datasource.UserPermission.Error', 'errorMessage' => 'You do not have datasource authorization.', 'description' => '当前用户没有数据源权限。'], + ['errorCode' => 'CubeDimension.NotExist.Error', 'errorMessage' => 'The dimension does not exist in the dataset. The dimension ID is %s.', 'description' => '数据集包含的维度不存在,维度path id:%s。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": \\"返回JSON格式的数据集数据,详见左侧说明。\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<QueryDatasetDetailInfoResponse>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>返回JSON格式的数据集数据,详见右侧说明。</Result>\\n <Success>true</Success>\\n</QueryDatasetDetailInfoResponse>","errorExample":""}]', 'title' => '查询数据集详情', 'description' => '其中包括所属数据源、目录、以及数据集模型(包含维度、度量、物理字段、自定义SQL文本、关联关系等信息)。', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryDatasetDetailInfo', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDatasetDetailInfo'], ], ], 'ramActions' => [ @@ -15672,12 +8682,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -15685,13 +8690,8 @@ ], 'QueryDatasetInfo' => [ 'summary' => '查询指定数据集的信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15699,24 +8699,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'DatasetId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集唯一ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'a201c85c-******', - ], + 'schema' => ['description' => '数据集唯一ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a201c85c-******'], ], ], 'responses' => [ @@ -15724,11 +8712,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'a4d1a221d-41za1-****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'a4d1a221d-41za1-****'], 'Result' => [ 'description' => '数据集信息。', 'type' => 'object', @@ -15739,78 +8723,34 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Caption' => [ - 'description' => '表的显示名称。', - 'type' => 'string', - 'example' => 'odps_40', - ], - 'Customsql' => [ - 'description' => '是否是自定义SQL表,取值范围:'."\n" - ."\n" - .'- true:自定义SQL表'."\n" - .'- false:非自定义SQL表', - 'type' => 'boolean', - 'example' => 'false', - ], - 'DatasourceId' => [ - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => 'dfefd7f4-fc6e-42c9-b4******', - ], - 'DsType' => [ - 'description' => '数据源类型,取值范围:'."\n" - ."\n" - .'- mysql'."\n" - .'- odps'."\n" - .'- oracle'."\n" - .'- ...等Quick BI支持的数据源类型', - 'type' => 'string', - 'example' => 'maxcompute', - ], - 'FactTable' => [ - 'description' => '是否是数据源表,取值范围:'."\n" - ."\n" - .'- true:数据源表'."\n" - .'- false:自定义表', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Sql' => [ - 'description' => '当为自定义SQL表时,此为具体SQL。', - 'type' => 'string', - 'example' => 'select * from ****', - ], - 'TableName' => [ - 'description' => '表名称。', - 'type' => 'string', - 'example' => 'viewdasb8494aab2612473cb74992159fe****', - ], - 'UniqueId' => [ - 'description' => '表唯一ID。', - 'type' => 'string', - 'example' => '7a62530b36', - ], + 'Caption' => ['description' => '表的显示名称。', 'type' => 'string', 'example' => 'odps_40'], + 'Customsql' => ['description' => '是否是自定义SQL表,取值范围:'."\n" + ."\n" + .'- true:自定义SQL表'."\n" + .'- false:非自定义SQL表', 'type' => 'boolean', 'example' => 'false'], + 'DatasourceId' => ['description' => '数据源ID。', 'type' => 'string', 'example' => 'dfefd7f4-fc6e-42c9-b4******'], + 'DsType' => ['description' => '数据源类型,取值范围:'."\n" + ."\n" + .'- mysql'."\n" + .'- odps'."\n" + .'- oracle'."\n" + .'- ...等Quick BI支持的数据源类型', 'type' => 'string', 'example' => 'maxcompute'], + 'FactTable' => ['description' => '是否是数据源表,取值范围:'."\n" + ."\n" + .'- true:数据源表'."\n" + .'- false:自定义表', 'type' => 'boolean', 'example' => 'true'], + 'Sql' => ['description' => '当为自定义SQL表时,此为具体SQL。', 'type' => 'string', 'example' => 'select * from ****'], + 'TableName' => ['description' => '表名称。', 'type' => 'string', 'example' => 'viewdasb8494aab2612473cb74992159fe****'], + 'UniqueId' => ['description' => '表唯一ID。', 'type' => 'string', 'example' => '7a62530b36'], ], ], ], - 'CustimzeSql' => [ - 'description' => '是否自定义SQL,取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'example' => 'false', - ], - 'DatasetId' => [ - 'description' => '数据集唯一ID。', - 'type' => 'string', - 'example' => 'a201c85c-******', - ], - 'DatasetName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => 'opds_40', - ], + 'CustimzeSql' => ['description' => '是否自定义SQL,取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否', 'type' => 'boolean', 'example' => 'false'], + 'DatasetId' => ['description' => '数据集唯一ID。', 'type' => 'string', 'example' => 'a201c85c-******'], + 'DatasetName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => 'opds_40'], 'DimensionList' => [ 'description' => '数据集中所有维度的列表。', 'type' => 'array', @@ -15818,69 +8758,25 @@ 'description' => '数据集中所有维度的列表。', 'type' => 'object', 'properties' => [ - 'Caption' => [ - 'description' => '维度显示名称。', - 'type' => 'string', - 'example' => 'city', - ], - 'DataType' => [ - 'description' => '数据类型; 取值范围:'."\n" - ."\n" - .'- string:字符'."\n" - .'- number:数字'."\n" - .'- datetime:时间', - 'type' => 'string', - 'example' => 'string', - ], - 'DimensionType' => [ - 'description' => '维度类型,取值范围:'."\n" - ."\n" - .'- standard_dimension:普通维度'."\n" - .'- calculate_dimension:计算维度'."\n" - .'- group_dimension:分组维度', - 'type' => 'string', - 'example' => 'group_dimension', - ], - 'Expression' => [ - 'description' => '计算维度的表达式;仅对计算维度有效。', - 'type' => 'string', - 'example' => 'example_expression', - ], - 'FactColumn' => [ - 'description' => '实际物理字段。', - 'type' => 'string', - 'example' => 'city', - ], - 'FieldDescription' => [ - 'description' => '字段描述信息。', - 'type' => 'string', - 'example' => 'hhhh', - ], - 'Granularity' => [ - 'description' => '粒度。', - 'type' => 'string', - 'example' => 'example_granularity', - ], - 'RefUid' => [ - 'description' => '分组度量,引用的字段唯一ID。当且仅当该度量为分组度量时非NULL。', - 'type' => 'string', - 'example' => '308f7****', - ], - 'TableUniqueId' => [ - 'description' => '所属表的唯一ID,对应CubeTypeList的UniqueId。', - 'type' => 'string', - 'example' => '7a62530***', - ], - 'Uid' => [ - 'description' => '唯一ID。', - 'type' => 'string', - 'example' => 'a69774***', - ], - 'ExpressionV2' => [ - 'description' => '平铺的计算维度的表达式。', - 'type' => 'string', - 'example' => 'example_expression', - ], + 'Caption' => ['description' => '维度显示名称。', 'type' => 'string', 'example' => 'city'], + 'DataType' => ['description' => '数据类型; 取值范围:'."\n" + ."\n" + .'- string:字符'."\n" + .'- number:数字'."\n" + .'- datetime:时间', 'type' => 'string', 'example' => 'string'], + 'DimensionType' => ['description' => '维度类型,取值范围:'."\n" + ."\n" + .'- standard_dimension:普通维度'."\n" + .'- calculate_dimension:计算维度'."\n" + .'- group_dimension:分组维度', 'type' => 'string', 'example' => 'group_dimension'], + 'Expression' => ['description' => '计算维度的表达式;仅对计算维度有效。', 'type' => 'string', 'example' => 'example_expression'], + 'FactColumn' => ['description' => '实际物理字段。', 'type' => 'string', 'example' => 'city'], + 'FieldDescription' => ['description' => '字段描述信息。', 'type' => 'string', 'example' => 'hhhh'], + 'Granularity' => ['description' => '粒度。', 'type' => 'string', 'example' => 'example_granularity'], + 'RefUid' => ['description' => '分组度量,引用的字段唯一ID。当且仅当该度量为分组度量时非NULL。', 'type' => 'string', 'example' => '308f7****'], + 'TableUniqueId' => ['description' => '所属表的唯一ID,对应CubeTypeList的UniqueId。', 'type' => 'string', 'example' => '7a62530***'], + 'Uid' => ['description' => '唯一ID。', 'type' => 'string', 'example' => 'a69774***'], + 'ExpressionV2' => ['description' => '平铺的计算维度的表达式。', 'type' => 'string', 'example' => 'example_expression'], ], ], ], @@ -15888,245 +8784,93 @@ 'description' => '数据集所属目录信息。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '目录ID。', - 'type' => 'string', - 'example' => 'a3eecab7-618d-4f9f-*****', - ], - 'Name' => [ - 'description' => '目录名称。', - 'type' => 'string', - 'example' => '测试目录', - ], - 'PathId' => [ - 'description' => '目录ID的路径,例如:aa/bb/cc/dd。', - 'type' => 'string', - 'example' => '88b680****', - ], - 'PathName' => [ - 'description' => '目录ID的路径名称,例如:一层目录/二层目录。', - 'type' => 'string', - 'example' => '测试目录', - ], - ], - ], - 'DsId' => [ - 'description' => '数据源唯一ID。', - 'type' => 'string', - 'example' => 'a201c85c-******', - ], - 'DsName' => [ - 'description' => '数据源名称。', - 'type' => 'string', - 'example' => 'odps', - ], - 'DsType' => [ - 'description' => '数据源类型,取值范围:'."\n" - ."\n" - .'- mysql'."\n" - .'- odps'."\n" - .'- oracle'."\n" - .'- …等Quick BI支持的数据源类型', - 'type' => 'string', - 'example' => 'odps', - ], - 'GmtCreate' => [ - 'description' => '数据集创建时间。', - 'type' => 'string', - 'example' => '1629450382000', - ], - 'GmtModify' => [ - 'description' => '数据集最新修改时间。', - 'type' => 'string', - 'example' => '1629450382000', - ], + 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'a3eecab7-618d-4f9f-*****'], + 'Name' => ['description' => '目录名称。', 'type' => 'string', 'example' => '测试目录'], + 'PathId' => ['description' => '目录ID的路径,例如:aa/bb/cc/dd。', 'type' => 'string', 'example' => '88b680****'], + 'PathName' => ['description' => '目录ID的路径名称,例如:一层目录/二层目录。', 'type' => 'string', 'example' => '测试目录'], + ], + ], + 'DsId' => ['description' => '数据源唯一ID。', 'type' => 'string', 'example' => 'a201c85c-******'], + 'DsName' => ['description' => '数据源名称。', 'type' => 'string', 'example' => 'odps'], + 'DsType' => ['description' => '数据源类型,取值范围:'."\n" + ."\n" + .'- mysql'."\n" + .'- odps'."\n" + .'- oracle'."\n" + .'- …等Quick BI支持的数据源类型', 'type' => 'string', 'example' => 'odps'], + 'GmtCreate' => ['description' => '数据集创建时间。', 'type' => 'string', 'example' => '1629450382000'], + 'GmtModify' => ['description' => '数据集最新修改时间。', 'type' => 'string', 'example' => '1629450382000'], 'MeasureList' => [ 'description' => '数据集所有度量的列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Caption' => [ - 'description' => '度量显示名称。', - 'type' => 'string', - 'example' => 'profit_amt', - ], - 'DataType' => [ - 'description' => '数据类型; 取值范围:'."\n" - ."\n" - .'- string:字符'."\n" - .'- number:数字'."\n" - .'- datetime:时间', - 'type' => 'string', - 'example' => 'string', - ], - 'Expression' => [ - 'description' => '计算度量的表达式;仅对计算度量有效。', - 'type' => 'string', - 'example' => 'example_expression', - ], - 'FactColumn' => [ - 'description' => '实际物理字段。', - 'type' => 'string', - 'example' => 'profit_amt', - ], - 'FieldDescription' => [ - 'description' => '字段描述信息。', - 'type' => 'string', - 'example' => 'asadsda', - ], - 'MeasureType' => [ - 'description' => '度量类型,取值范围:'."\n" - ."\n" - .'- standard_measure:普通度量'."\n" - .'- calculate_measure:计算度量', - 'type' => 'string', - 'example' => 'calculate_measure', - ], - 'TableUniqueId' => [ - 'description' => '所属表的唯一ID,对应CubeTypeList的UniqueId。', - 'type' => 'string', - 'example' => '7a62530b36', - ], - 'Uid' => [ - 'description' => '度量唯一ID。', - 'type' => 'string', - 'example' => '88b680****', - ], - 'ExpressionV2' => [ - 'description' => '平铺的计算度量的表达式。', - 'type' => 'string', - 'example' => 'example_expression', - ], + 'Caption' => ['description' => '度量显示名称。', 'type' => 'string', 'example' => 'profit_amt'], + 'DataType' => ['description' => '数据类型; 取值范围:'."\n" + ."\n" + .'- string:字符'."\n" + .'- number:数字'."\n" + .'- datetime:时间', 'type' => 'string', 'example' => 'string'], + 'Expression' => ['description' => '计算度量的表达式;仅对计算度量有效。', 'type' => 'string', 'example' => 'example_expression'], + 'FactColumn' => ['description' => '实际物理字段。', 'type' => 'string', 'example' => 'profit_amt'], + 'FieldDescription' => ['description' => '字段描述信息。', 'type' => 'string', 'example' => 'asadsda'], + 'MeasureType' => ['description' => '度量类型,取值范围:'."\n" + ."\n" + .'- standard_measure:普通度量'."\n" + .'- calculate_measure:计算度量', 'type' => 'string', 'example' => 'calculate_measure'], + 'TableUniqueId' => ['description' => '所属表的唯一ID,对应CubeTypeList的UniqueId。', 'type' => 'string', 'example' => '7a62530b36'], + 'Uid' => ['description' => '度量唯一ID。', 'type' => 'string', 'example' => '88b680****'], + 'ExpressionV2' => ['description' => '平铺的计算度量的表达式。', 'type' => 'string', 'example' => 'example_expression'], ], ], ], - 'OpenOfflineAcceleration' => [ - 'description' => '是否开启抽取加速,取值范围:'."\n" - ."\n" - .'- true:开启'."\n" - .'- false:关闭', - 'type' => 'boolean', - 'example' => 'false', - ], - 'OwnerId' => [ - 'description' => '数据集所有者在Quick BI的用户ID。', - 'type' => 'string', - 'example' => 'b8494aab26124*****', - ], - 'OwnerName' => [ - 'description' => '数据集所有者名称。', - 'type' => 'string', - 'example' => '大娃', - ], - 'RowLevel' => [ - 'description' => '行级权限是否开启,取值范围:'."\n" - ."\n" - .'- true:开启'."\n" - .'- false:关闭', - 'type' => 'boolean', - 'example' => 'false', - ], - 'WorkspaceId' => [ - 'description' => '数据集所属工作空间唯一ID。', - 'type' => 'string', - 'example' => '420abef4-a79b-4289-b12****', - ], - 'WorkspaceName' => [ - 'description' => '数据集所处空间名称。', - 'type' => 'string', - 'example' => '测试空间', - ], + 'OpenOfflineAcceleration' => ['description' => '是否开启抽取加速,取值范围:'."\n" + ."\n" + .'- true:开启'."\n" + .'- false:关闭', 'type' => 'boolean', 'example' => 'false'], + 'OwnerId' => ['description' => '数据集所有者在Quick BI的用户ID。', 'type' => 'string', 'example' => 'b8494aab26124*****'], + 'OwnerName' => ['description' => '数据集所有者名称。', 'type' => 'string', 'example' => '大娃'], + 'RowLevel' => ['description' => '行级权限是否开启,取值范围:'."\n" + ."\n" + .'- true:开启'."\n" + .'- false:关闭', 'type' => 'boolean', 'example' => 'false'], + 'WorkspaceId' => ['description' => '数据集所属工作空间唯一ID。', 'type' => 'string', 'example' => '420abef4-a79b-4289-b12****'], + 'WorkspaceName' => ['description' => '数据集所处空间名称。', 'type' => 'string', 'example' => '测试空间'], ], ], - 'Success' => [ - 'description' => '接口是否成功返回,取值范围:'."\n" - ."\n" - .'- true:成功'."\n" - .'- false:失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '接口是否成功返回,取值范围:'."\n" + ."\n" + .'- true:成功'."\n" + .'- false:失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], - [ - 'errorCode' => 'Not.WorkspaceCube.Error', - 'errorMessage' => 'You can only use the %s dataset of the current workspace.', - 'description' => '只能使用当前工作空间的数据集。', - ], - [ - 'errorCode' => 'Decryption.Error', - 'errorMessage' => 'An error occurred while decoding.', - 'description' => '解密失败。', - ], - [ - 'errorCode' => 'Datasource.UserPermission.Error', - 'errorMessage' => 'You do not have datasource authorization.', - 'description' => '当前用户没有数据源权限。', - ], - [ - 'errorCode' => 'CubeMeta.ToXml.Error', - 'errorMessage' => 'An error occurred while converting the data object to the XML format.', - 'description' => '数据对象转换XML失败。', - ], - [ - 'errorCode' => 'Datasource.NotFound.Error', - 'errorMessage' => 'The specified data source does not exist: %s.', - 'description' => '数据源不存在:%s。', - ], - [ - 'errorCode' => 'Cube.ParseToXml.Error', - 'errorMessage' => 'An error occurred while parsing a dataset object to XML format.', - 'description' => '将多维数据集对象解析为XML错误。', - ], - [ - 'errorCode' => 'DatasourceId.IsNull.Error', - 'errorMessage' => 'You must select a data source before selecting the table.', - 'description' => '必须选择数据源之后再选择表。', - ], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], + ['errorCode' => 'Not.WorkspaceCube.Error', 'errorMessage' => 'You can only use the %s dataset of the current workspace.', 'description' => '只能使用当前工作空间的数据集。'], + ['errorCode' => 'Decryption.Error', 'errorMessage' => 'An error occurred while decoding.', 'description' => '解密失败。'], + ['errorCode' => 'Datasource.UserPermission.Error', 'errorMessage' => 'You do not have datasource authorization.', 'description' => '当前用户没有数据源权限。'], + ['errorCode' => 'CubeMeta.ToXml.Error', 'errorMessage' => 'An error occurred while converting the data object to the XML format.', 'description' => '数据对象转换XML失败。'], + ['errorCode' => 'Datasource.NotFound.Error', 'errorMessage' => 'The specified data source does not exist: %s.', 'description' => '数据源不存在:%s。'], + ['errorCode' => 'Cube.ParseToXml.Error', 'errorMessage' => 'An error occurred while parsing a dataset object to XML format.', 'description' => '将多维数据集对象解析为XML错误。'], + ['errorCode' => 'DatasourceId.IsNull.Error', 'errorMessage' => 'You must select a data source before selecting the table.', 'description' => '必须选择数据源之后再选择表。'], ], ], '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' => '查询数据集信息', 'changeSet' => [ - [ - 'createdAt' => '2025-05-28T03:27:58.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:31.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-09-18T02:06:59.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2024-05-22T03:08:06.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-05-28T03:27:58.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-18T01:53:31.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-09-18T02:06:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-05-22T03:08:06.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryDatasetInfo', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDatasetInfo'], ], ], 'ramActions' => [ @@ -16137,12 +8881,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -16150,13 +8889,8 @@ ], 'QueryDatasetList' => [ 'summary' => '查询指定工作空间的数据集列表,按照创建时间倒序排列。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16164,92 +8898,48 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'DirectoryId', 'in' => 'query', - 'schema' => [ - 'description' => '指定目录ID。'."\n" - ."\n" - .'- 若该字段不为空,则获取该目录下的所有数据集。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****', - ], + 'schema' => ['description' => '指定目录ID。'."\n" + ."\n" + .'- 若该字段不为空,则获取该目录下的所有数据集。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****'], ], [ 'name' => 'WithChildren', 'in' => 'query', - 'schema' => [ - 'description' => '是否递归包好子目录下的数据集。取值范围:'."\n" - ."\n" - .'- true:返回directoryId目录下所有递归子目录下的数据集。'."\n" - .'- false:仅返回directoryId指定目录下的数据集,不包含子目录下的。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否递归包好子目录下的数据集。取值范围:'."\n" + ."\n" + .'- true:返回directoryId目录下所有递归子目录下的数据集。'."\n" + .'- false:仅返回directoryId指定目录下的数据集,不包含子目录下的。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '数据集名称搜索关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '数据集名称搜索关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '数据集列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '数据集列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], ], 'responses' => [ @@ -16257,19 +8947,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回数据集列表的分页结果,数据集列表的详细信息存放在返回参数Data中。', 'type' => 'object', @@ -16280,141 +8962,49 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2020-11-02 10:36:05', - ], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2020-11-02 10:36:05'], 'DataSource' => [ 'description' => '数据集所属数据源信息', 'type' => 'object', 'properties' => [ - 'DsId' => [ - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '261b252d-c3c3-498a-a0a7-5d1ec6cd****', - ], - 'DsName' => [ - 'description' => '数据源名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'DsType' => [ - 'description' => '数据源类型。', - 'type' => 'string', - 'example' => 'mysql', - ], + 'DsId' => ['description' => '数据源ID。', 'type' => 'string', 'example' => '261b252d-c3c3-498a-a0a7-5d1ec6cd****'], + 'DsName' => ['description' => '数据源名称。', 'type' => 'string', 'example' => 'test'], + 'DsType' => ['description' => '数据源类型。', 'type' => 'string', 'example' => 'mysql'], ], ], - 'DatasetId' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => '5820f58c-c734-4d8a-baf1-7979af4f****', - ], - 'DatasetName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => 'company_sales_record_copy12', - ], - 'Description' => [ - 'description' => '数据集备注。', - 'type' => 'string', - 'example' => 'test', - ], + 'DatasetId' => ['description' => '数据集ID。', 'type' => 'string', 'example' => '5820f58c-c734-4d8a-baf1-7979af4f****'], + 'DatasetName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => 'company_sales_record_copy12'], + 'Description' => ['description' => '数据集备注。', 'type' => 'string', 'example' => 'test'], 'Directory' => [ 'description' => '数据集所处目录信息', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '目录ID。', - 'type' => 'string', - 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****', - ], - 'Name' => [ - 'description' => '目录名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'PathId' => [ - 'description' => '所处目录路径的ID。', - 'type' => 'string', - 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****', - ], - 'PathName' => [ - 'description' => '所处目录路径的名称。', - 'type' => 'string', - 'example' => 'test', - ], + 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****'], + 'Name' => ['description' => '目录名称。', 'type' => 'string', 'example' => 'test'], + 'PathId' => ['description' => '所处目录路径的ID。', 'type' => 'string', 'example' => 'schemaad8aad00-9c55-4984-a767-b4e0ec60****'], + 'PathName' => ['description' => '所处目录路径的名称。', 'type' => 'string', 'example' => 'test'], ], ], - 'ModifyTime' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2020-11-02 10:36:05', - ], - 'OpenOfflineAcceleration' => [ - 'description' => '是否开启抽取加速。取值范围:'."\n" - ."\n" - .'- true:开启'."\n" - .'- false:关闭', - 'type' => 'boolean', - 'example' => 'true', - ], - 'OwnerId' => [ - 'description' => '数据集拥有者在Quick BI的UserID。', - 'type' => 'string', - 'example' => '136516262323****', - ], - 'OwnerName' => [ - 'description' => '数据集拥有者的昵称。', - 'type' => 'string', - 'example' => 'test', - ], - 'RowLevel' => [ - 'description' => '是否开启行级权限。取值范围:'."\n" - ."\n" - .'- true:开启'."\n" - .'- false:关闭', - 'type' => 'boolean', - 'example' => 'true', - ], - 'WorkspaceId' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad06adf', - ], - 'WorkspaceName' => [ - 'description' => '工作空间名称。', - 'type' => 'string', - 'example' => 'test', - ], + 'ModifyTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2020-11-02 10:36:05'], + 'OpenOfflineAcceleration' => ['description' => '是否开启抽取加速。取值范围:'."\n" + ."\n" + .'- true:开启'."\n" + .'- false:关闭', 'type' => 'boolean', 'example' => 'true'], + 'OwnerId' => ['description' => '数据集拥有者在Quick BI的UserID。', 'type' => 'string', 'example' => '136516262323****'], + 'OwnerName' => ['description' => '数据集拥有者的昵称。', 'type' => 'string', 'example' => 'test'], + 'RowLevel' => ['description' => '是否开启行级权限。取值范围:'."\n" + ."\n" + .'- true:开启'."\n" + .'- false:关闭', 'type' => 'boolean', 'example' => 'true'], + 'WorkspaceId' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad06adf'], + 'WorkspaceName' => ['description' => '工作空间名称。', 'type' => 'string', 'example' => 'test'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -16423,42 +9013,20 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '空间不在组织内。', - ], - [ - 'errorCode' => 'CubeSchema.Not.Exist', - 'errorMessage' => 'The cube schema does not exist.', - 'description' => '数据集模型不存在。', - ], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], + ['errorCode' => 'CubeSchema.Not.Exist', 'errorMessage' => 'The cube schema does not exist.', 'description' => '数据集模型不存在。'], ], ], 'responseDemo' => '[{"type":"json","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}","errorExample":""},{"type":"xml","example":"<QueryDatasetListResponse>\\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 <RowLevel>true</RowLevel>\\n <WorkspaceId>95296e95-ca89-4c7d-8af9-dedf0ad06adf</WorkspaceId>\\n <Description>测试用数据集</Description>\\n <CreateTime>2020-11-02 10:36:05</CreateTime>\\n <OwnerName>张三</OwnerName>\\n <WorkspaceName>测试空间</WorkspaceName>\\n <OwnerId>136516262323****</OwnerId>\\n <ModifyTime>2020-11-02 10:36:05</ModifyTime>\\n <DatasetName>company_sales_record_copy12</DatasetName>\\n <DatasetId>5820f58c-c734-4d8a-baf1-7979af4f****</DatasetId>\\n <DataSource>\\n <DsType>mysql</DsType>\\n <DsName>测试数据源</DsName>\\n <DsId>261b252d-c3c3-498a-a0a7-5d1ec6cd****</DsId>\\n </DataSource>\\n <Directory>\\n <PathId>schemaad8aad00-9c55-4984-a767-b4e0ec60****</PathId>\\n <PathName>我的数据集目录</PathName>\\n <Name>我的数据集目录</Name>\\n <Id>schemaad8aad00-9c55-4984-a767-b4e0ec60****</Id>\\n </Directory>\\n </Data>\\n </Result>\\n</QueryDatasetListResponse>","errorExample":""}]', 'title' => '查询工作空间数据集列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-05-22T03:08:06.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-05-22T03:08:06.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryDatasetList', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDatasetList'], ], ], 'ramActions' => [ @@ -16469,12 +9037,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -16483,12 +9046,8 @@ 'QueryDatasetSmartqStatus' => [ 'summary' => '查看数据集是否开通小Q问数。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -16496,24 +9055,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], ], 'responses' => [ @@ -16523,88 +9070,38 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7c7223ae-****-3c744528014b', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7c7223ae-****-3c744528014b'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => 'Query.Auth.Error', - 'errorMessage' => 'Query is not permitted.', - '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' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', - 'errorMessage' => 'Please purchase Nl2sql module first.', - 'description' => '请先购买智能问数模块。', - ], - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], + ['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' => 'Query.Auth.Error', 'errorMessage' => 'Query is not permitted.', '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' => '此用户%s没有权限操作。'], + ['errorCode' => 'RobotNl2sql.Moudle.NotPurchase', 'errorMessage' => 'Please purchase Nl2sql module first.', 'description' => '请先购买智能问数模块。'], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7c7223ae-****-3c744528014b\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '查看数据集是否开通小Q问数', 'changeSet' => [ - [ - 'createdAt' => '2025-02-11T06:04:44.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-11T06:04:44.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryDatasetSmartqStatus', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDatasetSmartqStatus'], ], ], 'ramActions' => [ @@ -16615,12 +9112,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -16628,13 +9120,8 @@ ], 'QueryDatasetSwitchInfo' => [ 'summary' => '获取指定数据集的行级权限开关状态。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16642,24 +9129,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], ], 'responses' => [ @@ -16667,46 +9142,24 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FAECEFA8-09BB-58AB-BC58-C8ACEFE4D232', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FAECEFA8-09BB-58AB-BC58-C8ACEFE4D232'], 'Result' => [ 'description' => '数据集行列权限开关详情。', 'type' => 'object', 'properties' => [ - 'CubeId' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => '7c7223ae-****-3c744528014b', - ], - 'IsOpenColumnLevelPermission' => [ - 'description' => '列级字段权限开关状态。取值范围:'."\n" - ."\n" - .'- 1:开启'."\n" - .'- 0:关闭', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'IsOpenRowLevelPermission' => [ - 'description' => '行级权限开关状态。'."\n" - ."\n" - .'- 1:开启'."\n" - .'- 0:关闭', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'CubeId' => ['description' => '数据集ID。', 'type' => 'string', 'example' => '7c7223ae-****-3c744528014b'], + 'IsOpenColumnLevelPermission' => ['description' => '列级字段权限开关状态。取值范围:'."\n" + ."\n" + .'- 1:开启'."\n" + .'- 0:关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'IsOpenRowLevelPermission' => ['description' => '行级权限开关状态。'."\n" + ."\n" + .'- 1:开启'."\n" + .'- 0:关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -16715,44 +9168,21 @@ ], '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' => 'Cube.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The cube does not belong to the current organization %s.', - 'description' => '数据集模型不属于当前组织。', - ], + ['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' => 'Cube.NotBelongTo.CurrentOrganization', 'errorMessage' => 'The cube does not belong to the current organization %s.', 'description' => '数据集模型不属于当前组织。'], ], ], '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' => '获取数据集行级权限开关状态', 'description' => '>:当前接口仅支持Quick BI新版行列权限模型。若您仍在使用老的行列权限,请先一键迁移至新的行列权限模型后再调用该接口。一键迁移至新的行列权限模型的操作步骤:在组织管理-->安全配置-->行列权限升级新版中,单击**一键升级**,升级至新版行级权限。', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:57.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:57.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryDatasetSwitchInfo', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDatasetSwitchInfo'], ], ], 'ramActions' => [ @@ -16763,12 +9193,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -16776,13 +9201,8 @@ ], 'QueryEmbeddedInfo' => [ 'summary' => '获取组织下的嵌入配置,包括最大嵌入数和已经嵌入数等。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16790,32 +9210,18 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '组织下报表的嵌入信息。', 'type' => 'object', @@ -16824,38 +9230,13 @@ 'description' => '嵌入作品的统计信息。', 'type' => 'object', 'properties' => [ - 'DashboardOfflineQuery' => [ - 'description' => '嵌入的自助取数数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Page' => [ - 'description' => '嵌入的仪表板数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Report' => [ - 'description' => '嵌入的电子表格数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'DashboardOfflineQuery' => ['description' => '嵌入的自助取数数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Page' => ['description' => '嵌入的仪表板数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Report' => ['description' => '嵌入的电子表格数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'EmbeddedCount' => [ - 'description' => '当前已经嵌入报表的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'MaxCount' => [ - 'description' => '最大可嵌入报表的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'EmbeddedCount' => ['description' => '当前已经嵌入报表的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'MaxCount' => ['description' => '最大可嵌入报表的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], @@ -16866,14 +9247,8 @@ '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' => '获取组织嵌入配置', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -16883,12 +9258,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -16896,13 +9266,8 @@ ], 'QueryEmbeddedStatus' => [ 'summary' => '查询某个报表是否已经开通嵌入。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16910,24 +9275,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'description' => '查询的作品ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '查询的作品ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], ], 'responses' => [ @@ -16935,26 +9288,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '作品是否开通嵌入。取值范围:'."\n" - .'- true:嵌入'."\n" - .'- false:未嵌入', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '作品是否开通嵌入。取值范围:'."\n" + .'- true:嵌入'."\n" + .'- false:未嵌入', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -16962,43 +9303,20 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Report.NotExist.Error', - 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', - 'description' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - 'errorCode' => 'Resource.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The resource does not belong to the current organization.', - 'description' => '该资源不属于当前组织。', - ], - [ - 'errorCode' => 'NoPermissionTo.Operate.Object', - 'errorMessage' => 'You are not authorized to operate the objects.', - 'description' => '您无权操作这些对象。', - ], + ['errorCode' => 'Report.NotExist.Error', 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', 'description' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['errorCode' => 'Resource.NotBelongTo.CurrentOrganization', 'errorMessage' => 'The resource does not belong to the current organization.', 'description' => '该资源不属于当前组织。'], + ['errorCode' => 'NoPermissionTo.Operate.Object', 'errorMessage' => 'You are not authorized to operate the objects.', 'description' => '您无权操作这些对象。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '查询报表嵌入状态', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-07-04T12:54:29.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-07-04T12:54:29.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryEmbeddedStatus', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryEmbeddedStatus'], ], ], 'ramActions' => [ @@ -17009,12 +9327,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -17023,12 +9336,8 @@ 'QueryLastAccelerationEngineJob' => [ 'summary' => '通过数据集ID查询最近一次加速任务。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -17036,25 +9345,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'title' => '数据集 ID。', - 'description' => '数据集 ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'd23d30c0-****-6c92bf668356', - ], + 'schema' => ['title' => '数据集 ID。', 'description' => '数据集 ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd23d30c0-****-6c92bf668356'], ], ], 'responses' => [ @@ -17064,98 +9360,47 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '46e53*********92704c8', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '46e53*********92704c8'], 'Result' => [ 'description' => '最近一次加速任务实体。', 'type' => 'object', 'properties' => [ - 'JobHistoryId' => [ - 'title' => '加速任务ID。', - 'description' => '加速任务ID。', - 'type' => 'string', - 'example' => '46e53********5464564', - ], - 'Status' => [ - 'title' => '任务状态。取值范围:'."\n" - .'● TODO -- 待运行'."\n" - .'● RUNNING -- 运行中'."\n" - .'● SUCCESS -- 正常结束'."\n" - .'● FAILURE -- 异常结束'."\n" - .'● CANCELED -- 取消', - 'description' => '任务状态。取值范围:'."\n" - ."\n" - .'- TODO -- 待运行'."\n" - .'- RUNNING -- 运行中'."\n" - .'- SUCCESS -- 正常结束'."\n" - .'- FAILURE -- 异常结束'."\n" - .'- CANCELED -- 取消'."\n" - .'- CHECK_DEPENDENCY -- 依赖检查中', - 'type' => 'string', - 'example' => 'SUCCESS ', - ], - 'GmtCreate' => [ - 'title' => '执行时间,yyyy-MM-dd hh:mm:ss。', - 'description' => '执行时间,yyyy-MM-dd hh:mm:ss。', - 'type' => 'string', - 'example' => '2025-06-18 17:07:43', - ], - 'GmtModified' => [ - 'title' => '结束时间,yyyy-MM-dd hh:mm:ss。', - 'description' => '结束时间,yyyy-MM-dd hh:mm:ss。', - 'type' => 'string', - 'example' => '2025-06-18 17:08:26', - ], + 'JobHistoryId' => ['title' => '加速任务ID。', 'description' => '加速任务ID。', 'type' => 'string', 'example' => '46e53********5464564'], + 'Status' => ['title' => '任务状态。取值范围:'."\n" + .'● TODO -- 待运行'."\n" + .'● RUNNING -- 运行中'."\n" + .'● SUCCESS -- 正常结束'."\n" + .'● FAILURE -- 异常结束'."\n" + .'● CANCELED -- 取消', 'description' => '任务状态。取值范围:'."\n" + ."\n" + .'- TODO -- 待运行'."\n" + .'- RUNNING -- 运行中'."\n" + .'- SUCCESS -- 正常结束'."\n" + .'- FAILURE -- 异常结束'."\n" + .'- CANCELED -- 取消'."\n" + .'- CHECK_DEPENDENCY -- 依赖检查中', 'type' => 'string', 'example' => 'SUCCESS '], + 'GmtCreate' => ['title' => '执行时间,yyyy-MM-dd hh:mm:ss。', 'description' => '执行时间,yyyy-MM-dd hh:mm:ss。', 'type' => 'string', 'example' => '2025-06-18 17:07:43'], + 'GmtModified' => ['title' => '结束时间,yyyy-MM-dd hh:mm:ss。', 'description' => '结束时间,yyyy-MM-dd hh:mm:ss。', 'type' => 'string', 'example' => '2025-06-18 17:08:26'], ], ], - 'Success' => [ - 'title' => '请求是否成功。', - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['title' => '请求是否成功。', 'description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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', - ], + 'staticInfo' => ['returnType' => 'synchronous'], '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"}]', 'title' => '通过数据集ID查询最近一次加速任务', 'changeSet' => [], @@ -17164,12 +9409,8 @@ 'QueryLlmCubeWithThemeListByUserId' => [ 'summary' => '查看用户有哪些数据集和分析主题的问数授权。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -17177,24 +9418,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'adsdasd-***********-123wdasd', - ], + 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'adsdasd-***********-123wdasd'], ], ], 'responses' => [ @@ -17204,11 +9433,7 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => '2EE822B***************F-F5B42DDADC12', - ], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => '2EE822B***************F-F5B42DDADC12'], 'Result' => [ 'description' => '数据集和分析主题列表。', 'type' => 'object', @@ -17219,69 +9444,35 @@ .'- key - 数据集ID'."\n" .'- value - 数据集名称', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '数据集对象json。', - 'example' => '"4d93*******0-9614-c97adea37911": "common***值"', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '数据集对象json。', 'example' => '"4d93*******0-9614-c97adea37911": "common***值"'], ], 'ThemeIds' => [ 'description' => '分析主题map。'."\n" .'- key - 分析主题ID '."\n" .'- value - 分析主题名称', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '"9aefb3************75abecbe": "www*********eeee"', - 'description' => '分析主题对象json。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '"9aefb3************75abecbe": "www*********eeee"', 'description' => '分析主题对象json。'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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', - ], + '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' => '查看用户有哪些数据集和分析主题的问数授权', 'changeSet' => [], @@ -17293,12 +9484,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -17306,13 +9492,8 @@ ], 'QueryOrganizationRoleConfig' => [ 'summary' => '获取指定组织角色的配置。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17320,30 +9501,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'RoleId', 'in' => 'query', - 'schema' => [ - 'description' => '组织角色ID,包括预置角色和自定义角色:'."\n" - ."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113'."\n" - .'- 自定义角色:自定义角色对应的角色ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '111111111', - ], + 'schema' => ['description' => '组织角色ID,包括预置角色和自定义角色:'."\n" + ."\n" + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113'."\n" + .'- 自定义角色:自定义角色对应的角色ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '111111111'], ], ], 'responses' => [ @@ -17351,11 +9519,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BCE45E6D-9304-4F94-86BB-5A772B1615FF'], 'Result' => [ 'description' => '组织角色配置详情。', 'type' => 'object', @@ -17367,72 +9531,47 @@ 'description' => '具体的权限配置。', 'type' => 'object', 'properties' => [ - 'AuthKey' => [ - 'description' => '权限类型:'."\n" - .'- quick_monitor:指标监控'."\n" - .'- subscription:订阅管理'."\n" - .'- offline_download:自助取数'."\n" - .'- resource_package:资源包管理'."\n" - .'- organization_ask:组织识别码(AK/SK)'."\n" - .'- developer_openapi:开放API'."\n" - .'- data_service:数据服务'."\n" - .'- admin_authorize3rd:嵌入分析'."\n" - .'- component_manage:自定义组件'."\n" - .'- template_open:自定义模版'."\n" - .'- custom_driver:自定义驱动(仅独立部署支持)'."\n" - .'- open_platform_custom_plugin:自定义插件(仅独立部署支持)'."\n" - .'- enterprise_safety:企业安全', - 'type' => 'string', - 'example' => 'quick_monitor', - ], + 'AuthKey' => ['description' => '权限类型:'."\n" + .'- quick_monitor:指标监控'."\n" + .'- subscription:订阅管理'."\n" + .'- offline_download:自助取数'."\n" + .'- resource_package:资源包管理'."\n" + .'- organization_ask:组织识别码(AK/SK)'."\n" + .'- developer_openapi:开放API'."\n" + .'- data_service:数据服务'."\n" + .'- admin_authorize3rd:嵌入分析'."\n" + .'- component_manage:自定义组件'."\n" + .'- template_open:自定义模版'."\n" + .'- custom_driver:自定义驱动(仅独立部署支持)'."\n" + .'- open_platform_custom_plugin:自定义插件(仅独立部署支持)'."\n" + .'- enterprise_safety:企业安全', 'type' => 'string', 'example' => 'quick_monitor'], ], ], ], - 'IsSystemRole' => [ - 'description' => '是否是预置角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RoleId' => [ - 'description' => '组织角色ID,包括预置角色和自定义角色:'."\n" - ."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113'."\n" - .'- 自定义角色:自定义角色对应的角色ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '111111111', - ], - 'RoleName' => [ - 'description' => '角色名称。', - 'type' => 'string', - 'example' => '组织管理员', - ], + 'IsSystemRole' => ['description' => '是否是预置角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否', 'type' => 'boolean', 'example' => 'true'], + 'RoleId' => ['description' => '组织角色ID,包括预置角色和自定义角色:'."\n" + ."\n" + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113'."\n" + .'- 自定义角色:自定义角色对应的角色ID', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111'], + 'RoleName' => ['description' => '角色名称。', 'type' => 'string', 'example' => '组织管理员'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'User.Role.NotExist', - 'errorMessage' => 'User role not exist: %s.', - 'description' => '', - ], + ['errorCode' => 'User.Role.NotExist', 'errorMessage' => 'User role not exist: %s.', 'description' => ''], ], ], '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"}]', @@ -17446,12 +9585,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -17459,13 +9593,8 @@ ], 'QueryOrganizationWorkspaceList' => [ 'summary' => '获取当前组织下的工作空间列表信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17473,75 +9602,33 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'title' => '搜索关键字', - 'description' => '空间名称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '程序', - ], + 'schema' => ['title' => '搜索关键字', 'description' => '空间名称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '程序'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'title' => '页数', - 'description' => '工作空间列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['title' => '页数', 'description' => '工作空间列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000000', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页大小', - 'description' => '分页查询时的每页行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['title' => '页大小', 'description' => '分页查询时的每页行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '指定用户的Id。 指定后,则查询组织下该用户的所有空间列表信息', - 'description' => '用户在Quick BI的ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], + 'schema' => ['title' => '指定用户的Id。 指定后,则查询组织下该用户的所有空间列表信息', 'description' => '用户在Quick BI的ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], ], ], 'responses' => [ @@ -17549,23 +9636,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'title' => '是否请求成功。取值范围:'."\n" - .'● true:请求成功'."\n" - .'● false:请求失败', - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['title' => '是否请求成功。取值范围:'."\n" + .'● true:请求成功'."\n" + .'● false:请求失败', 'description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'title' => '返回工作空间列表的分页结果,空间的详细信息列表存放在返回参数Data中。', 'description' => '返回工作空间列表的分页结果,工作空间的详细信息列表存放在返回参数Data中。', @@ -17580,137 +9657,38 @@ 'description' => '空间信息。', 'type' => 'object', 'properties' => [ - 'AllowPublishOperation' => [ - 'title' => '作品是否可公开。取值范围:'."\n" - .'● true:公开'."\n" - .'● false:不公开', - 'description' => '作品是否可公开。取值范围:'."\n" - ."\n" - .'- true:公开'."\n" - .'- false:不公开', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AllowShareOperation' => [ - 'title' => '作品是否可授权分享。取值范围:'."\n" - .'● true:授权'."\n" - .'● false:不授权', - 'description' => '作品是否可授权分享。取值范围:'."\n" - ."\n" - .'- true:授权'."\n" - .'- false:不授权', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CreateTime' => [ - 'title' => '工作空间创建时间。', - 'description' => '工作空间创建时间。', - 'type' => 'string', - 'example' => '2020-11-10 17:51:07', - ], - 'CreateUser' => [ - 'title' => '工作空间创建者的Quick BI用户ID。', - 'description' => '创建者的Quick BI用户ID。', - 'type' => 'string', - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], - 'CreateUserAccountName' => [ - 'title' => '工作空间创建者的Quick BI账户名称。', - 'description' => '创建者的阿里云账号名称。', - 'type' => 'string', - 'example' => 'pop****@aliyun.com', - ], - 'ModifiedTime' => [ - 'title' => '工作空间最新修改时间。', - 'description' => '工作空间最新修改时间。', - 'type' => 'string', - 'example' => '2020-11-10 17:51:07', - ], - 'ModifyUser' => [ - 'title' => '修改者的Quick BI用户ID。', - 'description' => '修改者的Quick BI用户ID。', - 'type' => 'string', - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], - 'ModifyUserAccountName' => [ - 'title' => '修改者的Quick BI账号名。', - 'description' => '修改者的阿里云账号名。', - 'type' => 'string', - 'example' => 'pop****@aliyun.com', - ], - 'OrganizationId' => [ - 'title' => '工作空间的所属组织ID。', - 'description' => '工作空间的所属组织ID。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', - ], - 'Owner' => [ - 'title' => '工作空间所有者的Quick BI用户ID。', - 'description' => '工作空间所有者的Quick BI用户ID。', - 'type' => 'string', - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], - 'OwnerAccountName' => [ - 'title' => '工作空间所有者的Quick BI账户名称。', - 'description' => '工作空间所有者阿里云账号名称。', - 'type' => 'string', - 'example' => 'pop****@aliyun.com', - ], - 'WorkspaceDescription' => [ - 'title' => '工作空间备注。', - 'description' => '工作空间备注。', - 'type' => 'string', - 'example' => '该空间是测试空间', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '7350a155-0e94-4c6c-8620-57bbec38****', - ], - 'WorkspaceName' => [ - 'title' => '工作空间名称。', - 'description' => '工作空间名称。', - 'type' => 'string', - 'example' => '测试空间', - ], - 'RealOwnerAccountName' => [ - 'title' => '工作空间所有者的Quick BI账户名称。', - 'description' => '工作空间所有者的Quick BI账户名称。', - 'type' => 'string', - 'example' => 'test', - ], + 'AllowPublishOperation' => ['title' => '作品是否可公开。取值范围:'."\n" + .'● true:公开'."\n" + .'● false:不公开', 'description' => '作品是否可公开。取值范围:'."\n" + ."\n" + .'- true:公开'."\n" + .'- false:不公开', 'type' => 'boolean', 'example' => 'true'], + 'AllowShareOperation' => ['title' => '作品是否可授权分享。取值范围:'."\n" + .'● true:授权'."\n" + .'● false:不授权', 'description' => '作品是否可授权分享。取值范围:'."\n" + ."\n" + .'- true:授权'."\n" + .'- false:不授权', 'type' => 'boolean', 'example' => 'true'], + 'CreateTime' => ['title' => '工作空间创建时间。', 'description' => '工作空间创建时间。', 'type' => 'string', 'example' => '2020-11-10 17:51:07'], + 'CreateUser' => ['title' => '工作空间创建者的Quick BI用户ID。', 'description' => '创建者的Quick BI用户ID。', 'type' => 'string', 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], + 'CreateUserAccountName' => ['title' => '工作空间创建者的Quick BI账户名称。', 'description' => '创建者的阿里云账号名称。', 'type' => 'string', 'example' => 'pop****@aliyun.com'], + 'ModifiedTime' => ['title' => '工作空间最新修改时间。', 'description' => '工作空间最新修改时间。', 'type' => 'string', 'example' => '2020-11-10 17:51:07'], + 'ModifyUser' => ['title' => '修改者的Quick BI用户ID。', 'description' => '修改者的Quick BI用户ID。', 'type' => 'string', 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], + 'ModifyUserAccountName' => ['title' => '修改者的Quick BI账号名。', 'description' => '修改者的阿里云账号名。', 'type' => 'string', 'example' => 'pop****@aliyun.com'], + 'OrganizationId' => ['title' => '工作空间的所属组织ID。', 'description' => '工作空间的所属组织ID。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****'], + 'Owner' => ['title' => '工作空间所有者的Quick BI用户ID。', 'description' => '工作空间所有者的Quick BI用户ID。', 'type' => 'string', 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], + 'OwnerAccountName' => ['title' => '工作空间所有者的Quick BI账户名称。', 'description' => '工作空间所有者阿里云账号名称。', 'type' => 'string', 'example' => 'pop****@aliyun.com'], + 'WorkspaceDescription' => ['title' => '工作空间备注。', 'description' => '工作空间备注。', 'type' => 'string', 'example' => '该空间是测试空间'], + 'WorkspaceId' => ['title' => '工作空间ID。', 'description' => '工作空间ID。', 'type' => 'string', 'example' => '7350a155-0e94-4c6c-8620-57bbec38****'], + 'WorkspaceName' => ['title' => '工作空间名称。', 'description' => '工作空间名称。', 'type' => 'string', 'example' => '测试空间'], + 'RealOwnerAccountName' => ['title' => '工作空间所有者的Quick BI账户名称。', 'description' => '工作空间所有者的Quick BI账户名称。', 'type' => 'string', 'example' => 'test'], ], ], ], - 'PageNum' => [ - 'title' => '页码。', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => '请求接口时设置的每页行数。', - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'title' => '总行数', - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'title' => '总页数', - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['title' => '请求接口时设置的每页行数。', 'description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['title' => '总行数', 'description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['title' => '总页数', 'description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -17720,33 +9698,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], ], ], 'responseDemo' => '[{"type":"json","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}","errorExample":""},{"type":"xml","example":"<QueryOrganizationWorkspaceListResponse>\\n <Result>\\n <TotalPages>1</TotalPages>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <TotalNum>1</TotalNum>\\n <Data>\\n <CreateUserAccountName>pop****@aliyun.com</CreateUserAccountName>\\n <Owner>de4bc5f9429141cc8091cdd1c15b****</Owner>\\n <CreateTime>2020-11-10 17:51:07</CreateTime>\\n <WorkspaceName>测试空间</WorkspaceName>\\n <OrganizationId>2fe4fbd8-588f-489a-b3e1-e92c7af0****</OrganizationId>\\n <WorkspaceId>7350a155-0e94-4c6c-8620-57bbec38****</WorkspaceId>\\n <AllowShareOperation>true</AllowShareOperation>\\n <CreateUser>de4bc5f9429141cc8091cdd1c15b****</CreateUser>\\n <ModifiedTime>2020-11-10 17:51:07</ModifiedTime>\\n <WorkspaceDescription>该空间是测试空间</WorkspaceDescription>\\n <ModifyUser>de4bc5f9429141cc8091cdd1c15b****</ModifyUser>\\n <AllowPublishOperation>true</AllowPublishOperation>\\n <OwnerAccountName>pop****@aliyun.com</OwnerAccountName>\\n <ModifyUserAccountName>pop****@aliyun.com</ModifyUserAccountName>\\n </Data>\\n </Result>\\n</QueryOrganizationWorkspaceListResponse>","errorExample":""}]', 'title' => '获取组织下的工作空间列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryOrganizationWorkspaceList', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrganizationWorkspaceList'], ], ], 'ramActions' => [ @@ -17757,12 +9720,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -17770,13 +9728,8 @@ ], 'QueryReadableResourcesListByUserId' => [ 'summary' => '查询用户有权查看的作品列表,包含空间下与分享授权的报表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17784,24 +9737,12 @@ ], 'operationType' => 'read', 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'schema' => ['description' => 'Quick BI用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], ], 'responses' => [ @@ -17809,147 +9750,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '用户有权限查看的作品列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '创建时间的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1611023338000', - ], - 'Description' => [ - 'description' => '作品备注。', - 'type' => 'string', - 'example' => '备注', - ], + 'CreateTime' => ['description' => '创建时间的毫秒级时间戳。', 'type' => 'string', 'example' => '1611023338000'], + 'Description' => ['description' => '作品备注。', 'type' => 'string', 'example' => '备注'], 'Directory' => [ 'description' => '作品所处的目录结构。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '所属目录ID。', - 'type' => 'string', - 'example' => 'e4276ea5-b232-4fb1-8f0f-efcee4a2****', - ], - 'Name' => [ - 'description' => '所属目录名称。', - 'type' => 'string', - 'example' => '测试目录', - ], - 'PathId' => [ - 'description' => '目录ID的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => 'e4276ea5-b232-4fb1-8f0f-efcee4a2****', - ], - 'PathName' => [ - 'description' => '目录名称的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '测试目录', - ], + 'Id' => ['description' => '所属目录ID。', 'type' => 'string', 'example' => 'e4276ea5-b232-4fb1-8f0f-efcee4a2****'], + 'Name' => ['description' => '所属目录名称。', 'type' => 'string', 'example' => '测试目录'], + 'PathId' => ['description' => '目录ID的层级结构,以『/』分隔。', 'type' => 'string', 'example' => 'e4276ea5-b232-4fb1-8f0f-efcee4a2****'], + 'PathName' => ['description' => '目录名称的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '测试目录'], ], ], - 'ModifyName' => [ - 'description' => '修改者的阿里云账户名。', - 'type' => 'string', - 'example' => '李四', - ], - 'ModifyTime' => [ - 'description' => '修改时间的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1611023338000', - ], - 'OwnerId' => [ - 'description' => '作品所有者的Quick BI的UserID。', - 'type' => 'string', - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], - 'OwnerName' => [ - 'description' => '所有者的阿里云账户名。', - 'type' => 'string', - 'example' => '张三', - ], - 'SecurityLevel' => [ - 'description' => '作品协同授权的安全策略。取值:'."\n" - .'- 0:私密'."\n" - .'- 12:授权指定成员'."\n" - .'- 1或11:授权所有空间成员'."\n" - ."\n" - .'>- 若您使用旧版权限,则返回值为1。'."\n" - .'- 若您使用新版权限,则返回值为11。', - 'type' => 'string', - 'example' => '0', - ], - 'Status' => [ - 'description' => '报表状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ThirdPartAuthFlag' => [ - 'description' => '第三方嵌入状态。取值范围:'."\n" - ."\n" - .'- 0:暂未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'WorkName' => [ - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '公司地区表', - ], - 'WorkType' => [ - 'description' => '作品类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板(老)'."\n" - .'- FULLPAGE:全屏仪表板'."\n" - .'- REPORT:电子表格'."\n" - .'- DASHBOARD:仪表板(新)'."\n" - .'- DATAFORM:数据填报'."\n" - .'- dashboardOfflineQuery:自助取数'."\n" - .'- ANALYSIS:自助分析'."\n" - .'- SCREEN:数据大屏', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'WorksId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '03366b16-69ce-43c8-b782-56c2f6ec****', - ], - 'WorkspaceId' => [ - 'description' => '作品所属工作空间ID。', - 'type' => 'string', - 'example' => '89713491-cb4f-4579-b889-e82c35f1****', - ], - 'WorkspaceName' => [ - 'description' => '作品所属工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'ModifyName' => ['description' => '修改者的阿里云账户名。', 'type' => 'string', 'example' => '李四'], + 'ModifyTime' => ['description' => '修改时间的毫秒级时间戳。', 'type' => 'string', 'example' => '1611023338000'], + 'OwnerId' => ['description' => '作品所有者的Quick BI的UserID。', 'type' => 'string', 'example' => '46e5374665ba4b679ee22e2a2927****'], + 'OwnerName' => ['description' => '所有者的阿里云账户名。', 'type' => 'string', 'example' => '张三'], + 'SecurityLevel' => ['description' => '作品协同授权的安全策略。取值:'."\n" + .'- 0:私密'."\n" + .'- 12:授权指定成员'."\n" + .'- 1或11:授权所有空间成员'."\n" + ."\n" + .'>- 若您使用旧版权限,则返回值为1。'."\n" + .'- 若您使用新版权限,则返回值为11。', 'type' => 'string', 'example' => '0'], + 'Status' => ['description' => '报表状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ThirdPartAuthFlag' => ['description' => '第三方嵌入状态。取值范围:'."\n" + ."\n" + .'- 0:暂未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'WorkName' => ['description' => '作品名称。', 'type' => 'string', 'example' => '公司地区表'], + 'WorkType' => ['description' => '作品类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板(老)'."\n" + .'- FULLPAGE:全屏仪表板'."\n" + .'- REPORT:电子表格'."\n" + .'- DASHBOARD:仪表板(新)'."\n" + .'- DATAFORM:数据填报'."\n" + .'- dashboardOfflineQuery:自助取数'."\n" + .'- ANALYSIS:自助分析'."\n" + .'- SCREEN:数据大屏', 'type' => 'string', 'example' => 'PAGE'], + 'WorksId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '03366b16-69ce-43c8-b782-56c2f6ec****'], + 'WorkspaceId' => ['description' => '作品所属工作空间ID。', 'type' => 'string', 'example' => '89713491-cb4f-4579-b889-e82c35f1****'], + 'WorkspaceName' => ['description' => '作品所属工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], @@ -17959,9 +9818,7 @@ ], 'errorCodes' => [], 'staticInfo' => [ - 'substitutions' => [ - 'quickbi-public::2022-01-01::QueryReadableResourcesListByUserIdV2', - ], + 'substitutions' => ['quickbi-public::2022-01-01::QueryReadableResourcesListByUserIdV2'], ], '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":"<QueryReadableResourcesListByUserIdResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <Status>1</Status>\\n <ThirdPartAuthFlag>1</ThirdPartAuthFlag>\\n <WorksId>03366b16-69ce-43c8-b782-56c2f6ec****</WorksId>\\n <CreateTime>1611023338000</CreateTime>\\n <WorkType>PAGE</WorkType>\\n <OwnerName>张三</OwnerName>\\n <WorkspaceName>测试工作空间</WorkspaceName>\\n <OwnerId>46e5374665ba4b679ee22e2a2927****</OwnerId>\\n <ModifyName>李四</ModifyName>\\n <WorkspaceId>89713491-cb4f-4579-b889-e82c35f1****</WorkspaceId>\\n <SecurityLevel>0</SecurityLevel>\\n <Description>备注</Description>\\n <WorkName>公司地区表</WorkName>\\n <ModifyTime>1611023338000</ModifyTime>\\n <Directory>\\n <PathId>e4276ea5-b232-4fb1-8f0f-efcee4a2****</PathId>\\n <PathName>测试目录</PathName>\\n <Name>测试目录</Name>\\n <Id>e4276ea5-b232-4fb1-8f0f-efcee4a2****</Id>\\n </Directory>\\n </Result>\\n</QueryReadableResourcesListByUserIdResponse>","errorExample":""}]', 'title' => '查询用户有权查看的作品列表', @@ -17974,12 +9831,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -17988,12 +9840,8 @@ 'QueryReadableResourcesListByUserIdV2' => [ 'summary' => '查询用户有权查看的作品列表(新)。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -18001,53 +9849,29 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'asdas*********sdsddf', - ], + 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asdas*********sdsddf'], ], [ 'name' => 'WorkType', 'in' => 'query', - 'schema' => [ - 'description' => '作品类型。取值范围:'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数'."\n" - .'- SCREEN:数据大屏'."\n" - .'- DATAFORM:数据填报'."\n" - .'- ANALYSIS:即席分析', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'DATAFORM', - ], + 'schema' => ['description' => '作品类型。取值范围:'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数'."\n" + .'- SCREEN:数据大屏'."\n" + .'- DATAFORM:数据填报'."\n" + .'- ANALYSIS:即席分析', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'DATAFORM'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], ], 'responses' => [ @@ -18057,19 +9881,11 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C********05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C********05DF8D885'], 'Result' => [ 'description' => '返回查询结果。', 'type' => 'array', @@ -18077,122 +9893,48 @@ 'description' => '用户有权限查看的作品列表。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '报表状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ModifyTime' => [ - 'description' => '修改时间的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1530078690000', - ], - 'OwnerName' => [ - 'description' => '所有者的阿里云账户名。', - 'type' => 'string', - 'example' => '张三', - ], - 'Description' => [ - 'description' => '作品备注。', - 'type' => 'string', - 'example' => '备注', - ], - 'WorkType' => [ - 'description' => '作品类型。取值范围:'."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数'."\n" - .'- SCREEN:数据大屏'."\n" - .'- DATAFORM:数据填报'."\n" - .'- ANALYSIS:即席分析', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'ModifyName' => [ - 'description' => '修改者的阿里云账户名。', - 'type' => 'string', - 'example' => '李四', - ], - 'CreateTime' => [ - 'description' => '创建时间的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1611023338000'."\n", - ], - 'WorkspaceId' => [ - 'description' => '作品所属工作空间ID。', - 'type' => 'string', - 'example' => 'c5f86ad2-ef53-4c51-8720-162ecfdb****', - ], - 'ThirdPartAuthFlag' => [ - 'description' => '第三方嵌入状态。取值范围:'."\n" - .'- 0:暂未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'OwnerId' => [ - 'description' => '作品所有者的Quick BI的UserID。', - 'type' => 'string', - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], - 'SecurityLevel' => [ - 'description' => '作品协同授权的安全策略。取值:'."\n" - .'- 0:私密'."\n" - .'- 12:授权指定成员'."\n" - .'- 1或11:授权所有空间成员'."\n" - ."\n" - .'>- 若您使用旧版权限,则返回值为1。'."\n" - .'- 若您使用新版权限,则返回值为11。', - 'type' => 'string', - 'example' => '0', - ], - 'WorkName' => [ - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'WorkspaceName' => [ - 'description' => '作品所属工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], - 'WorksId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => 'ccd3428c-****-****-a608-26bae29dffee', - ], + 'Status' => ['description' => '报表状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ModifyTime' => ['description' => '修改时间的毫秒级时间戳。', 'type' => 'string', 'example' => '1530078690000'], + 'OwnerName' => ['description' => '所有者的阿里云账户名。', 'type' => 'string', 'example' => '张三'], + 'Description' => ['description' => '作品备注。', 'type' => 'string', 'example' => '备注'], + 'WorkType' => ['description' => '作品类型。取值范围:'."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数'."\n" + .'- SCREEN:数据大屏'."\n" + .'- DATAFORM:数据填报'."\n" + .'- ANALYSIS:即席分析', 'type' => 'string', 'example' => 'PAGE'], + 'ModifyName' => ['description' => '修改者的阿里云账户名。', 'type' => 'string', 'example' => '李四'], + 'CreateTime' => ['description' => '创建时间的毫秒级时间戳。', 'type' => 'string', 'example' => '1611023338000'."\n"], + 'WorkspaceId' => ['description' => '作品所属工作空间ID。', 'type' => 'string', 'example' => 'c5f86ad2-ef53-4c51-8720-162ecfdb****'], + 'ThirdPartAuthFlag' => ['description' => '第三方嵌入状态。取值范围:'."\n" + .'- 0:暂未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'OwnerId' => ['description' => '作品所有者的Quick BI的UserID。', 'type' => 'string', 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], + 'SecurityLevel' => ['description' => '作品协同授权的安全策略。取值:'."\n" + .'- 0:私密'."\n" + .'- 12:授权指定成员'."\n" + .'- 1或11:授权所有空间成员'."\n" + ."\n" + .'>- 若您使用旧版权限,则返回值为1。'."\n" + .'- 若您使用新版权限,则返回值为11。', 'type' => 'string', 'example' => '0'], + 'WorkName' => ['description' => '作品名称。', 'type' => 'string', 'example' => '测试报表'], + 'WorkspaceName' => ['description' => '作品所属工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], + 'WorksId' => ['description' => '作品ID。', 'type' => 'string', 'example' => 'ccd3428c-****-****-a608-26bae29dffee'], 'Directory' => [ 'description' => '作品所处的目录结构。', 'type' => 'object', 'properties' => [ - 'PathId' => [ - 'description' => '目录ID的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '88b680****', - ], - 'Id' => [ - 'description' => '所属目录ID。', - 'type' => 'string', - 'example' => 'a3eecab7-618d-4f9f-*****', - ], - 'PathName' => [ - 'description' => '目录名称的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '一级目录/二级目录', - ], - 'Name' => [ - 'description' => '所属目录名称。', - 'type' => 'string', - 'example' => '测试目录', - ], + 'PathId' => ['description' => '目录ID的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '88b680****'], + 'Id' => ['description' => '所属目录ID。', 'type' => 'string', 'example' => 'a3eecab7-618d-4f9f-*****'], + 'PathName' => ['description' => '目录名称的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '一级目录/二级目录'], + 'Name' => ['description' => '所属目录名称。', 'type' => 'string', 'example' => '测试目录'], ], ], ], @@ -18204,31 +9946,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.Param.Error', - 'errorMessage' => 'The parameter is invalid.', - 'description' => '无效参数。', - ], - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '空间不在组织内。', - ], - [ - 'errorCode' => 'Invalid.User.Organization', - 'errorMessage' => 'The user is not in your organization.', - 'description' => '该用户不在您的组织中。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Param.Error', 'errorMessage' => 'The parameter is invalid.', 'description' => '无效参数。'], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], + ['errorCode' => 'Invalid.User.Organization', 'errorMessage' => 'The user is not in your organization.', 'description' => '该用户不在您的组织中。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], '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"}]', 'title' => '查询用户有权查看的作品列表(新)', 'changeSet' => [], @@ -18243,12 +9967,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -18256,13 +9975,8 @@ ], 'QueryReportPerformance' => [ 'summary' => '查询报表性能日志。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18270,102 +9984,51 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '查询类型:'."\n" - ."\n" - .'- **lastDay**:昨天'."\n" - .'- **sevenDays**:七天内'."\n" - .'- **thirtyDays**:三十天内', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sevenDays', - ], + 'schema' => ['description' => '查询类型:'."\n" + ."\n" + .'- **lastDay**:昨天'."\n" + .'- **sevenDays**:七天内'."\n" + .'- **thirtyDays**:三十天内', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sevenDays'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => '报表ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], + 'schema' => ['description' => '报表ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '6b407e50-e774-406b-9956-da2425c2****'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'report', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'report'], ], [ 'name' => 'CostTimeAvgMin', 'in' => 'query', - 'schema' => [ - 'description' => '平均耗时(分钟)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '平均耗时(分钟)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '组织成员列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '组织成员列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], ], 'responses' => [ @@ -18373,163 +10036,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1FC71085-D5FD-08E0-813A-4D4BD1031BC5', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1FC71085-D5FD-08E0-813A-4D4BD1031BC5'], 'Result' => [ 'type' => 'array', 'items' => [ 'description' => '报告性能分析模型。', 'type' => 'object', 'properties' => [ - 'CacheCostTimeAvg' => [ - 'description' => '命中缓存平均耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '2.2', - ], - 'CacheQueryCount' => [ - 'description' => '命中缓存次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ComponentQueryCount' => [ - 'description' => '图表查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ComponentQueryCountAvg' => [ - 'description' => '图表平均查询次数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '2.0', - ], - 'CostTimeAvg' => [ - 'description' => '平均查询时间。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.2', - ], - 'QueryCount' => [ - 'description' => '查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'QueryCountAvg' => [ - 'description' => '平均查询次数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '3.3', - ], - 'QueryOverFivePercentNum' => [ - 'description' => '查询超过5s查询次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.5', - ], - 'QueryOverFiveSecPercent' => [ - 'description' => '查询超过5s占比。', - 'type' => 'string', - 'example' => '0.5', - ], - 'QueryOverTenSecPercent' => [ - 'description' => '查询超过10s占比。', - 'type' => 'string', - 'example' => '0.5', - ], - 'QueryOverTenSecPercentNum' => [ - 'description' => '查询超过10s查询次数。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.5', - ], - 'QueryTimeoutCount' => [ - 'description' => '图表查询超时次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'QueryTimeoutCountPercent' => [ - 'description' => '图表查询超时次数占比。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.5', - ], - 'QuickIndexCostTimeAvg' => [ - 'description' => '命中Quick引擎平均查询耗时。', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - 'QuickIndexQueryCount' => [ - 'description' => '命中Quick引擎次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RepeatQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '0.8', - ], - 'RepeatQueryPercentNum' => [ - 'description' => '重复查询数量。', - 'type' => 'number', - 'format' => 'double', - 'example' => '3', - ], - 'RepeatSqlQueryCount' => [ - 'description' => '重复查询次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RepeatSqlQueryPercent' => [ - 'description' => '重复查询占比。', - 'type' => 'string', - 'example' => '0.7'."\n", - ], - 'ReportId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], - 'ReportName' => [ - 'description' => '报告名称。', - 'type' => 'string', - 'example' => 'ClusterAddonUpgradeReport', - ], - 'ReportType' => [ - 'description' => '报表类型。', - 'type' => 'string', - 'example' => 'report', - ], - 'WorkspaceId' => [ - 'description' => '作品所属工作空间ID。', - 'type' => 'string', - 'example' => 'ab46ed33-6278-4ef7-8013-8c1335f266ee', - ], - 'WorkspaceName' => [ - 'description' => '空间名称。', - 'type' => 'string', - 'example' => '自定义模板', - ], + 'CacheCostTimeAvg' => ['description' => '命中缓存平均耗时。', 'type' => 'number', 'format' => 'double', 'example' => '2.2'], + 'CacheQueryCount' => ['description' => '命中缓存次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ComponentQueryCount' => ['description' => '图表查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ComponentQueryCountAvg' => ['description' => '图表平均查询次数。', 'type' => 'number', 'format' => 'double', 'example' => '2.0'], + 'CostTimeAvg' => ['description' => '平均查询时间。', 'type' => 'number', 'format' => 'double', 'example' => '0.2'], + 'QueryCount' => ['description' => '查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'QueryCountAvg' => ['description' => '平均查询次数。', 'type' => 'number', 'format' => 'double', 'example' => '3.3'], + 'QueryOverFivePercentNum' => ['description' => '查询超过5s查询次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.5'], + 'QueryOverFiveSecPercent' => ['description' => '查询超过5s占比。', 'type' => 'string', 'example' => '0.5'], + 'QueryOverTenSecPercent' => ['description' => '查询超过10s占比。', 'type' => 'string', 'example' => '0.5'], + 'QueryOverTenSecPercentNum' => ['description' => '查询超过10s查询次数。', 'type' => 'number', 'format' => 'double', 'example' => '0.5'], + 'QueryTimeoutCount' => ['description' => '图表查询超时次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'QueryTimeoutCountPercent' => ['description' => '图表查询超时次数占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.5'], + 'QuickIndexCostTimeAvg' => ['description' => '命中Quick引擎平均查询耗时。', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'QuickIndexQueryCount' => ['description' => '命中Quick引擎次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RepeatQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '0.8'], + 'RepeatQueryPercentNum' => ['description' => '重复查询数量。', 'type' => 'number', 'format' => 'double', 'example' => '3'], + 'RepeatSqlQueryCount' => ['description' => '重复查询次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RepeatSqlQueryPercent' => ['description' => '重复查询占比。', 'type' => 'string', 'example' => '0.7'."\n"], + 'ReportId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '6b407e50-e774-406b-9956-da2425c2****'], + 'ReportName' => ['description' => '报告名称。', 'type' => 'string', 'example' => 'ClusterAddonUpgradeReport'], + 'ReportType' => ['description' => '报表类型。', 'type' => 'string', 'example' => 'report'], + 'WorkspaceId' => ['description' => '作品所属工作空间ID。', 'type' => 'string', 'example' => 'ab46ed33-6278-4ef7-8013-8c1335f266ee'], + 'WorkspaceName' => ['description' => '空间名称。', 'type' => 'string', 'example' => '自定义模板'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'True', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'True'], ], ], ], @@ -18538,19 +10082,11 @@ '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' => '查询报表性能日志', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryReportPerformance', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryReportPerformance'], ], ], 'ramActions' => [ @@ -18561,12 +10097,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -18574,13 +10105,8 @@ ], 'QueryShareList' => [ 'summary' => '查询作品被分享给哪些对象的列表,只返回仍然在有效期限内的分享配置。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18588,24 +10114,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => '作品ID。这里的作品包括数据门户、仪表板、电子表格、自助取数、即席分析、数据填报、数据大屏。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], + 'schema' => ['description' => '作品ID。这里的作品包括数据门户、仪表板、电子表格、自助取数、即席分析、数据填报、数据大屏。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '6b407e50-e774-406b-9956-da2425c2****'], ], ], 'responses' => [ @@ -18613,85 +10127,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], 'Result' => [ 'description' => '返回作品被分享给的对象列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AuthPoint' => [ - 'description' => '分享权限。取值范围:'."\n" - ."\n" - .'- 1:仅查看'."\n" - .'- 3:查看和导出', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ExpireDate' => [ - 'description' => '授权有效时间的毫秒级时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1640102400000', - ], - 'ReportId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '6b407e50-e774-406b-9956-da2425c2****', - ], - 'ShareId' => [ - 'description' => '分享配置ID。', - 'type' => 'string', - 'example' => '0ab9659e-29cf-47d7-a364-3a91553b****', - ], - 'ShareToId' => [ - 'description' => '分享目标的ID,可能是在Quick BI的用户ID,可能是用户组ID。'."\n" - ."\n" - .'- 当ShareToType=2(所有组织内的成员)的时候,ShareToId为组织ID。', - 'type' => 'string', - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], - 'ShareToName' => [ - 'description' => '分享对象的名称。', - 'type' => 'string', - 'example' => '小张', - ], - 'ShareToType' => [ - 'description' => '分享类型。取值范围:'."\n" - ."\n" - .'- 0:用户'."\n" - .'- 1:用户组'."\n" - .'- 2:组织'."\n" - .'- 3:空间', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ShareType' => [ - 'description' => '被分享作品的类型。取值范围:'."\n" - .'- dataProduct:数据门户'."\n" - .'- dashboard:仪表板'."\n" - .'- report:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数'."\n" - .'- ANALYSIS:即席分析'."\n" - .'- DATAFORM:数据填报'."\n" - .'- SCREEN:数据大屏', - 'type' => 'string', - 'example' => 'dashboard', - ], + 'AuthPoint' => ['description' => '分享权限。取值范围:'."\n" + ."\n" + .'- 1:仅查看'."\n" + .'- 3:查看和导出', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'ExpireDate' => ['description' => '授权有效时间的毫秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1640102400000'], + 'ReportId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '6b407e50-e774-406b-9956-da2425c2****'], + 'ShareId' => ['description' => '分享配置ID。', 'type' => 'string', 'example' => '0ab9659e-29cf-47d7-a364-3a91553b****'], + 'ShareToId' => ['description' => '分享目标的ID,可能是在Quick BI的用户ID,可能是用户组ID。'."\n" + ."\n" + .'- 当ShareToType=2(所有组织内的成员)的时候,ShareToId为组织ID。', 'type' => 'string', 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], + 'ShareToName' => ['description' => '分享对象的名称。', 'type' => 'string', 'example' => '小张'], + 'ShareToType' => ['description' => '分享类型。取值范围:'."\n" + ."\n" + .'- 0:用户'."\n" + .'- 1:用户组'."\n" + .'- 2:组织'."\n" + .'- 3:空间', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ShareType' => ['description' => '被分享作品的类型。取值范围:'."\n" + .'- dataProduct:数据门户'."\n" + .'- dashboard:仪表板'."\n" + .'- report:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数'."\n" + .'- ANALYSIS:即席分析'."\n" + .'- DATAFORM:数据填报'."\n" + .'- SCREEN:数据大屏', 'type' => 'string', 'example' => 'dashboard'], ], ], ], @@ -18701,43 +10172,20 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Report.NotExist.Error', - 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', - 'description' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - 'errorCode' => 'Workspace.Not.Exist', - 'errorMessage' => 'The group workspace does not exist.', - 'description' => '群空间不存在。', - ], - [ - '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' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['errorCode' => 'Workspace.Not.Exist', 'errorMessage' => 'The group workspace does not exist.', 'description' => '群空间不存在。'], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], ], ], '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' => '查询作品的分享记录', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryShareList', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryShareList'], ], ], 'ramActions' => [ @@ -18748,12 +10196,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -18761,13 +10204,8 @@ ], 'QuerySharesToUserList' => [ 'summary' => '查询授权给用户的作品列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18775,24 +10213,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '46e53****5ba4b679ee22e2a2927****', - ], + 'schema' => ['description' => '用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '46e53****5ba4b679ee22e2a2927****'], ], ], 'responses' => [ @@ -18800,143 +10226,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], 'Result' => [ 'description' => '返回授权给用户的作品列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '创建时间的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1530078690000', - ], - 'Description' => [ - 'description' => '作品备注。', - 'type' => 'string', - 'example' => '测试报表的描述', - ], + 'CreateTime' => ['description' => '创建时间的毫秒级时间戳。', 'type' => 'string', 'example' => '1530078690000'], + 'Description' => ['description' => '作品备注。', 'type' => 'string', 'example' => '测试报表的描述'], 'Directory' => [ 'description' => '作品所在的目录信息。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '资源所在的目录ID。', - 'type' => 'string', - 'example' => 'f7f6e22b-83be-47fd-b49d-9ca686a9****', - ], - 'Name' => [ - 'description' => '资源名称。', - 'type' => 'string', - 'example' => '图表报表', - ], - 'PathId' => [ - 'description' => '资源所在目录的路径ID。', - 'type' => 'string', - 'example' => '66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****', - ], - 'PathName' => [ - 'description' => '资源所在目录的路径名称。', - 'type' => 'string', - 'example' => '一级目录/二级目录', - ], + 'Id' => ['description' => '资源所在的目录ID。', 'type' => 'string', 'example' => 'f7f6e22b-83be-47fd-b49d-9ca686a9****'], + 'Name' => ['description' => '资源名称。', 'type' => 'string', 'example' => '图表报表'], + 'PathId' => ['description' => '资源所在目录的路径ID。', 'type' => 'string', 'example' => '66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****'], + 'PathName' => ['description' => '资源所在目录的路径名称。', 'type' => 'string', 'example' => '一级目录/二级目录'], ], ], - 'ModifyName' => [ - 'description' => '修改者的阿里云账户名。', - 'type' => 'string', - 'example' => '13855265****@163.com', - ], - 'ModifyTime' => [ - 'description' => '修改时间的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1530078690000', - ], - 'OwnerId' => [ - 'description' => '作品所有者在Quickbi 的UserID。', - 'type' => 'string', - 'example' => '74f5527216d14e9892245320ebf2****', - ], - 'OwnerName' => [ - 'description' => '作品所有者的阿里云账户名。', - 'type' => 'string', - 'example' => 'w****@aliyun.com', - ], - 'SecurityLevel' => [ - 'description' => '作品协同授权的安全策略。取值:'."\n" - .'- 0:私密'."\n" - .'- 12:授权指定成员'."\n" - .'- 1或11:授权所有空间成员'."\n" - ."\n" - .'>- 若您使用旧版权限,则返回值为1。'."\n" - .'- 若您使用新版权限,则返回值为11。', - 'type' => 'string', - 'example' => '0', - ], - 'Status' => [ - 'description' => '报表的发布状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ThirdPartAuthFlag' => [ - 'description' => '第三方嵌入状态。取值范围:'."\n" - ."\n" - .'- 0:未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'WorkName' => [ - 'description' => '报表名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'WorkType' => [ - 'description' => '作品类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- FULLPAGE:全屏仪表板'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数', - 'type' => 'string', - 'example' => 'DATAFORM', - ], - 'WorksId' => [ - 'description' => '报表ID。', - 'type' => 'string', - 'example' => '97f7f4c1-543a-4069-8e8d-a56cfcd6****', - ], - 'WorkspaceId' => [ - 'description' => '报表所在工作空间的ID。', - 'type' => 'string', - 'example' => 'c5f86ad2-ef53-4c51-8720-162ecfdb****', - ], - 'WorkspaceName' => [ - 'description' => '报表所在工作空间的名称。', - 'type' => 'string', - 'example' => '专业版回归', - ], + 'ModifyName' => ['description' => '修改者的阿里云账户名。', 'type' => 'string', 'example' => '13855265****@163.com'], + 'ModifyTime' => ['description' => '修改时间的毫秒级时间戳。', 'type' => 'string', 'example' => '1530078690000'], + 'OwnerId' => ['description' => '作品所有者在Quickbi 的UserID。', 'type' => 'string', 'example' => '74f5527216d14e9892245320ebf2****'], + 'OwnerName' => ['description' => '作品所有者的阿里云账户名。', 'type' => 'string', 'example' => 'w****@aliyun.com'], + 'SecurityLevel' => ['description' => '作品协同授权的安全策略。取值:'."\n" + .'- 0:私密'."\n" + .'- 12:授权指定成员'."\n" + .'- 1或11:授权所有空间成员'."\n" + ."\n" + .'>- 若您使用旧版权限,则返回值为1。'."\n" + .'- 若您使用新版权限,则返回值为11。', 'type' => 'string', 'example' => '0'], + 'Status' => ['description' => '报表的发布状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ThirdPartAuthFlag' => ['description' => '第三方嵌入状态。取值范围:'."\n" + ."\n" + .'- 0:未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'WorkName' => ['description' => '报表名称。', 'type' => 'string', 'example' => '测试报表'], + 'WorkType' => ['description' => '作品类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- FULLPAGE:全屏仪表板'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数', 'type' => 'string', 'example' => 'DATAFORM'], + 'WorksId' => ['description' => '报表ID。', 'type' => 'string', 'example' => '97f7f4c1-543a-4069-8e8d-a56cfcd6****'], + 'WorkspaceId' => ['description' => '报表所在工作空间的ID。', 'type' => 'string', 'example' => 'c5f86ad2-ef53-4c51-8720-162ecfdb****'], + 'WorkspaceName' => ['description' => '报表所在工作空间的名称。', 'type' => 'string', 'example' => '专业版回归'], ], ], ], @@ -18948,14 +10292,8 @@ '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":"<QuerySharesToUserListResponse>\\n <Success>true</Success>\\n <RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>\\n <Result>\\n <Status>1</Status>\\n <ThirdPartAuthFlag>0</ThirdPartAuthFlag>\\n <WorksId>97f7f4c1-543a-4069-8e8d-a56cfcd6****</WorksId>\\n <CreateTime>1530078690000</CreateTime>\\n <WorkType>DATAFORM</WorkType>\\n <OwnerName>w****@aliyun.com</OwnerName>\\n <WorkspaceName>专业版回归</WorkspaceName>\\n <OwnerId>74f5527216d14e9892245320ebf2****</OwnerId>\\n <ModifyName>13855265****@163.com</ModifyName>\\n <WorkspaceId>c5f86ad2-ef53-4c51-8720-162ecfdb****</WorkspaceId>\\n <SecurityLevel>0</SecurityLevel>\\n <Description>测试报表的描述</Description>\\n <WorkName>测试报表</WorkName>\\n <ModifyTime>1530078690000</ModifyTime>\\n <Directory>\\n <PathId>66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****</PathId>\\n <PathName>一级目录/二级目录</PathName>\\n <Name>图表报表</Name>\\n <Id>f7f6e22b-83be-47fd-b49d-9ca686a9****</Id>\\n </Directory>\\n </Result>\\n</QuerySharesToUserListResponse>","errorExample":""}]', 'title' => '查询授权给用户的作品列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -18965,12 +10303,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -18978,12 +10311,8 @@ ], 'QuerySmartqPermissionByCubeId' => [ 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -18991,35 +10320,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95c4d**************3852e202', - ], + 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95c4d**************3852e202'], ], ], 'responses' => [ @@ -19029,101 +10340,44 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '617277******************ABA47E31', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '617277******************ABA47E31'], 'Result' => [ 'description' => '数据集基础信息。', 'type' => 'object', 'properties' => [ - 'HasPerssion' => [ - 'description' => '当前用户是否有问数权限。', - 'type' => 'boolean', - ], - 'CubeId' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => '7c7223ae-****-3c744528014b', - ], - 'CubeName' => [ - 'description' => '数据集名称。', - 'type' => 'string', - 'example' => 'test', - ], + 'HasPerssion' => ['description' => '当前用户是否有问数权限。', 'type' => 'boolean'], + 'CubeId' => ['description' => '数据集ID。', 'type' => 'string', 'example' => '7c7223ae-****-3c744528014b'], + 'CubeName' => ['description' => '数据集名称。', 'type' => 'string', 'example' => 'test'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => 'Query.Auth.Error', - 'errorMessage' => 'Query is not permitted.', - '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' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', - 'errorMessage' => 'Please purchase Nl2sql module first.', - 'description' => '请先购买智能问数模块。', - ], - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '数据集不存在。', - ], + ['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' => 'Query.Auth.Error', 'errorMessage' => 'Query is not permitted.', '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' => '此用户%s没有权限操作。'], + ['errorCode' => 'RobotNl2sql.Moudle.NotPurchase', 'errorMessage' => 'Please purchase Nl2sql module first.', 'description' => '请先购买智能问数模块。'], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查看用户是否有某个小Q问数数据集权限', 'summary' => '查看用户是否有某个小Q问数数据集权限。', 'changeSet' => [ - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QuerySmartqPermissionByCubeId', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySmartqPermissionByCubeId'], ], ], 'ramActions' => [ @@ -19134,12 +10388,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -19148,13 +10397,8 @@ ], 'QueryTicketInfo' => [ 'summary' => '获取免登嵌入报表的指定ticket的详情信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19162,24 +10406,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Ticket', 'in' => 'query', - 'schema' => [ - 'description' => '票据值。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'a27a9aec-****-****-bd40-1a21ea41d7c5', - ], + 'schema' => ['description' => '票据值。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a27a9aec-****-****-bd40-1a21ea41d7c5'], ], ], 'responses' => [ @@ -19187,81 +10419,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '生成的票据详情。', 'type' => 'object', 'properties' => [ - 'AccessTicket' => [ - 'description' => '票据。', - 'type' => 'string', - 'example' => 'a27a9aec-****-****-bd40-1a21ea41d7c5', - ], - 'CmptId' => [ - 'description' => '报表内的组件ID。', - 'type' => 'string', - 'example' => 'sfdgsds-****-****-a608-mghdgd', - ], - 'GlobalParam' => [ - 'description' => '全局参数。', - 'type' => 'string', - 'example' => '[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]},{"paramKey":"product_type","joinType":"and","conditionList":[{"operate":"in","value":["]}]}]\\n', - ], - 'InvalidTime' => [ - 'description' => '票据的失效时间。', - 'type' => 'string', - 'example' => '2022-01-30 03:03:49', - ], - 'MaxTicketNum' => [ - 'description' => '最大支持的票据数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9999', - ], - 'OrganizationId' => [ - 'description' => '组织ID。', - 'type' => 'string', - 'example' => '2fe4fbd8-****-****-b3e1-e92c7af083ea', - ], - 'RegisterTime' => [ - 'description' => '票据的注册时间。', - 'type' => 'string', - 'example' => '2022-01-09 22:23:49', - ], - 'UsedTicketNum' => [ - 'description' => '已消费的票据数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '47', - ], - 'UserId' => [ - 'description' => 'Quick BI的用户ID。', - 'type' => 'string', - 'example' => '974e50**********9033f46', - ], - 'WatermarkParam' => [ - 'description' => '水印参数。', - 'type' => 'string', - 'example' => 'ticket', - ], - 'WorksId' => [ - 'description' => '报表ID。', - 'type' => 'string', - 'example' => 'ccd3428c-****-****-a608-26bae29dffee', - ], + 'AccessTicket' => ['description' => '票据。', 'type' => 'string', 'example' => 'a27a9aec-****-****-bd40-1a21ea41d7c5'], + 'CmptId' => ['description' => '报表内的组件ID。', 'type' => 'string', 'example' => 'sfdgsds-****-****-a608-mghdgd'], + 'GlobalParam' => ['description' => '全局参数。', 'type' => 'string', 'example' => '[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]},{"paramKey":"product_type","joinType":"and","conditionList":[{"operate":"in","value":["]}]}]\\n'], + 'InvalidTime' => ['description' => '票据的失效时间。', 'type' => 'string', 'example' => '2022-01-30 03:03:49'], + 'MaxTicketNum' => ['description' => '最大支持的票据数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9999'], + 'OrganizationId' => ['description' => '组织ID。', 'type' => 'string', 'example' => '2fe4fbd8-****-****-b3e1-e92c7af083ea'], + 'RegisterTime' => ['description' => '票据的注册时间。', 'type' => 'string', 'example' => '2022-01-09 22:23:49'], + 'UsedTicketNum' => ['description' => '已消费的票据数。', 'type' => 'integer', 'format' => 'int32', 'example' => '47'], + 'UserId' => ['description' => 'Quick BI的用户ID。', 'type' => 'string', 'example' => '974e50**********9033f46'], + 'WatermarkParam' => ['description' => '水印参数。', 'type' => 'string', 'example' => 'ticket'], + 'WorksId' => ['description' => '报表ID。', 'type' => 'string', 'example' => 'ccd3428c-****-****-a608-26bae29dffee'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -19269,93 +10447,129 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', - 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', - 'description' => 'Ticket绑定的报表与访问页面报表不一致。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.Expired', - 'errorMessage' => 'Ticket [%s] has expired.', - 'description' => '当前票据[%s]已过期。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', - 'errorMessage' => 'The request [%s] has no token.', - 'description' => '当前请求 [%s] 未找到token信息。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.NotExist', - 'errorMessage' => 'Ticket %s does not exist.', - 'description' => '当前票据%s不存在。', - ], - [ - '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' => '您无权操作这些对象。', - ], + ['errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', 'description' => 'Ticket绑定的报表与访问页面报表不一致。'], + ['errorCode' => 'Authorize3rdTicket.Expired', 'errorMessage' => 'Ticket [%s] has expired.', 'description' => '当前票据[%s]已过期。'], + ['errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', 'errorMessage' => 'The request [%s] has no token.', 'description' => '当前请求 [%s] 未找到token信息。'], + ['errorCode' => 'Authorize3rdTicket.NotExist', 'errorMessage' => 'Ticket %s does not exist.', 'description' => '当前票据%s不存在。'], + ['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' => '您无权操作这些对象。'], ], ], 'responseDemo' => '[{"type":"json","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}","errorExample":""},{"type":"xml","example":"<QueryTicketInfoResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <AccessTicket>a27a9aec-****-****-bd40-1a21ea41d7c5</AccessTicket>\\n <OrganizationId>2fe4fbd8-****-****-b3e1-e92c7af083ea</OrganizationId>\\n <UserId>974e50**********9033f46</UserId>\\n <UsedTicketNum>47</UsedTicketNum>\\n <MaxTicketNum>9999</MaxTicketNum>\\n <RegisterTime>2022-01-09 22:23:49</RegisterTime>\\n <InvalidTime>2022-01-30 03:03:49</InvalidTime>\\n <WorksId>ccd3428c-****-****-a608-26bae29dffee</WorksId>\\n <CmptId>sfdgsds-****-****-a608-mghdgd</CmptId>\\n <GlobalParam>[{&quot;paramKey&quot;:&quot;price&quot;,&quot;joinType&quot;:&quot;and&quot;,&quot;conditionList&quot;:[{&quot;operate&quot;:&quot;&gt;&quot;,&quot;value&quot;:&quot;0&quot;}]},{&quot;paramKey&quot;:&quot;product_type&quot;,&quot;joinType&quot;:&quot;and&quot;,&quot;conditionList&quot;:[{&quot;operate&quot;:&quot;in&quot;,&quot;value&quot;:[&quot;办公用品&quot;,&quot;家具产品&quot;]}]}]\\\\n</GlobalParam>\\n <WatermarkParam>Ticket三方嵌入</WatermarkParam>\\n </Result>\\n <Success>true</Success>\\n</QueryTicketInfoResponse>","errorExample":""}]', 'title' => '查询嵌入报表ticket详情', 'changeSet' => [ + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'QueryUserByMobileAccount' => [ + 'summary' => '根据绑定的第三方账号ID查询UserId。', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', + 'name' => 'MobileUserId', + 'in' => 'query', + 'schema' => ['description' => '绑定移动端用户ID'."\n" + ."\n" + .'- 钉钉:钉钉账号的unionId'."\n" + .'- 企业微信:企微账号的userId'."\n" + .'- 飞书:飞书账号的userId'."\n" + .'><notice>mobileUserId需要开发者自行调用钉钉、企微、飞书的相关接口获取。></notice>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sasda'], ], [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', + 'name' => 'MobileType', + 'in' => 'query', + 'schema' => ['description' => '绑定移动端类型'."\n" + ."\n" + .'- 钉钉:ding'."\n" + .'- 企业微信:corp_weixin'."\n" + .'- 飞书:feishu', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ding'], ], ], - 'flowControl' => [ - 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryTicketInfo', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '46e53***********270'], + 'Result' => [ + 'description' => '三方账号绑定的用户信息。', + 'type' => 'object', + 'properties' => [ + 'BoundUserId' => ['description' => '被绑定账号的Quick BI用户ID。', 'type' => 'string', 'example' => 'test'], + 'ThirdAccountName' => ['description' => '移动端账号名称。', 'type' => 'string', 'example' => 'test'], + ], + ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + ], ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '根据绑定的第三方账号ID查询UserId', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryTicketInfo', + 'action' => 'quickbi-public:QueryUserByMobileAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46e53***********270\\",\\n \\"Result\\": {\\n \\"BoundUserId\\": \\"test\\",\\n \\"ThirdAccountName\\": \\"test\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', ], 'QueryUserGroupListByParentId' => [ 'summary' => '获取指定父用户组下的子用户组信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19363,27 +10577,15 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'ParentUserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '父用户组ID。'."\n" - ."\n" - .'- 当输入父用户组ID时,可以获取该ID下的子用户组信息。'."\n" - .'- 当输入-1时,可以获取根目录下的子用户组信息。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', - ], + 'schema' => ['description' => '父用户组ID。'."\n" + ."\n" + .'- 当输入父用户组ID时,可以获取该ID下的子用户组信息。'."\n" + .'- 当输入-1时,可以获取根目录下的子用户组信息。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****'], ], ], 'responses' => [ @@ -19391,70 +10593,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '72B19D61-B37A-5C7A-9389-0856CD7935B3', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '72B19D61-B37A-5C7A-9389-0856CD7935B3'], 'Result' => [ 'description' => '子用户组信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '子用户组创建时间。', - 'type' => 'string', - 'example' => '2020-10-30 10:03:09', - ], - 'CreateUser' => [ - 'description' => '子用户组创建者。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'example' => '136516262323****', - ], - 'IdentifiedPath' => [ - 'description' => '子用户组的目录层级。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', - ], - 'ModifiedTime' => [ - 'description' => '子用户组最新修改时间。', - 'type' => 'string', - 'example' => '2020-11-16 15:49:08', - ], - 'ModifyUser' => [ - 'description' => '子用户组修改者。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'example' => '136516262323****', - ], - 'ParentUserGroupId' => [ - 'description' => '父用户组ID。', - 'type' => 'string', - 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', - ], - 'UserGroupDescription' => [ - 'description' => '子用户组备注。', - 'type' => 'string', - 'example' => '用来测试的用户组', - ], - 'UserGroupId' => [ - 'description' => '子用户组ID。', - 'type' => 'string', - 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', - ], - 'UserGroupName' => [ - 'description' => '子用户组名称。', - 'type' => 'string', - 'example' => 'popapi测试分组', - ], + 'CreateTime' => ['description' => '子用户组创建时间。', 'type' => 'string', 'example' => '2020-10-30 10:03:09'], + 'CreateUser' => ['description' => '子用户组创建者。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'example' => '136516262323****'], + 'IdentifiedPath' => ['description' => '子用户组的目录层级。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****'], + 'ModifiedTime' => ['description' => '子用户组最新修改时间。', 'type' => 'string', 'example' => '2020-11-16 15:49:08'], + 'ModifyUser' => ['description' => '子用户组修改者。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'example' => '136516262323****'], + 'ParentUserGroupId' => ['description' => '父用户组ID。', 'type' => 'string', 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****'], + 'UserGroupDescription' => ['description' => '子用户组备注。', 'type' => 'string', 'example' => '用来测试的用户组'], + 'UserGroupId' => ['description' => '子用户组ID。', 'type' => 'string', 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****'], + 'UserGroupName' => ['description' => '子用户组名称。', 'type' => 'string', 'example' => 'popapi测试分组'], ], ], ], @@ -19464,38 +10622,19 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UserGroup.NotIn.Organization', - 'errorMessage' => 'The user group is not in the current organization.', - 'description' => '用户组不在当前组织内。', - ], - [ - 'errorCode' => 'Usergroup.Not.Exist', - 'errorMessage' => 'The user group does not exist.', - 'description' => '用户组不存在。', - ], + ['errorCode' => 'UserGroup.NotIn.Organization', 'errorMessage' => 'The user group is not in the current organization.', 'description' => '用户组不在当前组织内。'], + ['errorCode' => 'Usergroup.Not.Exist', 'errorMessage' => 'The user group does not exist.', 'description' => '用户组不存在。'], ], ], '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":"<QueryUserGroupListByParentIdResponse>\\n <Success>true</Success>\\n <RequestId>72B19D61-B37A-5C7A-9389-0856CD7935B3</RequestId>\\n <Result>\\n <IdentifiedPath>2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****</IdentifiedPath>\\n <ModifiedTime>2020-11-16 15:49:08</ModifiedTime>\\n <CreateUser>136516262323****</CreateUser>\\n <CreateTime>2020-10-30 10:03:09</CreateTime>\\n <UserGroupId>f5eeb52e-d9c2-4a8b-80e3-47ab55c2****</UserGroupId>\\n <UserGroupName>popapi测试分组</UserGroupName>\\n <ModifyUser>136516262323****</ModifyUser>\\n <ParentUserGroupId>3d2c23d4-2b41-4af8-a1f5-f6390f32****</ParentUserGroupId>\\n <UserGroupDescription>用来测试的用户组</UserGroupDescription>\\n </Result>\\n</QueryUserGroupListByParentIdResponse>","errorExample":""}]', 'title' => '查询父用户组下的子用户组列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryUserGroupListByParentId', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserGroupListByParentId'], ], ], 'ramActions' => [ @@ -19506,12 +10645,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -19519,13 +10653,8 @@ ], 'QueryUserGroupMember' => [ 'summary' => '获取用户组下的成员列表信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19533,35 +10662,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', - ], + 'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '用户组成员用户名或昵称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '小刘', - ], + 'schema' => ['description' => '用户组成员用户名或昵称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '小刘'], ], ], 'responses' => [ @@ -19569,53 +10680,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '48C930FF-DFCF-5986-902B-E24C202E2443', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '48C930FF-DFCF-5986-902B-E24C202E2443'], 'Result' => [ 'description' => '用户组成员列表的请求结果。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '用户组ID或用户组成员ID。', - 'type' => 'string', - 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****', - ], - 'IsUserGroup' => [ - 'description' => '是否为用户组。取值范围:'."\n" - ."\n" - .'- true:用户组'."\n" - .'- false:用户', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Name' => [ - 'description' => '用户组名称或用户组成员昵称 。', - 'type' => 'string', - 'example' => '小刘的测试用户组', - ], - 'ParentUserGroupId' => [ - 'description' => '所属用户组ID。', - 'type' => 'string', - 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****', - ], - 'ParentUserGroupName' => [ - 'description' => '所属用户组名称。', - 'type' => 'string', - 'example' => '财务组', - ], + 'Id' => ['description' => '用户组ID或用户组成员ID。', 'type' => 'string', 'example' => '3d2c23d4-2b41-4af8-a1f5-f6390f32****'], + 'IsUserGroup' => ['description' => '是否为用户组。取值范围:'."\n" + ."\n" + .'- true:用户组'."\n" + .'- false:用户', 'type' => 'boolean', 'example' => 'true'], + 'Name' => ['description' => '用户组名称或用户组成员昵称 。', 'type' => 'string', 'example' => '小刘的测试用户组'], + 'ParentUserGroupId' => ['description' => '所属用户组ID。', 'type' => 'string', 'example' => '2fe4fbd8-588f-489a-b3e1-e92c7af0****'], + 'ParentUserGroupName' => ['description' => '所属用户组名称。', 'type' => 'string', 'example' => '财务组'], ], ], ], @@ -19625,33 +10708,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Usergroup.Not.Exist', - 'errorMessage' => 'The user group does not exist.', - 'description' => '用户组不存在。', - ], + ['errorCode' => 'Usergroup.Not.Exist', 'errorMessage' => 'The user group does not exist.', 'description' => '用户组不存在。'], ], ], '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' => '查询用户组成员列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryUserGroupMember', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserGroupMember'], ], ], 'ramActions' => [ @@ -19662,12 +10730,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -19675,13 +10738,8 @@ ], 'QueryUserInfoByAccount' => [ 'summary' => '根据阿里云ID或阿里云账户名查询用户信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19689,40 +10747,23 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Account', 'in' => 'query', - 'schema' => [ - 'description' => '输入待查询的阿里云账号名或阿里云ID。'."\n" - .'- 当输入账号名时:'."\n" - .' - 如果组织用户是主账号(例如main_account),则查询账号格式为主账号。即,要输入的主账号main_account。 '."\n" - .' - 如果组织用户是子账号(例如zhangsan@test.onaliyun.com),则查询账号格式为子账号的头部,即,要输入的子账号为zhangsan。'."\n" - .'- 当输入阿里云ID时:'."\n" - .' - 输入完整的账号UID,即可查询到对应的账号信息。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1386587****@163.com', - ], + 'schema' => ['description' => '输入待查询的阿里云账号名或阿里云ID。'."\n" + .'- 当输入账号名时:'."\n" + .' - 如果组织用户是主账号(例如main_account),则查询账号格式为主账号。即,要输入的主账号main_account。 '."\n" + .' - 如果组织用户是子账号(例如zhangsan@test.onaliyun.com),则查询账号格式为子账号的头部,即,要输入的子账号为zhangsan。'."\n" + .'- 当输入阿里云ID时:'."\n" + .' - 输入完整的账号UID,即可查询到对应的账号信息。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1386587****@163.com'], ], [ 'name' => 'ParentAccountName', 'in' => 'query', - 'schema' => [ - 'description' => '当查询子账号出现重复报错时,输入主账号的账号名,'."\n" - .'例如zhangsan@test.onaliyun.com。', - 'type' => 'string', - 'required' => false, - 'example' => 'zhangsan@test.onaliyun.com', - ], + 'schema' => ['description' => '当查询子账号出现重复报错时,输入主账号的账号名,'."\n" + .'例如zhangsan@test.onaliyun.com。', 'type' => 'string', 'required' => false, 'example' => 'zhangsan@test.onaliyun.com'], ], ], 'responses' => [ @@ -19730,114 +10771,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回的组织用户信息。', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => '阿里云账号ID。非Ram自助读取添加的用户,需要登录后才能获取到阿里云ID。', - 'type' => 'string', - 'example' => '135****5848', - ], - 'AccountName' => [ - 'description' => '阿里云账号名称。(子账号会去除@后面的域名信息,例如test@test.com,会返回test)', - 'type' => 'string', - 'example' => '1386587****@163.com', - ], - 'AdminUser' => [ - 'description' => '是否绑定了组织管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AuthAdminUser' => [ - 'description' => '是否绑定了权限管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Email' => [ - 'description' => '邮箱。', - 'type' => 'string', - 'example' => '1386587****@163.com', - ], - 'NickName' => [ - 'description' => '昵称。', - 'type' => 'string', - 'example' => '测试用户', - ], - 'Phone' => [ - 'description' => '手机号码。', - 'type' => 'string', - 'example' => '1386587****', - ], + 'AccountId' => ['description' => '阿里云账号ID。非Ram自助读取添加的用户,需要登录后才能获取到阿里云ID。', 'type' => 'string', 'example' => '135****5848'], + 'AccountName' => ['description' => '阿里云账号名称。(子账号会去除@后面的域名信息,例如test@test.com,会返回test)', 'type' => 'string', 'example' => '1386587****@163.com'], + 'AdminUser' => ['description' => '是否绑定了组织管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', 'type' => 'boolean', 'example' => 'true'], + 'AuthAdminUser' => ['description' => '是否绑定了权限管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', 'type' => 'boolean', 'example' => 'true'], + 'Email' => ['description' => '邮箱。', 'type' => 'string', 'example' => '1386587****@163.com'], + 'NickName' => ['description' => '昵称。', 'type' => 'string', 'example' => '测试用户'], + 'Phone' => ['description' => '手机号码。', 'type' => 'string', 'example' => '1386587****'], 'RoleIdList' => [ 'description' => '用户绑定的组织角色ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '组织角色ID,最多3个,包括但不限于组织预置角色:'."\n" - ."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '111111111', - ], - ], - 'UserId' => [ - 'description' => 'Quick BI中的UserID。', - 'type' => 'string', - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], - 'UserType' => [ - 'description' => '组织成员的用户类型。取值范围:'."\n" + 'items' => ['description' => '组织角色ID,最多3个,包括但不限于组织预置角色:'."\n" ."\n" - .'- 1 :开发者'."\n" - .'- 2 :访问者'."\n" - .'- 3 :分析师', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111'], + ], + 'UserId' => ['description' => 'Quick BI中的UserID。', 'type' => 'string', 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], + 'UserType' => ['description' => '组织成员的用户类型。取值范围:'."\n" + ."\n" + .'- 1 :开发者'."\n" + .'- 2 :访问者'."\n" + .'- 3 :分析师', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CopilotModules' => [ + 'title' => '所拥有配额的智能化模块', + 'description' => '所拥有配额的智能化模块', + 'type' => 'array', + 'items' => ['title' => '所拥有配额的智能化模块', 'description' => '所拥有配额的智能化模块。'."\n" + .'- qreport --小Q报告'."\n" + .'- qExploreNum -- 小Q探索版'."\n" + .'- smartQAskNum -- 小Q问数'."\n" + .'- smartQDevNum -- 小Q搭建', 'type' => 'string', 'example' => 'qreport'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'User.Duplicative', - 'errorMessage' => 'Duplicate users found with account name : %s.', - 'description' => '', - ], + ['errorCode' => 'User.Duplicative', 'errorMessage' => 'Duplicate users found with account name : %s.', 'description' => '查询到重复的用户,账号名为:%s,。'], ], ], - '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":""}]', + '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 \\"CopilotModules\\": [\\n \\"qreport\\"\\n ]\\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' => '根据账号查询用户信息', - 'changeSet' => [], + 'changeSet' => [ + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-06-27T12:33:58.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-02-26T09:29:01.000Z', 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserInfoByAccount'], + ], + ], 'ramActions' => [ [ 'operationType' => 'get', @@ -19846,12 +10854,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -19859,13 +10862,8 @@ ], 'QueryUserInfoByUserId' => [ 'summary' => '根据用户ID查询用户信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19873,24 +10871,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。此处的UserID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], + 'schema' => ['description' => '用户ID。此处的UserID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], ], ], 'responses' => [ @@ -19898,108 +10884,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回的组织用户信息。', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => '阿里云账号ID。', - 'type' => 'string', - 'example' => '135****5848', - ], - 'AccountName' => [ - 'description' => '阿里云账号名称。', - 'type' => 'string', - 'example' => '1386587****@163.com', - ], - 'AdminUser' => [ - 'description' => ' '."\n" - .'是否为组织管理员。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AuthAdminUser' => [ - 'description' => '是否为权限管理员。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Email' => [ - 'description' => '邮箱。', - 'type' => 'string', - 'example' => '1386587****@163.com', - ], - 'NickName' => [ - 'description' => '昵称。', - 'type' => 'string', - 'example' => '测试用户', - ], - 'Phone' => [ - 'description' => '手机号码。', - 'type' => 'string', - 'example' => '1386587****', - ], + 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '135****5848'], + 'AccountName' => ['description' => '阿里云账号名称。', 'type' => 'string', 'example' => '1386587****@163.com'], + 'AdminUser' => ['description' => '是否为组织管理员。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', 'type' => 'boolean', 'example' => 'true'], + 'AuthAdminUser' => ['description' => '是否绑定了权限管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,以RoleIList参数为准</notice>', 'type' => 'boolean', 'example' => 'true'], + 'Email' => ['description' => '邮箱。', 'type' => 'string', 'example' => '1386587****@163.com'], + 'NickName' => ['description' => '昵称。', 'type' => 'string', 'example' => '测试用户'], + 'Phone' => ['description' => '手机号码。', 'type' => 'string', 'example' => '1386587****'], 'RoleIdList' => [ + 'description' => '用户绑定的组织角色ID列表。', 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - 'UserId' => [ - 'description' => 'Quick BI中的UserID。', - 'type' => 'string', - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], - 'UserType' => [ - 'description' => '组织成员的角色类型。取值范围:'."\n" + 'items' => ['description' => '组织角色ID,最多3个,包括但不限于组织预置角色:'."\n" ."\n" - .'- 1 :开发者'."\n" - .'- 2 :访问者'."\n" - .'- 3 :分析师', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111'], + ], + 'UserId' => ['description' => 'Quick BI中的UserID。', 'type' => 'string', 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], + 'UserType' => ['description' => '组织成员的用户类型。取值范围:'."\n" + ."\n" + .'- 1 :开发者'."\n" + .'- 2 :访问者'."\n" + .'- 3 :分析师', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CopilotModules' => [ + 'title' => '所拥有的智能化配额', + 'description' => '所拥有的智能化配额', + 'type' => 'array', + 'items' => ['title' => '所拥有的智能化配额', 'description' => '所拥有的智能化配额。'."\n" + .'- qreport --小Q报告'."\n" + .'- qExploreNum -- 小Q探索版'."\n" + .'- smartQAskNum -- 小Q问数'."\n" + .'- smartQDevNum -- 小Q搭建', 'type' => 'string', 'example' => 'qreport'], ], ], ], ], + 'description' => '', ], ], ], '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":"<QueryUserInfoByUserIdResponse>\\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</QueryUserInfoByUserIdResponse>","errorExample":""}]', + '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 111111111\\n ],\\n \\"UserId\\": \\"fe67f61a35a94b7da1a34ba174a7****\\",\\n \\"UserType\\": 1,\\n \\"CopilotModules\\": [\\n \\"qreport\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryUserInfoByUserIdResponse>\\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</QueryUserInfoByUserIdResponse>","errorExample":""}]', 'title' => '根据用户ID查询用户信息', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-02-26T09:29:01.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-02-26T09:29:01.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserInfoByUserId'], ], ], 'ramActions' => [ @@ -20010,12 +10963,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -20023,13 +10971,8 @@ ], 'QueryUserList' => [ 'summary' => '查询组织成员列表信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20037,61 +10980,29 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '组织成员用户名或昵称的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '测试用户', - ], + 'schema' => ['description' => '组织成员用户名或昵称的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '组织成员列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '99999999', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '组织成员列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '99999999', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => ' '."\n" - .'分页查询时的每页行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => ' '."\n" + .'分页查询时的每页行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -20099,19 +11010,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回用户列表的分页结果,组织成员的详细信息列表存放在返回参数Data中。', 'type' => 'object', @@ -20120,132 +11023,86 @@ 'description' => '返回请求的用户列表。', 'type' => 'array', 'items' => [ + 'description' => '返回请求的用户列表。', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => '阿里云账号ID。非Ram自助读取添加的用户,需要登录后才能获取到阿里云ID。', - 'type' => 'string', - 'example' => '1355********', - ], - 'AccountName' => [ - 'description' => '阿里云账号名称。', - 'type' => 'string', - 'example' => '测试用户', - ], - 'AdminUser' => [ - 'description' => '是否绑定了组织管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AuthAdminUser' => [ - 'description' => '是否绑定了权限管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', - 'type' => 'boolean', - 'example' => 'true', - ], - 'JoinedDate' => [ - 'description' => '加入日期', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1718691704000', - ], - 'LastLoginTime' => [ - 'description' => '最后登录时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1718761320681', - ], - 'NickName' => [ - 'description' => '组织成员的昵称。', - 'type' => 'string', - 'example' => '测试用户', - ], + 'AccountId' => ['description' => '阿里云账号ID。非Ram自助读取添加的用户,需要登录后才能获取到阿里云ID。', 'type' => 'string', 'example' => '1355********'], + 'AccountName' => ['description' => '阿里云账号名称。', 'type' => 'string', 'example' => 'test'], + 'AdminUser' => ['description' => '是否绑定了组织管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', 'type' => 'boolean', 'example' => 'true'], + 'AuthAdminUser' => ['description' => '是否绑定了权限管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,以RoleIdList参数为准</notice>', 'type' => 'boolean', 'example' => 'true'], + 'JoinedDate' => ['description' => '加入日期', 'type' => 'integer', 'format' => 'int64', 'example' => '1718691704000'], + 'LastLoginTime' => ['description' => '最后登录时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1718761320681'], + 'NickName' => ['description' => '组织成员的昵称。', 'type' => 'string', 'example' => 'test'], 'RoleIdList' => [ 'description' => '用户绑定的组织角色ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '组织角色ID,最多3个,包括但不限于组织预置角色:'."\n" - ."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '111111111', - ], - ], - 'UserId' => [ - 'description' => 'Quick BI中的UserID。', - 'type' => 'string', - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], - 'UserType' => [ - 'description' => '组织成员的用户类型。取值范围:'."\n" + 'items' => ['description' => '组织角色ID,最多3个,包括但不限于组织预置角色:'."\n" ."\n" - .'- 1 :开发者'."\n" - .'- 2 :访问者'."\n" - .'- 3 :分析师', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'IsDeleted' => [ - 'description' => '用户状态: '."\n" + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111'], + ], + 'UserId' => ['description' => 'Quick BI中的UserID。', 'type' => 'string', 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], + 'UserType' => ['description' => '组织成员的用户类型。取值范围:'."\n" + ."\n" + .'- 1 :开发者'."\n" + .'- 2 :访问者'."\n" + .'- 3 :分析师', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'IsDeleted' => ['description' => '用户状态: '."\n" + ."\n" + .'- 激活-false'."\n" + .'- 失效-true', 'type' => 'boolean', 'example' => 'false'], + 'CopilotModules' => [ + 'title' => '所拥有的智能化配额', + 'description' => '用户的智能化模块配额。'."\n" ."\n" - .'- 激活-false'."\n" - .'- 失效-true', - 'type' => 'boolean', - 'example' => 'false', + .'- qreport --小 Q 报告'."\n" + .'- qExploreNum -- 小 Q 探索版'."\n" + .'- smartQAskNum -- 小 Q 问数'."\n" + .'- smartQDevNum -- 小 Q 搭建', + 'type' => 'array', + 'items' => ['title' => '所拥有的智能化配额', 'description' => '所拥有的智能化配额。', 'type' => 'string', 'example' => 'qreport '], ], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], + 'description' => '', ], ], ], '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":""}]', + '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\\": \\"test\\",\\n \\"AdminUser\\": true,\\n \\"AuthAdminUser\\": true,\\n \\"JoinedDate\\": 1718691704000,\\n \\"LastLoginTime\\": 1718761320681,\\n \\"NickName\\": \\"test\\",\\n \\"RoleIdList\\": [\\n 111111111\\n ],\\n \\"UserId\\": \\"fe67f61a35a94b7da1a34ba174a7****\\",\\n \\"UserType\\": 1,\\n \\"IsDeleted\\": false,\\n \\"CopilotModules\\": [\\n \\"qreport \\"\\n ]\\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' => '查询组织成员列表信息', - 'changeSet' => [], + 'changeSet' => [ + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-06-27T01:51:43.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-02-26T09:29:01.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserList'], + ], + ], 'ramActions' => [ [ 'operationType' => 'list', @@ -20254,12 +11111,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -20267,13 +11119,8 @@ ], 'QueryUserRoleInfoInWorkspace' => [ 'summary' => '获取指定工作空间成员的预置空间角色信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20281,35 +11128,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'f5698bedeb384b1986afccd9e434****', - ], + 'schema' => ['description' => 'Quick BI用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f5698bedeb384b1986afccd9e434****'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], ], 'responses' => [ @@ -20317,43 +11146,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '用户的预置空间角色信息。', 'type' => 'object', 'properties' => [ - 'RoleCode' => [ - 'description' => '预置角色编码。', - 'type' => 'string', - 'example' => 'role_workspace_admin', - ], - 'RoleId' => [ - 'description' => '预置角色ID。取值范围:'."\n" - .'- 25:空间管理员'."\n" - .'- 26:空间开发者'."\n" - .'- 27:空间分析师'."\n" - .'- 30:空间查看者', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '25', - ], - 'RoleName' => [ - 'description' => '预置角色名称。', - 'type' => 'string', - 'example' => '空间管理员', - ], + 'RoleCode' => ['description' => '预置角色编码。', 'type' => 'string', 'example' => 'role_workspace_admin'], + 'RoleId' => ['description' => '预置角色ID。取值范围:'."\n" + .'- 25:空间管理员'."\n" + .'- 26:空间开发者'."\n" + .'- 27:空间分析师'."\n" + .'- 30:空间查看者', 'type' => 'integer', 'format' => 'int64', 'example' => '25'], + 'RoleName' => ['description' => '预置角色名称。', 'type' => 'string', 'example' => '空间管理员'], ], ], ], @@ -20362,57 +11170,23 @@ ], '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' => 'User.RoleType.Valid', - 'errorMessage' => 'The role ID is invalid.', - 'description' => '无效的角色ID。', - ], - [ - 'errorCode' => 'User.NotIn.Workspace', - 'errorMessage' => 'The user is not a member of the group workspace.', - 'description' => '该用户不在群空间中。', - ], - [ - 'errorCode' => 'User.PresetWorkspaceRole.NotExist', - 'errorMessage' => 'User does not have a predefined workspace role.', - 'description' => '用户没有预置空间角色。', - ], + ['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' => 'User.RoleType.Valid', 'errorMessage' => 'The role ID is invalid.', 'description' => '无效的角色ID。'], + ['errorCode' => 'User.NotIn.Workspace', 'errorMessage' => 'The user is not a member of the group workspace.', 'description' => '该用户不在群空间中。'], + ['errorCode' => 'User.PresetWorkspaceRole.NotExist', 'errorMessage' => 'User does not have a predefined workspace role.', 'description' => '用户没有预置空间角色。'], ], ], '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' => '查询工作空间成员的预置角色', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-08-07T06:37:07.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryUserRoleInfoInWorkspace', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserRoleInfoInWorkspace'], ], ], 'ramActions' => [ @@ -20423,12 +11197,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -20436,13 +11205,8 @@ ], 'QueryUserTagMetaList' => [ 'summary' => '查询组织内成员标签元信息列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20450,53 +11214,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回组织内的用户标签列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagDescription' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => '用于区分部分职位', - ], - 'TagId' => [ - 'description' => '标签 ID。', - 'type' => 'string', - 'example' => 'pop_001', - ], - 'TagName' => [ - 'description' => '标签名称。', - 'type' => 'string', - 'example' => '职位', - ], + 'TagDescription' => ['description' => '标签描述。', 'type' => 'string', 'example' => '用于区分部分职位'], + 'TagId' => ['description' => '标签 ID。', 'type' => 'string', 'example' => 'pop_001'], + 'TagName' => ['description' => '标签名称。', 'type' => 'string', 'example' => '职位'], ], ], ], @@ -20508,14 +11246,8 @@ '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":"<QueryUserTagMetaListResponse>\\n <Success>true</Success>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>\\n <TagName>职位</TagName>\\n <TagDescription>用于区分部分职位</TagDescription>\\n <TagId>pop_001</TagId>\\n </Result>\\n</QueryUserTagMetaListResponse>","errorExample":""}]', 'title' => '查询组织成员标签元信息列表', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -20525,12 +11257,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -20538,13 +11265,8 @@ ], 'QueryUserTagValueList' => [ 'summary' => '查询特定用户标签值列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20552,24 +11274,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], + 'schema' => ['description' => '此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], ], ], 'responses' => [ @@ -20577,40 +11287,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回用户标签及标签值列表的请求结果。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagId' => [ - 'description' => '标签 ID。', - 'type' => 'string', - 'example' => 'pop_001', - ], - 'TagName' => [ - 'description' => '标签名称。', - 'type' => 'string', - 'example' => '职位', - ], - 'TagValue' => [ - 'description' => '标签的值。', - 'type' => 'string', - 'example' => '主管', - ], + 'TagId' => ['description' => '标签 ID。', 'type' => 'string', 'example' => 'pop_001'], + 'TagName' => ['description' => '标签名称。', 'type' => 'string', 'example' => '职位'], + 'TagValue' => ['description' => '标签的值。', 'type' => 'string', 'example' => '主管'], ], ], ], @@ -20620,11 +11310,7 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UserTag.NotIn.CurrentOrganization', - 'errorMessage' => 'The user tag is not in the current organization.', - 'description' => '', - ], + ['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":""}]', @@ -20638,12 +11324,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -20651,13 +11332,8 @@ ], 'QueryWorks' => [ 'summary' => '查询指定数据作品信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20665,24 +11341,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'title' => '报表ID', - 'description' => '报表ID', - 'type' => 'string', - 'required' => true, - 'example' => 'abcd****', - ], + 'schema' => ['title' => '报表ID', 'description' => '报表ID', 'type' => 'string', 'required' => true, 'example' => 'abcd****'], ], ], 'responses' => [ @@ -20690,172 +11354,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'title' => 'QueryWorksModel', 'description' => '作品详情信息。', 'type' => 'object', 'properties' => [ - 'Auth3rdFlag' => [ - 'title' => '第三方嵌入状态', - 'description' => '第三方嵌入状态。取值范围:'."\n" - ."\n" - .'- 0:暂未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Description' => [ - 'title' => '描述', - 'description' => '作品备注。', - 'type' => 'string', - 'example' => '备注', - ], + 'Auth3rdFlag' => ['title' => '第三方嵌入状态', 'description' => '第三方嵌入状态。取值范围:'."\n" + ."\n" + .'- 0:暂未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Description' => ['title' => '描述', 'description' => '作品备注。', 'type' => 'string', 'example' => '备注'], 'Directory' => [ 'title' => '所属空间目录信息', 'description' => '作品所属目录。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '目录ID', - 'description' => '所属目录ID。', - 'type' => 'string', - 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', - ], - 'Name' => [ - 'title' => '目录名称', - 'description' => '目录名称。', - 'type' => 'string', - 'example' => '测试目录', - ], - 'PathId' => [ - 'title' => '目录ID的路径,例如:aa/bb/cc/dd', - 'description' => '所属目录ID的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', - ], - 'PathName' => [ - 'title' => '目录ID的路径名称,例如:一层目录/二层目录', - 'description' => '所属目录名称的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '测试目录', - ], - ], - ], - 'GmtCreate' => [ - 'title' => '创建时间d', - 'description' => '作品创建的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1496651577000', - ], - 'GmtModify' => [ - 'title' => '修改时间', - 'description' => '作品修改的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1496651577000', - ], - 'ModifyName' => [ - 'title' => '修改显示名称', - 'description' => '作品修改者的阿里云账户名。', - 'type' => 'string', - 'example' => '张三', - ], - 'OwnerId' => [ - 'title' => '所有者Id', - 'description' => '作品所有者在Quick BI的UserID。', - 'type' => 'string', - 'example' => '9187a612aa474e2a8ac1414d5529****', - ], - 'OwnerName' => [ - 'title' => '所有者显示名称', - 'description' => '作品所有者的阿里云账户名。', - 'type' => 'string', - 'example' => '张三', - ], - 'PublicFlag' => [ - 'description' => '是否公开', - 'type' => 'boolean', - 'example' => 'true', - ], - 'PublicInvalidTime' => [ - 'description' => '报表公开的截止日期', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1721366354000', - ], - 'SecurityLevel' => [ - 'title' => '安全策略:0 私有 1 协同编辑。 (', - 'description' => '作品协同授权的安全策略。取值:'."\n" - .'- 0:私密'."\n" - .'- 12:授权指定成员'."\n" - .'- 1或11:授权所有空间成员'."\n" - ."\n" - .'>- 若您使用旧版权限,则返回值为1。'."\n" - .'>- 若您使用新版权限,则返回值为11。', - 'type' => 'string', - 'example' => '0', - ], - 'Status' => [ - 'title' => '报表发布状态 @PublishStatusEnum', - 'description' => '报表状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'WorkName' => [ - 'title' => '作品名称', - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'WorkType' => [ - 'title' => '作品类型', - 'description' => '查询作品的类型,填空为查询所有类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- FULLPAGE:全屏仪表板'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'WorksId' => [ - 'title' => '作品ID', - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], - 'WorkspaceId' => [ - 'title' => '所属工作空间', - 'description' => '作品所属工作空间的ID。', - 'type' => 'string', - 'example' => '87c6b145-090c-43e1-9426-8f93be23****', - ], - 'WorkspaceName' => [ - 'title' => '所属空间名称', - 'description' => '作品所属工作空间名称。', - 'type' => 'string', - 'example' => '测试空间', - ], + 'Id' => ['title' => '目录ID', 'description' => '所属目录ID。', 'type' => 'string', 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****'], + 'Name' => ['title' => '目录名称', 'description' => '目录名称。', 'type' => 'string', 'example' => '测试目录'], + 'PathId' => ['title' => '目录ID的路径,例如:aa/bb/cc/dd', 'description' => '所属目录ID的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****'], + 'PathName' => ['title' => '目录ID的路径名称,例如:一层目录/二层目录', 'description' => '所属目录名称的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '测试目录'], + ], + ], + 'GmtCreate' => ['title' => '创建时间d', 'description' => '作品创建的毫秒级时间戳。', 'type' => 'string', 'example' => '1496651577000'], + 'GmtModify' => ['title' => '修改时间', 'description' => '作品修改的毫秒级时间戳。', 'type' => 'string', 'example' => '1496651577000'], + 'ModifyName' => ['title' => '修改显示名称', 'description' => '作品修改者的阿里云账户名。', 'type' => 'string', 'example' => '张三'], + 'OwnerId' => ['title' => '所有者Id', 'description' => '作品所有者在Quick BI的UserID。', 'type' => 'string', 'example' => '9187a612aa474e2a8ac1414d5529****'], + 'OwnerName' => ['title' => '所有者显示名称', 'description' => '作品所有者的阿里云账户名。', 'type' => 'string', 'example' => '张三'], + 'PublicFlag' => ['description' => '是否公开', 'type' => 'boolean', 'example' => 'true'], + 'PublicInvalidTime' => ['description' => '报表公开的截止日期', 'type' => 'integer', 'format' => 'int64', 'example' => '1721366354000'], + 'SecurityLevel' => ['title' => '安全策略:0 私有 1 协同编辑。 (', 'description' => '作品协同授权的安全策略。取值:'."\n" + .'- 0:私密'."\n" + .'- 12:授权指定成员'."\n" + .'- 1或11:授权所有空间成员'."\n" + ."\n" + .'>- 若您使用旧版权限,则返回值为1。'."\n" + .'>- 若您使用新版权限,则返回值为11。', 'type' => 'string', 'example' => '0'], + 'Status' => ['title' => '报表发布状态 @PublishStatusEnum', 'description' => '报表状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'WorkName' => ['title' => '作品名称', 'description' => '作品名称。', 'type' => 'string', 'example' => '测试报表'], + 'WorkType' => ['title' => '作品类型', 'description' => '查询作品的类型,填空为查询所有类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- FULLPAGE:全屏仪表板'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数', 'type' => 'string', 'example' => 'PAGE'], + 'WorksId' => ['title' => '作品ID', 'description' => '作品ID。', 'type' => 'string', 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], + 'WorkspaceId' => ['title' => '所属工作空间', 'description' => '作品所属工作空间的ID。', 'type' => 'string', 'example' => '87c6b145-090c-43e1-9426-8f93be23****'], + 'WorkspaceName' => ['title' => '所属空间名称', 'description' => '作品所属工作空间名称。', 'type' => 'string', 'example' => '测试空间'], ], ], ], @@ -20864,33 +11419,16 @@ ], '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' => '', - ], + ['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' => '查询数据作品信息', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-06-27T01:51:43.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-06-27T01:51:43.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -20900,12 +11438,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -20913,13 +11446,8 @@ ], 'QueryWorksBloodRelationship' => [ 'summary' => '获取数据作品的血缘关系,包括各组件引用的数据集以及查询字段信息。目前仅支持的数据作品包含仪表板、电子表格、自助取数。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20927,24 +11455,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'title' => '报表ID', - 'description' => '数据作品的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'abcd****', - ], + 'schema' => ['title' => '报表ID', 'description' => '数据作品的ID。', 'type' => 'string', 'required' => true, 'example' => 'abcd****'], ], ], 'responses' => [ @@ -20953,19 +11469,11 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '作品血缘信息列表。', 'type' => 'array', @@ -20973,41 +11481,12 @@ 'description' => '作品血缘详情信息。', 'type' => 'object', 'properties' => [ - 'ComponentId' => [ - 'title' => '组件ID or sheetId', - 'description' => '组件ID。', - 'type' => 'string', - 'example' => '0696083a-ca72-4d89-8e7a-c017910e0***', - ], - 'ComponentName' => [ - 'description' => '组件名称。', - 'type' => 'string', - 'example' => '线图', - ], - 'ComponentType' => [ - 'title' => '组件类型', - 'description' => '组件类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ComponentTypeName' => [ - 'description' => '组件类型名称。', - 'type' => 'string', - 'example' => 'LINE', - ], - 'ComponentTypeCnName' => [ - 'title' => '组件类型中文名称', - 'description' => '组件类型中文名称。', - 'type' => 'string', - 'example' => '交叉表', - ], - 'DatasetId' => [ - 'title' => '数据集ID', - 'description' => '数据集ID。', - 'type' => 'string', - 'example' => 'dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record', - ], + 'ComponentId' => ['title' => '组件ID or sheetId', 'description' => '组件ID。', 'type' => 'string', 'example' => '0696083a-ca72-4d89-8e7a-c017910e0***'], + 'ComponentName' => ['description' => '组件名称。', 'type' => 'string', 'example' => '线图'], + 'ComponentType' => ['title' => '组件类型', 'description' => '组件类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'ComponentTypeName' => ['description' => '组件类型名称。', 'type' => 'string', 'example' => 'LINE'], + 'ComponentTypeCnName' => ['title' => '组件类型中文名称', 'description' => '组件类型中文名称。', 'type' => 'string', 'example' => '交叉表'], + 'DatasetId' => ['title' => '数据集ID', 'description' => '数据集ID。', 'type' => 'string', 'example' => 'dc78a4ed-880d-452e-b017-90cfc10c83e5_company_sales_record'], 'QueryParams' => [ 'title' => '查询参数引用的列信息', 'description' => '查询参数引用列的列表。', @@ -21016,67 +11495,28 @@ 'description' => '字段信息。', 'type' => 'object', 'properties' => [ - 'AreaId' => [ - 'title' => '所属位置:', - 'description' => '所属位置ID。', - 'type' => 'string', - 'example' => 'area_column', - ], - 'AreaName' => [ - 'description' => '所属位置名称。', - 'type' => 'string', - 'example' => '列(度量)', - ], - 'Caption' => [ - 'title' => '字段显示名称', - 'description' => '字段原名。', - 'type' => 'string', - 'example' => 'order_number', - ], - 'DataType' => [ - 'title' => '字段类型', - 'description' => '字段类型。取值范围:'."\n" - ."\n" - .'- string:字符串类型'."\n" - .'- date:仅包含年月日部分的日期类型'."\n" - .'- datetime:通用日期类型'."\n" - .'- time:仅包含时分秒部分的日期类型'."\n" - .'- number:数值类型'."\n" - .'- boolean:布尔类型'."\n" - .'- geographic:地理位置'."\n" - .'- url:字符串类型'."\n" - .'- imageUrl:图片链接类型'."\n" - .'- multivalue:多值列', - 'type' => 'string', - 'example' => 'number', - ], - 'IsMeasure' => [ - 'title' => '是否是度量', - 'description' => '是否是度量。取值范围:'."\n" - ."\n" - .'true:是'."\n" - .'false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'PathId' => [ - 'title' => '全局唯一的PathId。位于cube的level中pathId', - 'description' => '全局唯一的PathId。', - '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' => '字段唯一ID。即cube中的name', - 'description' => '字段唯一ID。', - 'type' => 'string', - 'example' => 'Ndc78a4_order_number', - ], - 'Expression' => [ - 'title' => '计算字段表达式', - 'description' => '计算字段表达式。', - 'type' => 'string', - 'example' => 'BI_DATEADD([时间], 100, \'day\')', - ], + 'AreaId' => ['title' => '所属位置:', 'description' => '所属位置ID。', 'type' => 'string', 'example' => 'area_column'], + 'AreaName' => ['description' => '所属位置名称。', 'type' => 'string', 'example' => '列(度量)'], + 'Caption' => ['title' => '字段显示名称', 'description' => '字段原名。', 'type' => 'string', 'example' => 'order_number'], + 'DataType' => ['title' => '字段类型', 'description' => '字段类型。取值范围:'."\n" + ."\n" + .'- string:字符串类型'."\n" + .'- date:仅包含年月日部分的日期类型'."\n" + .'- datetime:通用日期类型'."\n" + .'- time:仅包含时分秒部分的日期类型'."\n" + .'- number:数值类型'."\n" + .'- boolean:布尔类型'."\n" + .'- geographic:地理位置'."\n" + .'- url:字符串类型'."\n" + .'- imageUrl:图片链接类型'."\n" + .'- multivalue:多值列', 'type' => 'string', 'example' => 'number'], + 'IsMeasure' => ['title' => '是否是度量', 'description' => '是否是度量。取值范围:'."\n" + ."\n" + .'true:是'."\n" + .'false:否', 'type' => 'boolean', 'example' => 'true'], + 'PathId' => ['title' => '全局唯一的PathId。位于cube的level中pathId', 'description' => '全局唯一的PathId。', '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' => '字段唯一ID。即cube中的name', 'description' => '字段唯一ID。', 'type' => 'string', 'example' => 'Ndc78a4_order_number'], + 'Expression' => ['title' => '计算字段表达式', 'description' => '计算字段表达式。', 'type' => 'string', 'example' => 'BI_DATEADD([时间], 100, \'day\')'], ], ], ], @@ -21089,21 +11529,9 @@ ], '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' => '', - ], + ['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":""}]', @@ -21117,12 +11545,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -21130,13 +11553,8 @@ ], 'QueryWorksByOrganization' => [ 'summary' => '查询整个组织下的所有作品,可指定作品类型。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21144,95 +11562,49 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksType', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品的类型,填空为查询所有类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'PAGE', - ], + 'schema' => ['description' => '查询作品的类型,填空为查询所有类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'PAGE'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '查询作品的状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '0', - ], + 'schema' => ['description' => '查询作品的状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '0'], ], [ 'name' => 'ThirdPartAuthFlag', 'in' => 'query', - 'schema' => [ - 'description' => '第三方嵌入状态。取值范围:'."\n" - ."\n" - .'- 0:暂未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => '第三方嵌入状态。取值范围:'."\n" + ."\n" + .'- 0:暂未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '页码。'."\n" - ."\n" - .'- 默认值1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '99999999', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '页码。'."\n" + ."\n" + .'- 默认值1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '99999999', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页行数。'."\n" - ."\n" - .'- 默认值10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '每页行数。'."\n" + ."\n" + .'- 默认值10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -21240,19 +11612,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回组织下所有符合请求条件的作品列表。', 'type' => 'object', @@ -21263,161 +11627,58 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Auth3rdFlag' => [ - 'description' => '第三方嵌入状态。取值范围:'."\n" - ."\n" - .'- 0:暂未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Description' => [ - 'description' => '作品备注。', - 'type' => 'string', - 'example' => '备注', - ], + 'Auth3rdFlag' => ['description' => '第三方嵌入状态。取值范围:'."\n" + ."\n" + .'- 0:暂未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Description' => ['description' => '作品备注。', 'type' => 'string', 'example' => '备注'], 'Directory' => [ 'description' => '作品所属目录。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '所属目录ID。', - 'type' => 'string', - 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', - ], - 'Name' => [ - 'description' => '所属目录名称。', - 'type' => 'string', - 'example' => '测试目录', - ], - 'PathId' => [ - 'description' => '所属目录ID的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', - ], - 'PathName' => [ - 'description' => '所属目录名称的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '测试目录', - ], + 'Id' => ['description' => '所属目录ID。', 'type' => 'string', 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****'], + 'Name' => ['description' => '所属目录名称。', 'type' => 'string', 'example' => '测试目录'], + 'PathId' => ['description' => '所属目录ID的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****'], + 'PathName' => ['description' => '所属目录名称的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '测试目录'], ], ], - 'GmtCreate' => [ - 'description' => '作品创建的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1496651577000', - ], - 'GmtModify' => [ - 'description' => '作品修改的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1572334870000', - ], - 'ModifyName' => [ - 'description' => '作品修改者的阿里云账户名。', - 'type' => 'string', - 'example' => '张三', - ], - 'OwnerId' => [ - 'description' => '作品所有者在Quick BI的UserID。', - 'type' => 'string', - 'example' => '作品所属工作空间名称。', - ], - 'OwnerName' => [ - 'description' => '作品所有者的阿里云账户名。', - 'type' => 'string', - 'example' => '李四', - ], - 'PublicFlag' => [ - 'description' => '是否公开', - 'type' => 'boolean', - 'example' => 'true', - ], - 'PublicInvalidTime' => [ - 'description' => '报表公开的截止日期', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1721366354000', - ], - 'SecurityLevel' => [ - 'description' => '作品协同授权的安全策略。取值:'."\n" - .'- 0:私密'."\n" - .'- 12:授权指定成员'."\n" - .'- 1或11:授权所有空间成员'."\n" - ."\n" - .'>- 若您使用旧版权限,则返回值为1。'."\n" - .'>- 若您使用新版权限,则返回值为11。', - 'type' => 'string', - 'example' => '1', - ], - 'Status' => [ - 'description' => '报表状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'WorkName' => [ - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'WorkType' => [ - 'description' => '作品类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'WorksId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '897ce25e-****-****-af84-d13c5610****', - ], - 'WorkspaceId' => [ - 'description' => '作品所属工作空间的ID。', - 'type' => 'string', - 'example' => '作品修改者的阿里云账户名。', - ], - 'WorkspaceName' => [ - 'description' => '作品所属工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'GmtCreate' => ['description' => '作品创建的毫秒级时间戳。', 'type' => 'string', 'example' => '1496651577000'], + 'GmtModify' => ['description' => '作品修改的毫秒级时间戳。', 'type' => 'string', 'example' => '1572334870000'], + 'ModifyName' => ['description' => '作品修改者的阿里云账户名。', 'type' => 'string', 'example' => '张三'], + 'OwnerId' => ['description' => '作品所有者在Quick BI的UserID。', 'type' => 'string', 'example' => '作品所属工作空间名称。'], + 'OwnerName' => ['description' => '作品所有者的阿里云账户名。', 'type' => 'string', 'example' => '李四'], + 'PublicFlag' => ['description' => '是否公开', 'type' => 'boolean', 'example' => 'true'], + 'PublicInvalidTime' => ['description' => '报表公开的截止日期', 'type' => 'integer', 'format' => 'int64', 'example' => '1721366354000'], + 'SecurityLevel' => ['description' => '作品协同授权的安全策略。取值:'."\n" + .'- 0:私密'."\n" + .'- 12:授权指定成员'."\n" + .'- 1或11:授权所有空间成员'."\n" + ."\n" + .'>- 若您使用旧版权限,则返回值为1。'."\n" + .'>- 若您使用新版权限,则返回值为11。', 'type' => 'string', 'example' => '1'], + 'Status' => ['description' => '报表状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'WorkName' => ['description' => '作品名称。', 'type' => 'string', 'example' => '测试报表'], + 'WorkType' => ['description' => '作品类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数', 'type' => 'string', 'example' => 'PAGE'], + 'WorksId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '897ce25e-****-****-af84-d13c5610****'], + 'WorkspaceId' => ['description' => '作品所属工作空间的ID。', 'type' => 'string', 'example' => '作品修改者的阿里云账户名。'], + 'WorkspaceName' => ['description' => '作品所属工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -21436,12 +11697,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -21449,14 +11705,8 @@ ], 'QueryWorksByWorkspace' => [ 'summary' => '查询组织下某个工作空间下的所有作品,可指定作品类型。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21464,106 +11714,54 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89713491-cb4f-4579-b889-e82c35f1****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89713491-cb4f-4579-b889-e82c35f1****'], ], [ 'name' => 'WorksType', 'in' => 'query', - 'schema' => [ - 'description' => '作品类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- FULLPAGE:全屏仪表板'."\n" - .'- REPORT:电子表格', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'PAGE', - ], + 'schema' => ['description' => '作品类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- FULLPAGE:全屏仪表板'."\n" + .'- REPORT:电子表格', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'PAGE'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '作品状态。取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '0', - ], + 'schema' => ['description' => '作品状态。取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '0'], ], [ 'name' => 'ThirdPartAuthFlag', 'in' => 'query', - 'schema' => [ - 'description' => '第三方嵌入状态。取值范围:'."\n" - ."\n" - .'- 0:暂未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '0', - ], + 'schema' => ['description' => '第三方嵌入状态。取值范围:'."\n" + ."\n" + .'- 0:暂未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '0'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '页码。'."\n" - ."\n" - .'- 默认值1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '99999999', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '页码。'."\n" + ."\n" + .'- 默认值1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '99999999', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页行数。'."\n" - ."\n" - .'- 默认值10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '每页行数。'."\n" + ."\n" + .'- 默认值10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -21571,19 +11769,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回组织工作空间下所有符合请求条件的作品列表。', 'type' => 'object', @@ -21594,164 +11784,61 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Auth3rdFlag' => [ - 'description' => '第三方嵌入状态。取值范围:'."\n" - ."\n" - .'- 0:暂未开通嵌入'."\n" - .'- 1:已开通嵌入', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Description' => [ - 'description' => '作品备注。', - 'type' => 'string', - 'example' => '备注', - ], + 'Auth3rdFlag' => ['description' => '第三方嵌入状态。取值范围:'."\n" + ."\n" + .'- 0:暂未开通嵌入'."\n" + .'- 1:已开通嵌入', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Description' => ['description' => '作品备注。', 'type' => 'string', 'example' => '备注'], 'Directory' => [ 'description' => '作品所属目录。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '所属目录ID。', - 'type' => 'string', - 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', - ], - 'Name' => [ - 'description' => '所属目录名称。', - 'type' => 'string', - 'example' => '所属目录名称。', - ], - 'PathId' => [ - 'description' => '所属目录ID的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****', - ], - 'PathName' => [ - 'description' => '所属目录名称的层级结构,以『/』分隔。', - 'type' => 'string', - 'example' => '测试目录', - ], + 'Id' => ['description' => '所属目录ID。', 'type' => 'string', 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****'], + 'Name' => ['description' => '所属目录名称。', 'type' => 'string', 'example' => '所属目录名称。'], + 'PathId' => ['description' => '所属目录ID的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '83d37ba6-d909-48a2-a517-f4d05c3a****'], + 'PathName' => ['description' => '所属目录名称的层级结构,以『/』分隔。', 'type' => 'string', 'example' => '测试目录'], ], ], - 'GmtCreate' => [ - 'description' => '作品创建的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1496651577000', - ], - 'GmtModify' => [ - 'description' => '作品修改的毫秒级时间戳。', - 'type' => 'string', - 'example' => '1572334870000', - ], - 'ModifyName' => [ - 'description' => '作品修改者的昵称。', - 'type' => 'string', - 'example' => '张三', - ], - 'OwnerId' => [ - 'description' => '作品所有者在Quick BI的UserID。', - 'type' => 'string', - 'example' => '作品所属工作空间名称。', - ], - 'OwnerName' => [ - 'description' => '作品所有者的昵称。', - 'type' => 'string', - 'example' => '李四', - ], - 'PublicFlag' => [ - 'description' => '是否公开', - 'type' => 'boolean', - 'example' => 'true', - ], - 'PublicInvalidTime' => [ - 'description' => '报表公开的截止日期', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1721366354000', - ], - 'SecurityLevel' => [ - 'description' => '作品协同授权的安全策略。取值:'."\n" - .'- 0:私密'."\n" - .'- 12:授权指定成员'."\n" - .'- 1或11:授权所有空间成员'."\n" - ."\n" - .'>- 若您使用旧版权限,则返回值为1。'."\n" - .'>- 若您使用新版权限,则返回值为11。', - 'type' => 'string', - 'example' => '0', - ], - 'Status' => [ - 'description' => '仪表板,全屏仪表板,电子表格的状态。其他作品类型默认为1,取值范围:'."\n" - ."\n" - .'- 0:未发布'."\n" - .'- 1:已发布'."\n" - .'- 2:已修改未发布'."\n" - .'- 3:已下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'WorkName' => [ - 'description' => '作品名称。', - 'type' => 'string', - 'example' => '测试报表', - ], - 'WorkType' => [ - 'description' => '作品类型。取值范围:'."\n" - ."\n" - .'- DATAPRODUCT:数据门户'."\n" - .'- PAGE:仪表板'."\n" - .'- FULLPAGE:全屏仪表板'."\n" - .'- REPORT:电子表格'."\n" - .'- dashboardOfflineQuery:自助取数'."\n" - .'- ANALYSIS:即席分析'."\n" - .'- DATAFORM:表单填报', - 'type' => 'string', - 'example' => 'PAGE', - ], - 'WorksId' => [ - 'description' => '作品ID。', - 'type' => 'string', - 'example' => '897ce25e-f993-4abd-af84-d13c5610****', - ], - 'WorkspaceId' => [ - 'description' => '作品所属工作空间的ID。', - 'type' => 'string', - 'example' => '87c6b145-090c-43e1-9426-8f93be23****', - ], - 'WorkspaceName' => [ - 'description' => '作品所属工作空间名称。', - 'type' => 'string', - 'example' => '测试工作空间', - ], + 'GmtCreate' => ['description' => '作品创建的毫秒级时间戳。', 'type' => 'string', 'example' => '1496651577000'], + 'GmtModify' => ['description' => '作品修改的毫秒级时间戳。', 'type' => 'string', 'example' => '1572334870000'], + 'ModifyName' => ['description' => '作品修改者的昵称。', 'type' => 'string', 'example' => '张三'], + 'OwnerId' => ['description' => '作品所有者在Quick BI的UserID。', 'type' => 'string', 'example' => '作品所属工作空间名称。'], + 'OwnerName' => ['description' => '作品所有者的昵称。', 'type' => 'string', 'example' => '李四'], + 'PublicFlag' => ['description' => '是否公开', 'type' => 'boolean', 'example' => 'true'], + 'PublicInvalidTime' => ['description' => '报表公开的截止日期', 'type' => 'integer', 'format' => 'int64', 'example' => '1721366354000'], + 'SecurityLevel' => ['description' => '作品协同授权的安全策略。取值:'."\n" + .'- 0:私密'."\n" + .'- 12:授权指定成员'."\n" + .'- 1或11:授权所有空间成员'."\n" + ."\n" + .'>- 若您使用旧版权限,则返回值为1。'."\n" + .'>- 若您使用新版权限,则返回值为11。', 'type' => 'string', 'example' => '0'], + 'Status' => ['description' => '仪表板,全屏仪表板,电子表格的状态。其他作品类型默认为1,取值范围:'."\n" + ."\n" + .'- 0:未发布'."\n" + .'- 1:已发布'."\n" + .'- 2:已修改未发布'."\n" + .'- 3:已下线', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'WorkName' => ['description' => '作品名称。', 'type' => 'string', 'example' => '测试报表'], + 'WorkType' => ['description' => '作品类型。取值范围:'."\n" + ."\n" + .'- DATAPRODUCT:数据门户'."\n" + .'- PAGE:仪表板'."\n" + .'- FULLPAGE:全屏仪表板'."\n" + .'- REPORT:电子表格'."\n" + .'- dashboardOfflineQuery:自助取数'."\n" + .'- ANALYSIS:即席分析'."\n" + .'- DATAFORM:表单填报', 'type' => 'string', 'example' => 'PAGE'], + 'WorksId' => ['description' => '作品ID。', 'type' => 'string', 'example' => '897ce25e-f993-4abd-af84-d13c5610****'], + 'WorkspaceId' => ['description' => '作品所属工作空间的ID。', 'type' => 'string', 'example' => '87c6b145-090c-43e1-9426-8f93be23****'], + 'WorkspaceName' => ['description' => '作品所属工作空间名称。', 'type' => 'string', 'example' => '测试工作空间'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -21770,12 +11857,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -21783,13 +11865,8 @@ ], 'QueryWorkspaceRoleConfig' => [ 'summary' => '获取指定空间角色的配置。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21797,31 +11874,18 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'RoleId', 'in' => 'query', - 'schema' => [ - 'description' => '空间角色ID,包括预置角色和自定义角色:'."\n" - ."\n" - .'- 25:空间管理员(预置角色)'."\n" - .'- 26:开发者(预置角色)'."\n" - .'- 27:分析者(预置角色)'."\n" - .'- 30:阅览者(预置角色)'."\n" - .'- 自定义角色:自定义角色对应的角色ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '25', - ], + 'schema' => ['description' => '空间角色ID,包括预置角色和自定义角色:'."\n" + ."\n" + .'- 25:空间管理员(预置角色)'."\n" + .'- 26:开发者(预置角色)'."\n" + .'- 27:分析者(预置角色)'."\n" + .'- 30:阅览者(预置角色)'."\n" + .'- 自定义角色:自定义角色对应的角色ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '25'], ], ], 'responses' => [ @@ -21829,11 +11893,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], 'Result' => [ 'description' => '返回接口查询结果。', 'type' => 'object', @@ -21848,88 +11908,56 @@ 'ActionAuthKeys' => [ 'description' => '权限范围。', 'type' => 'array', - 'items' => [ - 'description' => '具体的权限:'."\n" - .'- edit:新建'."\n" - .'- use:使用'."\n" - .'- list:展示列表', - 'type' => 'string', - 'example' => 'edit', - ], - ], - 'AuthKey' => [ - 'description' => '权限类型:'."\n" - .'- portal_create:数据门户'."\n" - .'- dashboard_create:仪表板'."\n" - .'- report_create:电子表格'."\n" - .'- screen_create:数据大屏'."\n" - .'- analysis:即席分析'."\n" - .'- offline_download:自助取数'."\n" - .'- data_form:数据填报'."\n" - .'- quick_etl:数据准备'."\n" - .'- cube:数据集'."\n" - .'- datasource:数据源', - 'type' => 'string', - 'example' => 'portal_create', - ], + 'items' => ['description' => '具体的权限:'."\n" + .'- edit:新建'."\n" + .'- use:使用'."\n" + .'- list:展示列表', 'type' => 'string', 'example' => 'edit'], + ], + 'AuthKey' => ['description' => '权限类型:'."\n" + .'- portal_create:数据门户'."\n" + .'- dashboard_create:仪表板'."\n" + .'- report_create:电子表格'."\n" + .'- screen_create:数据大屏'."\n" + .'- analysis:即席分析'."\n" + .'- offline_download:自助取数'."\n" + .'- data_form:数据填报'."\n" + .'- quick_etl:数据准备'."\n" + .'- cube:数据集'."\n" + .'- datasource:数据源', 'type' => 'string', 'example' => 'portal_create'], ], ], ], - 'IsSystemRole' => [ - 'description' => '是否是预置角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RoleId' => [ - 'description' => '空间角色ID,包括预置角色和自定义角色:'."\n" - ."\n" - .'- 25:空间管理员(预置角色)'."\n" - .'- 26:开发者(预置角色)'."\n" - .'- 27:分析者(预置角色)'."\n" - .'- 30:阅览者(预置角色)'."\n" - .'- 自定义角色:自定义角色对应的角色ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '25', - ], - 'RoleName' => [ - 'description' => '角色名称。', - 'type' => 'string', - 'example' => '空间管理员', - ], + 'IsSystemRole' => ['description' => '是否是预置角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否', 'type' => 'boolean', 'example' => 'true'], + 'RoleId' => ['description' => '空间角色ID,包括预置角色和自定义角色:'."\n" + ."\n" + .'- 25:空间管理员(预置角色)'."\n" + .'- 26:开发者(预置角色)'."\n" + .'- 27:分析者(预置角色)'."\n" + .'- 30:阅览者(预置角色)'."\n" + .'- 自定义角色:自定义角色对应的角色ID', 'type' => 'integer', 'format' => 'int64', 'example' => '25'], + 'RoleName' => ['description' => '角色名称。', 'type' => 'string', 'example' => '空间管理员'], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'User.Role.NotExist', - 'errorMessage' => 'User role not exist: %s.', - 'description' => '', - ], + ['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' => '获取指定空间角色的配置信息', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], ], 'ramActions' => [ [ @@ -21939,12 +11967,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -21952,13 +11975,8 @@ ], 'QueryWorkspaceUserList' => [ 'summary' => '查询指定工作空间下的成员列表信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21966,71 +11984,33 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间成员用户名的关键字。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '分析', - ], + 'schema' => ['description' => '工作空间成员用户名的关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '分析'], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间成员列表的当前页码:'."\n" - ."\n" - .'- 起始值:1'."\n" - .'- 默认值:1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '工作空间成员列表的当前页码:'."\n" + ."\n" + .'- 起始值:1'."\n" + .'- 默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000000', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的每页行数:'."\n" - ."\n" - .'- 默认值:10'."\n" - .'- 最大值:1000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '分页查询时的每页行数:'."\n" + ."\n" + .'- 默认值:10'."\n" + .'- 最大值:1000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -22038,19 +12018,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], 'Result' => [ 'description' => '返回成员列表的分页结果,成员的详细信息列表存放在返回参数Data中。', 'type' => 'object', @@ -22061,80 +12033,31 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => '阿里云账号ID。', - 'type' => 'string', - 'example' => '16020915****8429', - ], - 'AccountName' => [ - 'description' => '阿里云账号名称。', - 'type' => 'string', - 'example' => 'pop****@aliyunid.test', - ], - 'NickName' => [ - 'description' => '昵称。', - 'type' => 'string', - 'example' => '我就是那个分析师大神', - ], + 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '16020915****8429'], + 'AccountName' => ['description' => '阿里云账号名称。', 'type' => 'string', 'example' => 'pop****@aliyunid.test'], + 'NickName' => ['description' => '昵称。', 'type' => 'string', 'example' => '我就是那个分析师大神'], 'Role' => [ 'description' => '空间成员的预置空间角色信息。', 'type' => 'object', 'properties' => [ - 'RoleCode' => [ - 'description' => '预置角色对应的编码。', - 'type' => 'string', - 'example' => 'role_workspace_admin', - ], - 'RoleId' => [ - 'description' => '预置角色ID。取值范围:'."\n" - ."\n" - .'- 25:空间管理员'."\n" - .'- 26:空间开发者'."\n" - .'- 27:空间分析师'."\n" - .'- 30:空间查看者', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '25', - ], - 'RoleName' => [ - 'description' => '预置角色的名称。', - 'type' => 'string', - 'example' => '管理员', - ], + 'RoleCode' => ['description' => '预置角色对应的编码。', 'type' => 'string', 'example' => 'role_workspace_admin'], + 'RoleId' => ['description' => '预置角色ID。取值范围:'."\n" + ."\n" + .'- 25:空间管理员'."\n" + .'- 26:空间开发者'."\n" + .'- 27:空间分析师'."\n" + .'- 30:空间查看者', 'type' => 'integer', 'format' => 'int64', 'example' => '25'], + 'RoleName' => ['description' => '预置角色的名称。', 'type' => 'string', 'example' => '管理员'], ], ], - 'UserId' => [ - 'description' => 'Quick BI用户ID。', - 'type' => 'string', - 'example' => 'de4bc5f9429141cc8091cdd1c15b****', - ], + 'UserId' => ['description' => 'Quick BI用户ID。', 'type' => 'string', 'example' => 'de4bc5f9429141cc8091cdd1c15b****'], ], ], ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '请求接口时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalNum' => [ - 'description' => '总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '请求接口时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalNum' => ['description' => '总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -22143,16 +12066,8 @@ ], '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.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":""}]', @@ -22166,12 +12081,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -22179,13 +12089,8 @@ ], 'ResultCallback' => [ 'summary' => '自定义审批流回调接口,用户自行对Quick BI的审批流进行处理。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22193,50 +12098,25 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'ApplicationId', 'in' => 'query', - 'schema' => [ - 'description' => '审批流的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c5ea0db8-****-****-9081-04bc0df4c6a3', - ], + 'schema' => ['description' => '审批流的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c5ea0db8-****-****-9081-04bc0df4c6a3'], ], [ 'name' => 'HandleReason', 'in' => 'query', - 'schema' => [ - 'description' => '审批理由。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '你不是A部门分析师。', - ], + 'schema' => ['description' => '审批理由。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '你不是A部门分析师。'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '审批结果:'."\n" - ."\n" - .'- 1:通过'."\n" - .'- 2:拒绝', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '审批结果:'."\n" + ."\n" + .'- 1:通过'."\n" + .'- 2:拒绝', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], ], 'responses' => [ @@ -22244,43 +12124,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Application.RecordClosed', - 'errorMessage' => 'The closed application record cannot be operated.', - 'description' => '', - ], - [ - 'errorCode' => 'Application.NotExist', - 'errorMessage' => 'The application is not exists.', - 'description' => '', - ], + ['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"}]', @@ -22294,12 +12154,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -22307,13 +12162,8 @@ ], 'SaveFavorites' => [ 'summary' => '添加用户的收藏数据作品。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22321,35 +12171,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '收藏作品的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '121344444790****', - ], + 'schema' => ['description' => '收藏作品的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '121344444790****'], ], [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'description' => '收藏作品的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'd23e84a1-82a0-4292-bfdb-521306c3****', - ], + 'schema' => ['description' => '收藏作品的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd23e84a1-82a0-4292-bfdb-521306c3****'], ], ], 'responses' => [ @@ -22357,53 +12189,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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":""}]', @@ -22417,12 +12221,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -22430,13 +12229,8 @@ ], 'SetDataLevelPermissionExtraConfig' => [ 'summary' => '设置行列权限的额外配置。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22444,52 +12238,28 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-******-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-******-3c744528014b'], ], [ 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => '数据集行列权限类型。取值范围:'."\n" - ."\n" - .'- ROW_LEVEL:行级权限'."\n" - .'- COLUMN_LEVEL:列级权限', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ROW_LEVEL', - ], + 'schema' => ['description' => '数据集行列权限类型。取值范围:'."\n" + ."\n" + .'- ROW_LEVEL:行级权限'."\n" + .'- COLUMN_LEVEL:列级权限', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ROW_LEVEL'], ], [ 'name' => 'MissHitPolicy', 'in' => 'query', - 'schema' => [ - 'description' => '未命中规则时的策略:'."\n" - ."\n" - .'- NONE:无权限'."\n" - .'- ALL:拥有所有权限', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NONE', - ], + 'schema' => ['description' => '未命中规则时的策略:'."\n" + ."\n" + .'- NONE:无权限'."\n" + .'- ALL:拥有所有权限', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NONE'], ], ], 'responses' => [ @@ -22497,63 +12267,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B70E1FBD-E533-52F2-A7A1-E02B92F78DDF', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B70E1FBD-E533-52F2-A7A1-E02B92F78DDF'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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":""}]', @@ -22568,12 +12302,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -22581,13 +12310,8 @@ ], 'SetDataLevelPermissionRuleConfig' => [ 'summary' => '设置单条数据集行列权限配置信息(新增和更新)。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22595,67 +12319,55 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'RuleModel', 'in' => 'query', - 'schema' => [ - 'description' => '{'."\n" - ."\n" - .' "rule": "a5bb24da-****-a891683e14da", // 行列权限规则的ID,当传入时为修改行级权限规则,否则新增'."\n" - .' "cubeId": "7c7223ae-****-3c744528014b", // 数据集ID'."\n" - .' "ruleName": "测试行级权限", // 行级权限规则的名称'."\n" - .' "ruleLevelType": "ROW_LEVEL", // 行级权限类型:ROW_LEVEL:行级权限,COLUMN_LEVEL:列级权限'."\n" - .' "ruleTargetScope": "ALL", // 行级权限规则针对的人群:1:所有人,2:指定人'."\n" - .' "hitTakeEffect": 1, //命中后规则生效还是不生效(针对列级权限):1:生效 (默认生效),0:不生效'."\n" - .' "ruleUsersModel": {'."\n" - .' "userGroups": ['."\n" - .' "9bd2c6440ac542****589f16bf12ca8178dd", // 用户组人群的用户组ID'."\n" - .' "0d5fb19b-****-1248fc27ca51",'."\n" - .' "3d2c23d4-****-f6390f325c2d"'."\n" - .' ],'."\n" - .' "users": ['."\n" - .' "43342****3784358", // 用户人群的UserID'."\n" - .' "Huang****2e3fa822"'."\n" - .' ]'."\n" - .' },'."\n" - .' "ruleContentModel": {'."\n" - .' "ruleContentType": "ROW_FIELD", // 行列权限的规则类型'."\n" - .' "ruleContentJson": "{\\"conditionNode\\":{\\"caption\\":\\"周期\\",\\"isMeasure\\":false,\\"pathId\\":\\"7d3b***bc6\\",\\"relationOperator\\":\\"not-null\\",\\"name\\":\\"7d3b***bc6\\",\\"value\\":{\\"value\\":[\\"\\"],\\"valueType\\":\\"ENUM\\"}}}", // 规则的JSON字符串'."\n" - .' "ruleOriginConfigJson": "{\\"operator\\":\\"and\\",\\"operands\\":[{\\"labelName\\":\\"周期\\",\\"isValid\\":true,\\"uniqueId\\":\\"5\\",\\"fieldId\\":\\"7d3b***bc6\\",\\"error\\":false,\\"fieldType\\":\\"string\\",\\"defaultValue\\":{\\"selectType\\":\\"condition\\",\\"value\\":{\\"conditionOp\\":\\"not-null\\",\\"conditionValue\\":\\"\\"},\\"valueType\\":\\"ENUM\\"}}],\\"isRelation\\":true}" // 前端模板要是用的JSON结果(行级权限专用)'."\n" - .' },'."\n" - .' "rowLevelEffectiveMode": ""SINGLE_ROW" //多行标签计算方式'."\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" - .'}', - ], + 'schema' => ['description' => '{'."\n" + ."\n" + .' "rule": "a5bb24da-****-a891683e14da", // 行列权限规则的ID,当传入时为修改行级权限规则,否则新增'."\n" + .' "cubeId": "7c7223ae-****-3c744528014b", // 数据集ID'."\n" + .' "ruleName": "测试行级权限", // 行级权限规则的名称'."\n" + .' "ruleLevelType": "ROW_LEVEL", // 行级权限类型:ROW_LEVEL:行级权限,COLUMN_LEVEL:列级权限'."\n" + .' "ruleTargetScope": "ALL", // 行级权限规则针对的人群:1:所有人,2:指定人'."\n" + .' "hitTakeEffect": 1, //命中后规则生效还是不生效(针对列级权限):1:生效 (默认生效),0:不生效'."\n" + .' "ruleUsersModel": {'."\n" + .' "userGroups": ['."\n" + .' "9bd2c6440ac542****589f16bf12ca8178dd", // 用户组人群的用户组ID'."\n" + .' "0d5fb19b-****-1248fc27ca51",'."\n" + .' "3d2c23d4-****-f6390f325c2d"'."\n" + .' ],'."\n" + .' "users": ['."\n" + .' "43342****3784358", // 用户人群的UserID'."\n" + .' "Huang****2e3fa822"'."\n" + .' ]'."\n" + .' },'."\n" + .' "ruleContentModel": {'."\n" + .' "ruleContentType": "ROW_FIELD", // 行列权限的规则类型'."\n" + .' "ruleContentJson": "{\\"conditionNode\\":{\\"caption\\":\\"周期\\",\\"isMeasure\\":false,\\"pathId\\":\\"7d3b***bc6\\",\\"relationOperator\\":\\"not-null\\",\\"name\\":\\"7d3b***bc6\\",\\"value\\":{\\"value\\":[\\"\\"],\\"valueType\\":\\"ENUM\\"}}}", // 规则的JSON字符串'."\n" + .' "ruleOriginConfigJson": "{\\"operator\\":\\"and\\",\\"operands\\":[{\\"labelName\\":\\"周期\\",\\"isValid\\":true,\\"uniqueId\\":\\"5\\",\\"fieldId\\":\\"7d3b***bc6\\",\\"error\\":false,\\"fieldType\\":\\"string\\",\\"defaultValue\\":{\\"selectType\\":\\"condition\\",\\"value\\":{\\"conditionOp\\":\\"not-null\\",\\"conditionValue\\":\\"\\"},\\"valueType\\":\\"ENUM\\"}}],\\"isRelation\\":true}" // 前端模板要是用的JSON结果(行级权限专用)'."\n" + .' },'."\n" + .' "rowLevelEffectiveMode": ""SINGLE_ROW" //多行标签计算方式'."\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" + .'}'], ], ], 'responses' => [ @@ -22663,42 +12375,30 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '保存成功的行列权限信息。', - '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" - .'}', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '保存成功的行列权限信息。', '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" + .'}'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -22706,78 +12406,28 @@ ], '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' => 'CubePermission.ColumnlevelField.Repeat', - 'errorMessage' => 'There are duplicate field configurations.', - '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' => '行级权限规则不存在:%s。', - ], - [ - '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' => '数据集模型不属于当前组织。', - ], - [ - 'errorCode' => 'PathId.NotExist.Error', - 'errorMessage' => 'The cube field does not exist ,path id: %s.', - 'description' => '数据集字段不存在,字段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' => '当前用户标签表字段来自于多个标签表,不允许使用多行分别计算。', - ], + ['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' => 'CubePermission.ColumnlevelField.Repeat', 'errorMessage' => 'There are duplicate field configurations.', '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' => '行级权限规则不存在:%s。'], + ['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' => '数据集模型不属于当前组织。'], + ['errorCode' => 'PathId.NotExist.Error', 'errorMessage' => 'The cube field does not exist ,path id: %s.', 'description' => '数据集字段不存在,字段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' => '当前用户标签表字段来自于多个标签表,不允许使用多行分别计算。'], ], ], 'responseDemo' => '[{"type":"json","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}","errorExample":""},{"type":"xml","example":"<SetDataLevelPermissionRuleConfigResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</SetDataLevelPermissionRuleConfigResponse>","errorExample":""}]', 'title' => '设置单条数据集行列权限配置信息', 'description' => '>:当前接口仅支持Quick BI新版行列权限模型。若您仍在使用老的行列权限,请先一键迁移至新的行列权限模型后再调用该接口。一键迁移至新的行列权限模型的操作步骤:在组织管理-->安全配置-->行列权限升级新版中,单击**一键升级**,升级至新版行级权限。', 'changeSet' => [ - [ - 'createdAt' => '2024-12-30T02:38:46.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-12-30T02:38:46.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'SetDataLevelPermissionRuleConfig', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDataLevelPermissionRuleConfig'], ], ], 'ramActions' => [ @@ -22788,12 +12438,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -22801,13 +12446,8 @@ ], 'SetDataLevelPermissionWhiteList' => [ 'summary' => '设置指定行级权限的白名单列表。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22815,37 +12455,25 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WhiteListModel', 'in' => 'query', - 'schema' => [ - 'description' => '{'."\n" - .' "ruleType": "ROW_LEVEL", // 行级权限类型'."\n" - .' "usersModel": {'."\n" - .' "userGroups": ['."\n" - .' "0d5fb19b-***-1248fc27ca51", // 用户组ID'."\n" - .' "3d2c23d4-***-f6390f325c2d"'."\n" - .' ],'."\n" - .' "users": ['."\n" - .' "4334***358", // Quick BI用户的UserID'."\n" - .' "Huang***3fa822"'."\n" - .' ]'."\n" - .' },'."\n" - .' "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"}', - ], + 'schema' => ['description' => '{'."\n" + .' "ruleType": "ROW_LEVEL", // 行级权限类型'."\n" + .' "usersModel": {'."\n" + .' "userGroups": ['."\n" + .' "0d5fb19b-***-1248fc27ca51", // 用户组ID'."\n" + .' "3d2c23d4-***-f6390f325c2d"'."\n" + .' ],'."\n" + .' "users": ['."\n" + .' "4334***358", // Quick BI用户的UserID'."\n" + .' "Huang***3fa822"'."\n" + .' ]'."\n" + .' },'."\n" + .' "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"}'], ], ], 'responses' => [ @@ -22853,95 +12481,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '行级权限规则不存在:%s。', - ], - [ - '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' => '数据集模型不属于当前组织。', - ], - [ - 'errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The usergroup %s does not belong to the current organization.', - 'description' => '用户组%s不属于当前组织。', - ], + ['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' => '行级权限规则不存在:%s。'], + ['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' => '数据集模型不属于当前组织。'], + ['errorCode' => 'Usergroup.NotBelongTo.CurrentOrganization', 'errorMessage' => 'The usergroup %s does not belong to the current organization.', 'description' => '用户组%s不属于当前组织。'], ], ], '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' => '设置行级权限白名单', 'description' => '>:当前接口仅支持Quick BI新版行列权限模型。若您仍在使用老的行列权限,请先一键迁移至新的行列权限模型后再调用该接口。一键迁移至新的行列权限模型的操作步骤:在组织管理-->安全配置-->行列权限升级新版中,单击**一键升级**,升级至新版行级权限。', 'changeSet' => [ - [ - 'createdAt' => '2025-03-14T06:35:33.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:57.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:57.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'SetDataLevelPermissionWhiteList', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDataLevelPermissionWhiteList'], ], ], 'ramActions' => [ @@ -22952,12 +12526,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -22966,12 +12535,8 @@ 'SmartqAuthTransfer' => [ 'summary' => '将指定用户的问数权限同步给其他用户。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -22979,36 +12544,18 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'OriginUserId', 'in' => 'query', - 'schema' => [ - 'description' => '来源用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ASDHASD*************12EASDA', - ], + 'schema' => ['description' => '来源用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ASDHASD*************12EASDA'], ], [ 'name' => 'TargetUserIds', 'in' => 'query', - 'schema' => [ - 'description' => '目标用户ID数组,以英文逗号分隔。'."\n" - .'><warning>用户id数不能大于100。></warning>', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12313********dasfa,ASDASF*****SDAFEEG', - ], + 'schema' => ['description' => '目标用户ID数组,以英文逗号分隔。'."\n" + .'><warning>用户id数不能大于100。></warning>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12313********dasfa,ASDASF*****SDAFEEG'], ], ], 'responses' => [ @@ -23018,87 +12565,33 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1*****************5DF8D885', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1*****************5DF8D885'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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', - ], + ['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' => '将指定用户的问数权限同步给其他用户', 'changeSet' => [], @@ -23110,12 +12603,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -23124,12 +12612,8 @@ 'SmartqAuthorize' => [ 'summary' => '批量管理小Q问数的授权。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -23137,13 +12621,7 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'OperationType', @@ -23158,73 +12636,38 @@ 'docRequired' => true, 'maximum' => '1', 'minimum' => '0', - 'enumValueTitles' => [ - '新增授权', - '删除授权', - ], + 'enumValueTitles' => ['新增授权', '删除授权'], 'example' => '0', - 'enum' => [ - '0', - '1', - ], + 'enum' => ['0', '1'], ], ], [ 'name' => 'UserIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID数组,以英文逗号分隔。'."\n" - .'><notice>单次请求的用户id数 * (问数资源数 + 分析主题数)不能大于100。></notice>', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123', - ], + 'schema' => ['description' => '用户ID数组,以英文逗号分隔。'."\n" + .'><notice>单次请求的用户id数 * (问数资源数 + 分析主题数)不能大于100。></notice>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123'], ], [ 'name' => 'LlmCubes', 'in' => 'query', - 'schema' => [ - 'description' => '问数资源ID数组,以英文逗号分隔。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123', - ], + 'schema' => ['description' => '问数资源ID数组,以英文逗号分隔。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123'], ], [ 'name' => 'LlmCubeThemes', 'in' => 'query', - 'schema' => [ - 'description' => '分析主题ID数组,以英文逗号分隔。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123', - ], + 'schema' => ['description' => '分析主题ID数组,以英文逗号分隔。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123'], ], [ 'name' => 'ExpireDay', 'in' => 'query', - 'schema' => [ - 'description' => '过期时间,默认七天。'."\n" - .'格式:2099-12-31', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '2099-12-31', - ], + 'schema' => ['description' => '过期时间,默认七天。'."\n" + .'格式:2099-12-31', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2099-12-31'], ], [ 'name' => 'CubeIds', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID数组,以英文逗号分隔。'."\n" - .'><notice>该参数会转换为对应的问数资源ID进行授权,所以当传入的cubeId不存在对应的问数资源时,会报错问数资源不存在,请确保cubeId正确性></notice>', - 'type' => 'string', - 'required' => false, - 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123'."\n", - ], + 'schema' => ['description' => '数据集ID数组,以英文逗号分隔。'."\n" + .'><notice>该参数会转换为对应的问数资源ID进行授权,所以当传入的cubeId不存在对应的问数资源时,会报错问数资源不存在,请确保cubeId正确性></notice>', 'type' => 'string', 'required' => false, 'example' => 'wasdasd*******1235235sd,ASDAS*********ASDAW123'."\n"], ], ], 'responses' => [ @@ -23234,11 +12677,7 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '617277C****************ABA47E31', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '617277C****************ABA47E31'], 'Result' => [ 'description' => '失败的用户信息数组。', 'type' => 'array', @@ -23246,128 +12685,47 @@ 'description' => '失败的用户信息。', 'type' => 'object', 'properties' => [ - 'UserId' => [ - 'title' => '用户id。', - 'description' => '用户ID。', - 'type' => 'string', - 'example' => '617277C****************ABA47E31', - ], - 'LlmCube' => [ - 'title' => '问数资源id。', - 'description' => '问数资源ID。', - 'type' => 'string', - 'example' => '617277C****************ABA47E31', - ], - 'LlmCubeTheme' => [ - 'title' => '分析主题id。', - 'description' => '分析主题ID。', - 'type' => 'string', - 'example' => '617277C****************ABA47E31', - ], - 'DetailMessage' => [ - 'title' => '失败原因。', - 'description' => '失败原因。', - 'type' => 'string', - 'example' => 'INVALID_FILE_FORMAT', - ], + 'UserId' => ['title' => '用户id。', 'description' => '用户ID。', 'type' => 'string', 'example' => '617277C****************ABA47E31'], + 'LlmCube' => ['title' => '问数资源id。', 'description' => '问数资源ID。', 'type' => 'string', 'example' => '617277C****************ABA47E31'], + 'LlmCubeTheme' => ['title' => '分析主题id。', 'description' => '分析主题ID。', 'type' => 'string', 'example' => '617277C****************ABA47E31'], + 'DetailMessage' => ['title' => '失败原因。', 'description' => '失败原因。', 'type' => 'string', 'example' => 'INVALID_FILE_FORMAT'], ], ], ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], - [ - 'errorCode' => 'Date.Format.Error', - 'errorMessage' => 'Date format conversion error.', - 'description' => '日期格式转换错误', - ], - [ - 'errorCode' => 'Date.Exceed.Error', - 'errorMessage' => 'The start date must be within 90 days from the current date.', - 'description' => '开始日期不能早于当前日期90天', - ], - [ - 'errorCode' => 'UserRoleConfig.NotContain.Function', - 'errorMessage' => 'The user %s does not have permission to operate.', - 'description' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'User.Not.In.Organization', - 'errorMessage' => 'The specified user is not in the organizational unit.', - 'description' => '该用户不在组织中。', - ], - [ - 'errorCode' => 'Query.Auth.Error', - 'errorMessage' => 'Query is not permitted.', - 'description' => '没有查询权限。', - ], - [ - 'errorCode' => 'ApiUser.Not.Exists', - 'errorMessage' => 'The specified user does not exist.', - 'description' => '用户不存在。', - ], - [ - 'errorCode' => 'Share.ExpireDate.Error', - 'errorMessage' => 'The expire date is illegal.', - 'description' => '设置的过期时间不合法。', - ], - [ - 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', - 'errorMessage' => 'Please purchase Nl2sql module first.', - 'description' => '请先购买智能问数模块。', - ], - [ - 'errorCode' => 'API.Not.Exist', - 'errorMessage' => 'The data service API operation does not exist.', - 'description' => '数据服务 API 不存在。', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'Date.Format.Error', 'errorMessage' => 'Date format conversion error.', 'description' => '日期格式转换错误'], + ['errorCode' => 'Date.Exceed.Error', 'errorMessage' => 'The start date must be within 90 days from the current date.', 'description' => '开始日期不能早于当前日期90天'], + ['errorCode' => 'UserRoleConfig.NotContain.Function', 'errorMessage' => 'The user %s does not have permission to operate.', 'description' => '此用户%s没有权限操作。'], + ['errorCode' => 'User.Not.In.Organization', 'errorMessage' => 'The specified user is not in the organizational unit.', 'description' => '该用户不在组织中。'], + ['errorCode' => 'Query.Auth.Error', 'errorMessage' => 'Query is not permitted.', 'description' => '没有查询权限。'], + ['errorCode' => 'ApiUser.Not.Exists', 'errorMessage' => 'The specified user does not exist.', 'description' => '用户不存在。'], + ['errorCode' => 'Share.ExpireDate.Error', 'errorMessage' => 'The expire date is illegal.', 'description' => '设置的过期时间不合法。'], + ['errorCode' => 'RobotNl2sql.Moudle.NotPurchase', 'errorMessage' => 'Please purchase Nl2sql module first.', 'description' => '请先购买智能问数模块。'], + ['errorCode' => 'API.Not.Exist', 'errorMessage' => 'The data service API operation does not exist.', 'description' => '数据服务 API 不存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], '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"}]', 'title' => '批量管理小Q问数的授权', 'description' => '用于批量管理智能问数的授权,重复新增授权会视为新增操作;重复删除授权会默认跳过,也不会记录审计日志。', 'changeSet' => [ - [ - 'createdAt' => '2025-05-28T03:27:58.000Z', - 'description' => '请求参数发生变更', - ], - [ - 'createdAt' => '2025-02-21T06:02:16.000Z', - 'description' => '错误码发生变更', - ], + ['createdAt' => '2025-05-28T03:27:58.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-02-21T06:02:16.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'SmartqAuthorize', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmartqAuthorize'], ], ], 'ramActions' => [ @@ -23378,12 +12736,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -23391,13 +12744,8 @@ ], 'SmartqQueryAbility' => [ 'summary' => '小Q问数查询。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23405,65 +12753,32 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '用户id。', - 'description' => '用户ID。'."\n" - .'><notice>该字段不填写时默认以组织所有者身份查询数据。></notice>', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['title' => '用户id。', 'description' => '用户ID。'."\n" + .'><notice>该字段不填写时默认以组织所有者身份查询数据。></notice>', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'UserQuestion', 'in' => 'query', - 'schema' => [ - 'title' => '问题文本。', - 'description' => '问题文本。', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['title' => '问题文本。', 'description' => '问题文本。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'title' => '数据集Id。', - 'description' => '数据集ID,'."\n" - .'点击工作台-->数据集,打开选定的数据集后,url中携带有该数据集的cubeId信息'."\n" - ."\n" - .'多表场景下,该参数须为空。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['title' => '数据集Id。', 'description' => '数据集ID,'."\n" + .'点击工作台-->数据集,打开选定的数据集后,url中携带有该数据集的cubeId信息'."\n" + ."\n" + .'多表场景下,该参数须为空。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'MultipleCubeIds', 'in' => 'query', - 'schema' => [ - 'title' => '多数据集id列表 模型会根据问题内容,选择列表中一张或多张表生成回答,多表场景下该参数为必要,单表场景不需要该参数。', - 'description' => '多数据集id列表'."\n" - .'模型会根据问题内容,选择列表中一张或多张表生成回答,多表场景下该参数为必要,单表场景不需要该参数。', - 'type' => 'string', - 'required' => false, - 'example' => '7c7****-3c744528014b,a876asd***yhashd2', - ], + 'schema' => ['title' => '多数据集id列表 模型会根据问题内容,选择列表中一张或多张表生成回答,多表场景下该参数为必要,单表场景不需要该参数。', 'description' => '多数据集id列表'."\n" + .'模型会根据问题内容,选择列表中一张或多张表生成回答,多表场景下该参数为必要,单表场景不需要该参数。', 'type' => 'string', 'required' => false, 'example' => '7c7****-3c744528014b,a876asd***yhashd2'], ], ], 'responses' => [ @@ -23473,23 +12788,13 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A************2B05DF8D885', - ], + 'RequestId' => ['title' => '请求id。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A************2B05DF8D885'], 'Result' => [ 'title' => '返回结果。', 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'ChartType' => [ - 'title' => '建议图表类型。', - 'description' => '建议图表类型。', - 'type' => 'string', - 'example' => 'NEW_TABLE', - ], + 'ChartType' => ['title' => '建议图表类型。', 'description' => '建议图表类型。', 'type' => 'string', 'example' => 'NEW_TABLE'], 'MetaType' => [ 'title' => '列元组类型列表。', 'description' => '列元组类型列表。', @@ -23498,27 +12803,12 @@ 'description' => '元数据对象。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '列元组名称。', - 'description' => '列元组名称。', - 'type' => 'string', - 'example' => 'Polar***STPS', - ], - 'Value' => [ - 'title' => '列元组类型。', - 'description' => '列元组类型。', - 'type' => 'string', - 'example' => 'string', - ], - 'Type' => [ - 'title' => '', - 'description' => '元数据行列类型。'."\n" - ."\n" - .'- Dimension:维度'."\n" - .'- Measure:度量', - 'type' => 'string', - 'example' => 'Dimension', - ], + 'Key' => ['title' => '列元组名称。', 'description' => '列元组名称。', 'type' => 'string', 'example' => 'Polar***STPS'], + 'Value' => ['title' => '列元组类型。', 'description' => '列元组类型。', 'type' => 'string', 'example' => 'string'], + 'Type' => ['title' => '', 'description' => '元数据行列类型。'."\n" + ."\n" + .'- Dimension:维度'."\n" + .'- Measure:度量', 'type' => 'string', 'example' => 'Dimension'], ], ], ], @@ -23533,182 +12823,64 @@ 'Row' => [ 'description' => '每一行的数据值。', 'type' => 'array', - 'items' => [ - 'description' => '每个字段的数据值。', - 'type' => 'string', - 'example' => '199', - ], + 'items' => ['description' => '每个字段的数据值。', 'type' => 'string', 'example' => '199'], ], ], ], ], - 'LogicSql' => [ - 'title' => '可视化逻辑sql', - 'description' => '可视化逻辑sql。', - 'type' => 'string', - 'example' => 'select * ****', - ], - 'ConclusionText' => [ - 'title' => '总结信息', - 'description' => '总结信息。', - 'type' => 'string', - 'example' => 'test', - ], + 'LogicSql' => ['title' => '可视化逻辑sql', 'description' => '可视化逻辑sql。', 'type' => 'string', 'example' => 'select * ****'], + 'ConclusionText' => ['title' => '总结信息', 'description' => '总结信息。', 'type' => 'string', 'example' => 'test'], 'DataList' => [ 'title' => '仅多步场景下返回数据列表,每一个元素对应一份图表数据。', 'description' => '仅多步场景下返回数据列表,每一个元素对应一份图表数据。', 'type' => 'array', - 'items' => [ - 'title' => ' '."\n" - .'图表数据。', - 'description' => '图表数据。', - 'type' => 'string', - 'example' => 'test', - ], + 'items' => ['title' => ' '."\n" + .'图表数据。', 'description' => '图表数据。', 'type' => 'string', 'example' => 'test'], ], ], ], - 'Success' => [ - 'title' => '是否成功。', - 'description' => '是否成功。', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], + 'Success' => ['title' => '是否成功。', 'description' => '是否成功。', 'type' => 'boolean', 'required' => true, 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '系统内部异常。', - ], - [ - 'errorCode' => 'Query.Auth.Error', - 'errorMessage' => 'Query is not permitted.', - '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.Parameter', - 'errorMessage' => 'An error occurred while verifying parameters.', - 'description' => '参数验证失败。', - ], - [ - 'errorCode' => 'Invalid.Parameter.Error', - 'errorMessage' => 'The parameter is invalid:%s.', - 'description' => '无效参数%s。', - ], - [ - 'errorCode' => 'Invalid.Param.Error', - 'errorMessage' => 'The parameter is invalid.', - 'description' => '无效参数。', - ], - [ - 'errorCode' => 'Invalid.User.Admin', - 'errorMessage' => 'You are not an administrator of this organization.', - 'description' => '没有权限,您不是组织管理员。', - ], - [ - 'errorCode' => 'System.Param.Empty', - 'errorMessage' => 'You must specify the %s parameter.', - 'description' => '参数%s不能为空。', - ], - [ - 'errorCode' => 'Access.Forbidden', - 'errorMessage' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', - 'description' => '您的实例版本或者 AccessKey不允许调用该 API,仅专业版支持调用。', - ], - [ - 'errorCode' => 'UserInfo.Error', - 'errorMessage' => 'The personal information is invalid.', - 'description' => '个人信息不合法。', - ], - [ - 'errorCode' => 'ApiUser.Not.Exists', - 'errorMessage' => 'The specified user does not exist.', - 'description' => '用户不存在。', - ], - [ - 'errorCode' => 'User.Not.WorkspaceAdmin', - 'errorMessage' => 'Only administrators of the group workspace can perform this operation.', - 'description' => '没有权限,您不是该群空间的管理员。', - ], - [ - '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' => '非组织管理员或API调用授权用户。', - ], - [ - 'errorCode' => 'UserRoleConfig.NotContain.Function', - 'errorMessage' => 'The user %s does not have permission to operate.', - 'description' => '此用户%s没有权限操作。', - ], - [ - 'errorCode' => 'RobotNl2sql.Moudle.NotPurchase', - 'errorMessage' => 'Please purchase Nl2sql module first.', - 'description' => '请先购买智能问数模块。', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Query.Auth.Error', 'errorMessage' => 'Query is not permitted.', '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.Parameter', 'errorMessage' => 'An error occurred while verifying parameters.', 'description' => '参数验证失败。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['errorCode' => 'Invalid.Param.Error', 'errorMessage' => 'The parameter is invalid.', 'description' => '无效参数。'], + ['errorCode' => 'Invalid.User.Admin', 'errorMessage' => 'You are not an administrator of this organization.', 'description' => '没有权限,您不是组织管理员。'], + ['errorCode' => 'System.Param.Empty', 'errorMessage' => 'You must specify the %s parameter.', 'description' => '参数%s不能为空。'], + ['errorCode' => 'Access.Forbidden', 'errorMessage' => 'Your instance version or access key is not allowed to call the API operation, only professional version supports calling.', 'description' => '您的实例版本或者 AccessKey不允许调用该 API,仅专业版支持调用。'], + ['errorCode' => 'UserInfo.Error', 'errorMessage' => 'The personal information is invalid.', 'description' => '个人信息不合法。'], + ['errorCode' => 'ApiUser.Not.Exists', 'errorMessage' => 'The specified user does not exist.', 'description' => '用户不存在。'], + ['errorCode' => 'User.Not.WorkspaceAdmin', 'errorMessage' => 'Only administrators of the group workspace can perform this operation.', 'description' => '没有权限,您不是该群空间的管理员。'], + ['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' => '非组织管理员或API调用授权用户。'], + ['errorCode' => 'UserRoleConfig.NotContain.Function', 'errorMessage' => 'The user %s does not have permission to operate.', 'description' => '此用户%s没有权限操作。'], + ['errorCode' => 'RobotNl2sql.Moudle.NotPurchase', 'errorMessage' => 'Please purchase Nl2sql module first.', 'description' => '请先购买智能问数模块。'], ], 500 => [ - [ - 'errorCode' => 'Invalid.User.Organization', - 'errorMessage' => 'The user is not in your organization.', - 'description' => '', - ], + ['errorCode' => 'Invalid.User.Organization', 'errorMessage' => 'The user is not in your organization.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '小Q问数查询', 'description' => '特别说明:当使用者被授权调用该API时,默认使用者有权限通过传入userId以该用户身份查询对应的数据', 'changeSet' => [ - [ - 'createdAt' => '2025-05-28T03:27:58.000Z', - 'description' => '响应参数发生变更', - ], - [ - 'createdAt' => '2025-04-14T07:10:39.000Z', - 'description' => '错误码发生变更、响应参数发生变更', - ], + ['createdAt' => '2025-05-28T03:27:58.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-04-14T07:10:39.000Z', 'description' => '错误码发生变更、响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'SmartqQueryAbility', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmartqQueryAbility'], ], ], 'ramActions' => [ @@ -23719,26 +12891,88 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], - 'UpdateCubeBySql' => [ - 'summary' => '更新自定义sql数据集。', + 'TransferUsergroup' => [ + 'summary' => '迁移用户组。', 'path' => '', - 'methods' => [ - 'post', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => ['title' => '需要迁移的用户组ID', 'description' => '需要迁移的用户组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12qwda****sdada'], + ], + [ + 'name' => 'ParentUserGroupId', + 'in' => 'query', + 'schema' => ['title' => '父用户组ID', 'description' => '父用户组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asdasva***123124asdasd'], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], + 'Result' => ['title' => '迁移是否成功', 'description' => '迁移是否成功', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.User.Admin', 'errorMessage' => 'You are not an administrator of this organization.', 'description' => '没有权限,您不是组织管理员。'], + ['errorCode' => 'Usergroup.Not.Exist', 'errorMessage' => 'The user group does not exist.', 'description' => '用户组不存在。'], + ['errorCode' => 'UserGroup.Parent.NotFound', 'errorMessage' => 'The parent user group does not exist.', 'description' => '父用户组不存在。'], + ['errorCode' => 'DeletePermission.UserBelongsToUsergroup.Error', 'errorMessage' => 'cannot be deleted because user belongs to usergroup: %s.', 'description' => '无法删除,因为当前用户属于用户组:%s。'], + ['errorCode' => 'Duplicate.UserGroup.Id', 'errorMessage' => 'Duplicated usergroupId %s.', 'description' => '重复的用户组ID %s。'], + ['errorCode' => 'Duplicate.UserGroupName.Error', 'errorMessage' => 'There is already a user group with the same name %s, please rename it before saving.', 'description' => '已经存在同名用户组“%s”,请修改名称后再保存。'], + ['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' => '该组织%s已经同步过其他组织架构,因此无法在根用户组下创建用户组。'], + ['errorCode' => 'User.CanOnlyAddTo.BIUserGroup', 'errorMessage' => 'User can only add to BI user group.', 'description' => '用户只允许添加进BI组织架构及子用户组。'], + ['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.CannotTransfer.OtherOrganzation', 'errorMessage' => 'usergroup can\'t be transfered to other organization.', 'description' => '不允许移动到其他组织的用户组下。'], + ['errorCode' => 'Usergroup.CannotTransfer.UnderChildren', 'errorMessage' => 'usergroup can\'t be transfered to under chidlren.', 'description' => '用户组不允许移动到子用户组下。'], + ['errorCode' => 'UserGroup.ExceedsLimit.Error', 'errorMessage' => 'User group exceed limit, %s.', 'description' => '用户分组限制'], + ['errorCode' => 'Usergroup.TransferNotChanged.Error', 'errorMessage' => 'usergroup can\'t be transfered without any changed.', 'description' => '父用户组未发生改变,无需移动。'], + ['errorCode' => 'Usergroup.TypeTransfer.NotSupport', 'errorMessage' => 'Unsupported type of user group or target user group.', 'description' => '不支持的用户组或目标用户组类型。'], + ], + 500 => [ + ['errorCode' => 'UserGroup.Update.RootNode', 'errorMessage' => 'The root user group cannot be updated.', 'description' => '根用户组不允许更新。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '迁移用户组', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UpdateCubeBySql' => [ + 'summary' => '更新自定义sql数据集。', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -23746,68 +12980,43 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'CustomSql', 'in' => 'query', - 'schema' => [ - 'description' => '自定义sql语句。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'select * from sdsd', - ], + 'schema' => ['description' => '自定义sql语句。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'select * from sdsd'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '需要传入一个有权限创建数据集的Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '需要传入一个有权限创建数据集的Quick BI 的 UserId,非您的阿里云账号 ID。 您可以调用 [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) 接口,获取 UserId。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'DsId', 'in' => 'query', - 'schema' => [ - 'description' => '数据源ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7AAB95D-*****-****-*4FC0C976', - ], + 'schema' => ['description' => '数据源ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7AAB95D-*****-****-*4FC0C976'], + ], + [ + 'name' => 'Placeholders', + 'in' => 'query', + 'schema' => ['title' => '占位符参数', 'description' => '占位符参数,详细内容请看下方补充说明。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' {'."\n" + .' "name": "test",'."\n" + .' "style": "placeholder",'."\n" + .' "type": "string"'."\n" + .' }'."\n" + .']', 'default' => ' '], ], ], 'responses' => [ @@ -23817,111 +13026,125 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '617277******************ABA47E31', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '617277******************ABA47E31'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Internal.System.Error', - 'errorMessage' => 'An internal system error occurred.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.User.Organization', - 'errorMessage' => 'The user is not in your organization.', - 'description' => '', - ], - [ - 'errorCode' => 'User.NotIn.Workspace', - 'errorMessage' => 'The user is not a member of the group workspace.', - 'description' => '', - ], - [ - 'errorCode' => 'Workspace.NotIn.Organization', - 'errorMessage' => 'The workspace is not owned by the organization.', - 'description' => '', - ], - [ - 'errorCode' => 'Datasource.NotFound.Error', - 'errorMessage' => 'The specified data source does not exist: %s.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.Param.Error', - 'errorMessage' => 'The parameter is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Cube.Not.Exist', - 'errorMessage' => 'The Cube does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'CubeSchema.Not.Exist', - 'errorMessage' => 'The cube schema does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'Cube.DuplicatedName.Error', - 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', - 'description' => '', - ], - [ - 'errorCode' => 'Directory.NotExist.Error', - 'errorMessage' => 'The directory does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'Xengnie.TaskExecute.Error', - 'errorMessage' => 'Fail to execute task %s.', - 'description' => '', - ], - [ - 'errorCode' => 'Datasource.Sql.ExecuteFailed', - 'errorMessage' => 'Failed to execute the SQL statement in the data source.', - 'description' => '', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.User.Organization', 'errorMessage' => 'The user is not in your organization.', 'description' => '该用户不在您的组织中。'], + ['errorCode' => 'User.NotIn.Workspace', 'errorMessage' => 'The user is not a member of the group workspace.', 'description' => '该用户不在群空间中。'], + ['errorCode' => 'Workspace.NotIn.Organization', 'errorMessage' => 'The workspace is not owned by the organization.', 'description' => '空间不在组织内。'], + ['errorCode' => 'Datasource.NotFound.Error', 'errorMessage' => 'The specified data source does not exist: %s.', 'description' => '数据源不存在:%s。'], + ['errorCode' => 'Invalid.Param.Error', 'errorMessage' => 'The parameter is invalid.', 'description' => '无效参数。'], + ['errorCode' => 'Cube.Not.Exist', 'errorMessage' => 'The Cube does not exist.', 'description' => '数据集不存在。'], + ['errorCode' => 'CubeSchema.Not.Exist', 'errorMessage' => 'The cube schema does not exist.', 'description' => '数据集模型不存在。'], + ['errorCode' => 'Cube.DuplicatedName.Error', 'errorMessage' => 'The dataset name already exists. Modify the name before saving.', 'description' => '数据集名称已存在,请修改名称后再保存。'], + ['errorCode' => 'Directory.NotExist.Error', 'errorMessage' => 'The directory does not exist.', 'description' => '文件夹不存在。'], + ['errorCode' => 'Xengnie.TaskExecute.Error', 'errorMessage' => 'Fail to execute task %s.', 'description' => '任务执行失败 %s。'], + ['errorCode' => 'Datasource.Sql.ExecuteFailed', 'errorMessage' => 'Failed to execute the SQL statement in the data source.', 'description' => '数据源执行SQL失败。'], + ['errorCode' => 'Placeholder.Date.Illegal', 'errorMessage' => 'The placeholder date format is illegal.', 'description' => '占位符日期格式不合法。'], + ['errorCode' => 'Placeholder.DefaultValue.Invalid', 'errorMessage' => 'Invalid placeholder default value.', 'description' => '无效的占位符默认值。'], + ['errorCode' => 'Placeholder.Style.Illegal', 'errorMessage' => 'Illegal placeholder style.', 'description' => '非法占位符类型。'], + ['errorCode' => 'Placeholder.Type.Illegal', 'errorMessage' => 'Illegal placeholder type.', 'description' => '非法占位符变量类型。'], + ['errorCode' => 'Placeholder.UniqueId.Duplicate', 'errorMessage' => 'Sql placeholder uniqueId duplicate.', 'description' => 'Sql占位符uniqueId重复。'], + ['errorCode' => 'PlaceholderName.Duplicate.Error', 'errorMessage' => 'Sql placeholder name duplicate.', 'description' => 'Sql占位符名称重复。'], + ['errorCode' => 'PlaceholderName.NotMatch.Error', 'errorMessage' => 'The parsing and input placeholder names do not match.', 'description' => '解析和输入占位符名称不匹配。'], + ['errorCode' => 'Placeholder.FieldNot.Empty', 'errorMessage' => 'Condition placeHolder field not empty.', 'description' => '条件占位符字段不能为空'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"617277******************ABA47E31\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '更新自定义sql数据集', + 'requestParamsDescription' => '**占位符PlaceholderModel结构**'."\n" + ."\n" + .'- uniqueId -- string,非必传,占位符唯一id,创建时候不用传,传了也不会用(更新时会用到此字段)'."\n" + .'- name -- string,必传,占位符名,不能重复'."\n" + .'- style -- string,必传,占位符类型'."\n" + .' - 表达式占位符:param'."\n" + .' - 值占位符:placeholder'."\n" + .' - 条件占位符:condition'."\n" + .'- type -- String,占位符变量类型'."\n" + .' - 文本:string '."\n" + .' - 数值:number'."\n" + .' - 日期:见下方format描述'."\n" + ."\n" + .'- useInGlobal -- Boolean,非必传,是否为全局生效,默认为false'."\n" + .' - 是:true'."\n" + .' - 否:false'."\n" + .'- defaultValue -- List<String>,非必传,占位符默认值,shipping_date_ph.get(0)占位符类型默认值个数只能为0或2,其余占位符类型只能为0或1'."\n" + .'- format -- String,非必填,日期类型格式(见下方format)'."\n" + ."\n" + .'- originalType -- String,非必填,如果值占位符为shipping_date_ph.get(0)的日期类型,将originalType设置为dateRange,其余情况均无需设置'."\n" + .'- conditionPlaceHolderFields -- List,非必填,条件占位符字段,仅条件占位符需要配置'."\n" + ."\n" + .'**ConditionPlaceHolderFields结构**'."\n" + ."\n" + .'- uniqueId -- String,非必传,条件占位符字段唯一id,创建不需要传,后台会默认生成'."\n" + .'- column -- String,必填,物理字段名字'."\n" + ."\n" + .'**表达式占位符style、type对应关系**'."\n" + ."\n" + .'变量类型 ### 对应type类型'."\n" + ."\n" + .'- 文本 string'."\n" + .'- 数字 number'."\n" + .'- 日期-年 yearRegion'."\n" + .'- 日期-年季 quarterRegion'."\n" + .'- 日期-年月 monthRegion'."\n" + .'- 日期-年周 weekRegion'."\n" + .'- 日期-年月日 dateRegion'."\n" + .'- 日期-年月日时分秒 ymdHmsRegion'."\n" + ."\n" + .'**值占位符style、type、format对应关系(空白代表无需填写)**'."\n" + ."\n" + .'变量类型 ### 对应type类型 ### format'."\n" + ."\n" + .'- 文本 string (shipping_date_ph.get(0)的日期类型不支持)'."\n" + .'- 数字 number (shipping_date_ph.get(0)的日期类型不支持)'."\n" + .'- 日期-年 yearRegion'."\n" + .'- 日期-年季 quarterRegion'."\n" + .'- 日期-年月 monthRegion YYYY-MM或YYYYMM或YYYY/MM,3种format选一种'."\n" + .'- 日期-年周 weekRegion'."\n" + .'- 日期-年月日 dateRegion YYYY-MM-DD或YYYYMMDD或YYYY/MM/DD,3种format选一种'."\n" + .'- 日期-年月日时分秒 ymdHmsRegion YYYY-MM-DD HH:MI:SS 或YYYYMMDD HH:MI:SS或YYYY/MM/DD HH:MI:SS或YYYYMMDDHHMISS,4种format选一种'."\n" + ."\n" + .'**条件占位符style、type对应关系**'."\n" + ."\n" + .'变量类型 ### 对应type类型'."\n" + ."\n" + .'- 文本 string', 'changeSet' => [], - 'ramActions' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateCubeBySql', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'UpdateDataLevelPermissionStatus' => [ 'summary' => '更新数据集行列权限开关状态。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23929,55 +13152,28 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'CubeId', 'in' => 'query', - 'schema' => [ - 'description' => '数据集ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7c7223ae-****-3c744528014b', - ], + 'schema' => ['description' => '数据集ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7c7223ae-****-3c744528014b'], ], [ 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => '数据集行列权限类型。取值范围:'."\n" - ."\n" - .'- ROW_LEVEL:行级权限'."\n" - .'- COLUMN_LEVEL:列级权限', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ROW_LEVEL', - ], + 'schema' => ['description' => '数据集行列权限类型。取值范围:'."\n" + ."\n" + .'- ROW_LEVEL:行级权限'."\n" + .'- COLUMN_LEVEL:列级权限', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ROW_LEVEL'], ], [ 'name' => 'IsOpen', 'in' => 'query', - 'schema' => [ - 'description' => '更新行列权限开关状态。取值范围:'."\n" - ."\n" - .'- 1:打开'."\n" - .'- 0:关闭', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '10', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => '更新行列权限开关状态。取值范围:'."\n" + ."\n" + .'- 1:打开'."\n" + .'- 0:关闭', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '10', 'minimum' => '0', 'example' => '1'], ], ], 'responses' => [ @@ -23985,63 +13181,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateDataLevelPermissionStatusResponse>\\n <RequestId>D8749D65-E80A-433C-AF1B-CE9C180FF3B4</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</UpdateDataLevelPermissionStatusResponse>","errorExample":""}]', @@ -24056,12 +13216,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -24070,12 +13225,8 @@ 'UpdateDataSource' => [ 'summary' => '修改数据源配置。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -24083,50 +13234,43 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'UpdateModel', 'in' => 'query', - 'schema' => [ - 'description' => '传参参考示例值的JSON样式,其中参数解析如下:'."\n" - ."\n" - .'- dsId -- 必传 -- 数据源ID'."\n" - .'- userId -- 非必传 -- 修改数据源的用户身份,quickbi的userId,如果传了则以当前userid修改'."\n" - .'- dsType -- 必传 -- 数据源类型,不允许修改,传该数据源类型即可。'."\n" - .'- showName -- 非必传 -- 数据源显示名称。'."\n" - .'- address -- 非必传 -- 数据库连接串地址(域名或ip)'."\n" - .'- port -- 非必传 --端口'."\n" - .'- schema -- 非必传 -- 数据库 schema,仅对支持schema的数据库需要设置,示例:sqlserver 默认使用dbo;mysql不支持schema'."\n" - .'- instance -- 非必传 -- 实例db'."\n" - .'- username -- 非必传 -- 数据库用户名/ak'."\n" - .'- password -- 非必传 -- 数据库密钥'."\n" - .'- config -- 非必传 -- 数据库额外配置项,注意,该数据要和创建时不同数据源的不同config传参保持一致,不做修改的字段无需传参,传了参数的字段默认改为传参为准(包括空字符串)。', - '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" - .'}', - ], + 'schema' => ['description' => '传参参考示例值的JSON样式,其中参数解析如下:'."\n" + ."\n" + .'- dsId -- 必传 -- 数据源ID'."\n" + .'- userId -- 非必传 -- 修改数据源的用户身份,quickbi的userId,如果传了则以当前userid修改'."\n" + .'- dsType -- 必传 -- 数据源类型,不允许修改,传该数据源类型即可。'."\n" + .'- showName -- 非必传 -- 数据源显示名称。'."\n" + .'- address -- 非必传 -- 数据库连接串地址(域名或ip)'."\n" + .'- port -- 非必传 --端口'."\n" + .'- schema -- 非必传 -- 数据库 schema,仅对支持schema的数据库需要设置,示例:sqlserver 默认使用dbo;mysql不支持schema'."\n" + .'- instance -- 非必传 -- 实例db'."\n" + .'- username -- 非必传 -- 数据库用户名/ak'."\n" + .'- password -- 非必传 -- 数据库密钥'."\n" + .'- resource -- 标识vpc类型,开启vpc时必传,若创建时带vpc信息,则修改时也必须传,修改时如果resource为空则默认关闭vpc(映射关系见参数补充说明)'."\n" + .'- accessId -- 非必传 -- vpc实例的ak,resource不为空时必传'."\n" + .'- accessKey -- 非必传 -- vpc实例的sk,resource不为空时必传'."\n" + .'- instanceId -- 非必传 -- vpc实例id,resource不为空时必传'."\n" + .'- region -- 非必传 -- vpc实例区域,resource不为空时必传(映射关系见参数补充说明)'."\n" + .'- config -- 非必传 -- 数据库额外配置项,注意,该数据要和创建时不同数据源的不同config传参保持一致,不做修改的字段无需传参,传了参数的字段默认改为传参为准(包括空字符串)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{'."\n" + .' "schema": "schema",'."\n" + .' "userId":"S*****46345",'."\n" + .' "password": "Ta****34",'."\n" + .' "showName": "test",'."\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" + .'}'], ], ], 'responses' => [ @@ -24136,83 +13280,35 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A***********5DF8D885', - ], - 'Result' => [ - 'description' => '接口执行结果。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A***********5DF8D885'], + 'Result' => ['description' => '接口执行结果。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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', - ], + ['errorCode' => 'Internal.System.Error', 'errorMessage' => 'An internal system error occurred.', 'description' => '系统内部异常。'], + ['errorCode' => 'Invalid.Parameter.Error', 'errorMessage' => 'The parameter is invalid:%s.', 'description' => '无效参数%s。'], + ['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' => '数据源不存在:%s。'], + ['errorCode' => 'Name.RegularExpression.Error', 'errorMessage' => 'Name format validation failed.', 'description' => '名称格式验证失败。'], + ['errorCode' => 'NameExceeded.MaxLength.Error', 'errorMessage' => 'The name cannot exceed %s characters in length.', 'description' => '名称长度不能超过%s个字符。'], + ['errorCode' => 'Database.PortInvalid.Error', 'errorMessage' => 'The database port is invalid.', 'description' => '数据库端口无效。'], + ['errorCode' => 'VpcInstance.Info.Error', 'errorMessage' => 'Get vpc instance info error.please check vpc config %s.', 'description' => '获取VPC实例信息错误。请检查VPC配置 %s。'], + ['errorCode' => 'VpcInstance.Info.EmptyError', 'errorMessage' => 'Not found instance. please check vpc config and authorization %s.', 'description' => '未找到实例。请检查VPC配置和权限 %s。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D787E1A***********5DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '修改数据源配置', 'requestParamsDescription' => '示例代码:'."\n" @@ -24233,19 +13329,69 @@ .' UpdateDataSourceResponse acsResponse = getPopAPIClient("test").getAcsResponse(request);'."\n" ."\n" .' System.out.println(JSONObject.toJSONString(acsResponse.getResult()));'."\n" - .' }', + .' }'."\n" + ."\n" + .'resouce映射关系(仅列举部分,若您的数据源支持vpc,但以下未列举,可通过开发者工具抓取编辑数据源->点击连接测试时触发的detect接口的入参信息中的config.resource获取您数据源的参数信息)'."\n" + ."\n" + .'- 阿里云 -- rds'."\n" + .'- AnalyticDB MySQL版 -- adb'."\n" + .'- AnalyticDB PostgreSQL版 -- gpdb'."\n" + .'- Hologres -- hologres'."\n" + .'- ClickHouse -- clickhouse'."\n" + .'- E-MapReduce Serverless StarRocks版 -- starrocks'."\n" + .'- PolarDB MySQL版 -- polardb'."\n" + .'- PolarDB分布式版 -- drds'."\n" + .'- PolarDB PostgreSQL版 -- polardb'."\n" + .'- PolarDB PostgreSQL版(兼容Oracle)-- polardb'."\n" + .'- SelectDB -- selectdb'."\n" + .'- OceanBase -- oceanbase'."\n" + .'- Lindorm -- lindorm'."\n" + .'- Alibaba HybridDB for MySQL -- petaData'."\n" + .'- Hbase -- hbase'."\n" + .'- 自建数据源,华为云数据源 -- ecs'."\n" + .'- AWS,微软云,腾讯云,谷歌云 -- rds'."\n" + .'- TDSQL-H LibraDB -- tdsql'."\n" + .'- Dataphin --- api_gateway'."\n" + ."\n" + .'region 对照关系:'."\n" + .'- 华北1(青岛)-- cn-qingdao'."\n" + .'- 华北2(北京)-- cn-beijing'."\n" + .'- 华北3(张家口)-- cn-zhangjiakou'."\n" + .'- 华北5(呼和浩特)-- cn-huhehaote'."\n" + .'- 华北6(乌兰察布)-- cn-wulanchabu'."\n" + .'- 华东1(杭州)-- cn-hangzhou'."\n" + .'- 华东2(上海)-- cn-shanghai'."\n" + .'- 华东5(南京-本地地域 )-- cn-nanjing'."\n" + .'- 华南1(深圳)-- cn-shenzhen'."\n" + .'- 华南2(河源)-- cn-heyuan'."\n" + .'- 华南3(广州)-- cn-guangzhou'."\n" + .'- 华东6(福州-本地地域)-- cn-fuzhou'."\n" + .'- 华中1(武汉-本地地域)-- cn-wuhan-lr'."\n" + .'- 西南1(成都)-- cn-chengdu'."\n" + .'- 中国香港 -- cn-hongkong'."\n" + .'- 日本(东京) -- ap-northeast-1'."\n" + .'- 韩国(首尔)-- ap-northeast-2'."\n" + .'- 新加坡 -- ap-southeast-1'."\n" + .'- 马来西亚(吉隆坡)-- ap-southeast-3'."\n" + .'- 菲律宾(马尼拉) -- ap-southeast-6'."\n" + .'- 印度尼西亚(雅加达)-- ap-southeast-5'."\n" + .'- 泰国(曼谷)-- ap-southeast-7'."\n" + .'- 美国(弗吉尼亚)-- us-east-1'."\n" + .'- 美国(硅谷)-- us-west-1'."\n" + .'- 墨西哥 -- na-south-1'."\n" + .'- 英国(伦敦)-- eu-west-1'."\n" + .'- 阿联酋(迪拜)-- me-east-1'."\n" + .'- 德国(法兰克福)-- eu-central-1', 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], 'ramActions' => [], ], 'UpdateEmbeddedStatus' => [ 'summary' => '更改报表的嵌入状态,开通嵌入、或者关闭嵌入。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24253,40 +13399,22 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorksId', 'in' => 'query', - 'schema' => [ - 'description' => '作品ID。'."\n" - ."\n" - .'- 支持批量修改,用半角逗号(,)分割。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '897ce25e-f993-4abd-af84-d13c5610****', - ], + 'schema' => ['description' => '作品ID。'."\n" + ."\n" + .'- 支持批量修改,用半角逗号(,)分割。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '897ce25e-f993-4abd-af84-d13c5610****'], ], [ 'name' => 'ThirdPartAuthFlag', 'in' => 'query', - 'schema' => [ - 'description' => '是否开通作品的嵌入功能。取值范围:'."\n" - ."\n" - .'- true:开通嵌入'."\n" - .'- false:关闭嵌入', - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'true', - ], + 'schema' => ['description' => '是否开通作品的嵌入功能。取值范围:'."\n" + ."\n" + .'- true:开通嵌入'."\n" + .'- false:关闭嵌入', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true'], ], ], 'responses' => [ @@ -24294,25 +13422,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '开通或关闭的作品数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '开通或关闭的作品数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -24320,60 +13435,24 @@ ], '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' => '授权报表已达上限,请升级配置或删除其它报表再授权。', - ], - [ - 'errorCode' => 'Resource.NotBelongTo.CurrentOrganization', - 'errorMessage' => 'The resource does not belong to the current organization.', - 'description' => '该资源不属于当前组织。', - ], - [ - 'errorCode' => 'Report.NotExist.Error', - 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', - 'description' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - 'errorCode' => 'NoPermissionTo.Operate.Object', - 'errorMessage' => 'You are not authorized to operate the objects.', - 'description' => '您无权操作这些对象。', - ], + ['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' => '授权报表已达上限,请升级配置或删除其它报表再授权。'], + ['errorCode' => 'Resource.NotBelongTo.CurrentOrganization', 'errorMessage' => 'The resource does not belong to the current organization.', 'description' => '该资源不属于当前组织。'], + ['errorCode' => 'Report.NotExist.Error', 'errorMessage' => 'This work does not exist. It may have been deleted. Work ID is %s.', 'description' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['errorCode' => 'NoPermissionTo.Operate.Object', 'errorMessage' => 'You are not authorized to operate the objects.', 'description' => '您无权操作这些对象。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": 1,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateEmbeddedStatusResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>1</Result>\\n <Success>true</Success>\\n</UpdateEmbeddedStatusResponse>","errorExample":""}]', 'title' => '更改报表的嵌入状态', 'changeSet' => [ - [ - 'createdAt' => '2025-02-11T06:04:44.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-09-18T02:06:59.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-04-06T10:12:47.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:57.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-02-11T06:04:44.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-09-18T02:06:59.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-04-06T10:12:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:57.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateEmbeddedStatus', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEmbeddedStatus'], ], ], 'ramActions' => [ @@ -24384,12 +13463,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -24397,13 +13471,8 @@ ], 'UpdateTicketNum' => [ 'summary' => '对用于免登嵌入报表的指定的ticket进行更新票据数量操作。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24411,37 +13480,18 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'Ticket', 'in' => 'query', - 'schema' => [ - 'description' => '三方嵌入的票据值,即URL中的accessTicket值。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '040e6f79d33444838***83c7206c070', - ], + 'schema' => ['description' => '三方嵌入的票据值,即URL中的accessTicket值。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '040e6f79d33444838***83c7206c070'], ], [ 'name' => 'TicketNum', 'in' => 'query', - 'schema' => [ - 'description' => '票据数。'."\n" - .'- 取值范围:1~99998,建议值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '票据数。'."\n" + .'- 取值范围:1~99998,建议值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], ], 'responses' => [ @@ -24449,26 +13499,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '是否更新成功。取值范围:'."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '是否更新成功。取值范围:'."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -24476,67 +13514,25 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', - 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', - 'description' => 'Ticket绑定的报表与访问页面报表不一致。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.Expired', - 'errorMessage' => 'Ticket [%s] has expired.', - 'description' => '当前票据[%s]已过期。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', - 'errorMessage' => 'The request [%s] has no token.', - 'description' => '当前请求 [%s] 未找到token信息。', - ], - [ - 'errorCode' => 'Authorize3rdTicket.NotExist', - 'errorMessage' => 'Ticket %s does not exist.', - 'description' => '当前票据%s不存在。', - ], - [ - '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' => '您无权操作这些对象。', - ], + ['errorCode' => 'Authorize3rdTicket.BindedWorks.Mismatch', 'errorMessage' => 'The report bound by the ticket mismatches the actual report.', 'description' => 'Ticket绑定的报表与访问页面报表不一致。'], + ['errorCode' => 'Authorize3rdTicket.Expired', 'errorMessage' => 'Ticket [%s] has expired.', 'description' => '当前票据[%s]已过期。'], + ['errorCode' => 'Authorize3rdTicket.HasNo.LoginToken', 'errorMessage' => 'The request [%s] has no token.', 'description' => '当前请求 [%s] 未找到token信息。'], + ['errorCode' => 'Authorize3rdTicket.NotExist', 'errorMessage' => 'Ticket %s does not exist.', 'description' => '当前票据%s不存在。'], + ['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' => '您无权操作这些对象。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D787E1A3-A93C-424A-B626-C2B05DF8D885\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTicketNumResponse>\\n <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n</UpdateTicketNumResponse>","errorExample":""}]', 'title' => '更新嵌入ticket票据数量', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-04-06T10:12:47.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-04-06T10:12:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateTicketNum', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTicketNum'], ], ], 'ramActions' => [ @@ -24547,12 +13543,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -24560,13 +13551,8 @@ ], 'UpdateUser' => [ 'summary' => '更新组织下指定成员的信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24574,58 +13560,33 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '待更新的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], + 'schema' => ['description' => '待更新的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], ], [ 'name' => 'AdminUser', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '是否赋予组织管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', - 'type' => 'boolean', - 'deprecated' => false, - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否赋予组织管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', 'type' => 'boolean', 'deprecated' => false, 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'AuthAdminUser', 'in' => 'query', - 'schema' => [ - 'description' => '是否赋予组织权限管理员角色。取值范围:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否'."\n" - ."\n" - .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否赋予组织权限管理员角色。取值范围:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否'."\n" + ."\n" + .'<notice>参数已过期不推荐使用,当传入RoleIds 时该参数无效。</notice>', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'UserType', @@ -24643,51 +13604,58 @@ 'maximum' => '10', 'minimum' => '1', 'example' => '1', - 'enum' => [ - '1', - '2', - '3', - ], + 'enum' => ['1', '2', '3'], ], ], [ 'name' => 'NickName', 'in' => 'query', - 'schema' => [ - 'description' => '昵称。'."\n" - ."\n" - .'- 格式检查:最大长度50个字符。'."\n" - .'- 特殊格式校验:中英文数字 _ \\ / | () ] [', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '小张', - ], + 'schema' => ['description' => '昵称。'."\n" + ."\n" + .'- 格式检查:最大长度50个字符。'."\n" + .'- 特殊格式校验:中英文数字 _ \\ / | () ] [', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ 'name' => 'RoleIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户绑定的预置或自定义组织角色ID,用英文逗号“,”分割,最多3个。取值范围:'."\n" - .'- 组织管理员(预置角色):111111111'."\n" - .'- 权限管理员(预置角色):111111112'."\n" - .'- 普通用户(预置角色):111111113', - 'type' => 'string', - 'required' => false, - 'example' => '111111111,456', - ], + 'schema' => ['description' => '用户绑定的预置或自定义组织角色ID,用英文逗号“,”分割,最多3个。取值范围:'."\n" + .'- 组织管理员(预置角色):111111111'."\n" + .'- 权限管理员(预置角色):111111112'."\n" + .'- 普通用户(预置角色):111111113', 'type' => 'string', 'required' => false, 'example' => '111111111,456'], ], [ 'name' => 'IsDeleted', 'in' => 'query', - 'schema' => [ - 'description' => '用户状态:'."\n" - .'* **false**:激活'."\n" - .'* **true**:失效', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '用户状态:'."\n" + .'* **false**:激活'."\n" + .'* **true**:失效', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'CopilotModules', + 'in' => 'query', + 'schema' => ['title' => '智能化模块配额修改信息。', 'description' => '智能化模块配额修改信息。'."\n" + ."\n" + .'传参以 json 数组方式,每个数组内容如下'."\n" + ."\n" + .'moduleType -- 智能化模块'."\n" + .'- smartQAskNum -- 小 Q 问数'."\n" + .'- smartQDevNum -- 小 Q 搭建'."\n" + .'- qreport -- 小 Q 报告'."\n" + .'- qExploreNum -- 小 Q 探索版'."\n" + ."\n" + .'status -- 是否开启'."\n" + ."\n" + .'- 0 -- 取消授权'."\n" + .'- 1 -- 授权', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' {'."\n" + .' "moduleType": "smartQAskNum",'."\n" + .' "status": 1'."\n" + .' },'."\n" + .' {'."\n" + .' "moduleType": "smartQDevNum",'."\n" + .' "status": 0'."\n" + .' }'."\n" + .']'], ], ], 'responses' => [ @@ -24695,113 +13663,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC4E1E63-B337-44F8-8C22-6F00DF67E2C3'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], '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' => '', - ], + ['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' => '组织开发者已达到上限 %s 人,请升级联系组织管理员升级开发者数量。'."\n"], + ['errorCode' => 'Organization.Viewers.ReachedTheUpperLimit', 'errorMessage' => 'The visitors of the organization have reached the upper limit:%s.', 'description' => '组织访问者已达到上限%s人,请升级联系组织管理员升级访问者数量。'], + ['errorCode' => 'Organization.Analysts.ReachedTheUpperLimit', 'errorMessage' => 'The analysts of the organization have reached the upper limit:%s.', 'description' => '组织分析师已达到上限%s人,请升级联系组织管理员升级分析师数量。'], + ['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' => '用户 %s 在组织中必须有一个角色。'], + ['errorCode' => 'RoleCount.ExceedsLimit.Error', 'errorMessage' => 'The user role cannot exceed three.', 'description' => '用户角色不能超过三个。'], + ['errorCode' => 'BindRole.NotExist.Error', 'errorMessage' => 'Bind role not exist, %s.', 'description' => '绑定的角色不存在,%s。'], + ['errorCode' => 'Robot.Module.Exhausted', 'errorMessage' => 'The Quota of %s module has been exhausted.', 'description' => '%s模块的配额已耗尽。'], ], ], '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' => '更新组织成员信息', - 'changeSet' => [], + 'changeSet' => [ + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-02-26T09:29:01.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUser'], + ], + ], 'ramActions' => [ [ 'operationType' => 'update', @@ -24810,12 +13718,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -24823,13 +13726,8 @@ ], 'UpdateUserGroup' => [ 'summary' => '更新组织下指定用户组的信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24837,52 +13735,28 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '用户组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****', - ], + 'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f5eeb52e-d9c2-4a8b-80e3-47ab55c2****'], ], [ 'name' => 'UserGroupName', 'in' => 'query', - 'schema' => [ - 'description' => '用户组名称。'."\n" - ."\n" - .'- 格式校验:最大长度255'."\n" - .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'pop0001', - ], + 'schema' => ['description' => '用户组名称。'."\n" + ."\n" + .'- 格式校验:最大长度255'."\n" + .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'pop0001'], ], [ 'name' => 'UserGroupDescription', 'in' => 'query', - 'schema' => [ - 'description' => '用户组描述。'."\n" - ."\n" - .'- 格式校验:最大长度255'."\n" - .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '描述信息', - ], + 'schema' => ['description' => '用户组描述。'."\n" + ."\n" + .'- 格式校验:最大长度255'."\n" + .'- 特殊格式校验:中英文数字 _ \\ / | () ] \\[', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '描述信息'], ], ], 'responses' => [ @@ -24890,58 +13764,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4AEF8C5C-D5D2-55D3-BB2F-9D3AA1B6F4FA', - ], - 'Result' => [ - 'description' => '接口是否执行成功。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4AEF8C5C-D5D2-55D3-BB2F-9D3AA1B6F4FA'], + 'Result' => ['description' => '接口是否执行成功。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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":""}]', @@ -24955,12 +13797,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -24968,13 +13805,8 @@ ], 'UpdateUserTagMeta' => [ 'summary' => '用于更新组织成员标签元信息。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24982,52 +13814,28 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'TagId', 'in' => 'query', - 'schema' => [ - 'description' => '指定的TagID。'."\n" - ."\n" - .'- 格式检查:最大长度64个字符。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'e82f6c6c0333431bad0225b2f85e****', - ], + 'schema' => ['description' => '指定的TagID。'."\n" + ."\n" + .'- 格式检查:最大长度64个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e82f6c6c0333431bad0225b2f85e****'], ], [ 'name' => 'TagName', 'in' => 'query', - 'schema' => [ - 'description' => '标签名称。'."\n" - .'- 格式检查:最大长度50个字符。'."\n" - .'- 只允许输入中英文数字和/\\|[]()符号。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '职位', - ], + 'schema' => ['description' => '标签名称。'."\n" + .'- 格式检查:最大长度50个字符。'."\n" + .'- 只允许输入中英文数字和/\\|[]()符号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '职位'], ], [ 'name' => 'TagDescription', 'in' => 'query', - 'schema' => [ - 'description' => '标签描述。'."\n" - ."\n" - .'- 格式检查:最大长度255个字符。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '部门内的工作职位', - ], + 'schema' => ['description' => '标签描述。'."\n" + ."\n" + .'- 格式检查:最大长度255个字符。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '部门内的工作职位'], ], ], 'responses' => [ @@ -25035,82 +13843,36 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '接口是否执行成功。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '接口是否执行成功。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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' => '', - ], + ['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', - ], + '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' => '更新组织成员标签元信息', 'changeSet' => [ - [ - 'createdAt' => '2025-03-14T06:35:33.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-04-06T10:12:47.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2025-03-14T06:35:33.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-04-06T10:12:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -25120,12 +13882,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -25133,13 +13890,8 @@ ], 'UpdateUserTagValue' => [ 'summary' => '更新组织成员标签值。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25147,50 +13899,26 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '待修改标签值的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'fe67f61a35a94b7da1a34ba174a7****', - ], + 'schema' => ['description' => '待修改标签值的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'fe67f61a35a94b7da1a34ba174a7****'], ], [ 'name' => 'TagId', 'in' => 'query', - 'schema' => [ - 'description' => '待修改的标签ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pop_001', - ], + 'schema' => ['description' => '待修改的标签ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pop_001'], ], [ 'name' => 'TagValue', 'in' => 'query', - 'schema' => [ - 'description' => '待修改的标签值。'."\n" - ."\n" - .'- 如果需要清除该标签,则设置标签值为($NULL$)。'."\n" - .'- 多值请用英文逗号分割。'."\n" - .'- 格式校验,最大长度:3000字符', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '产品总监', - ], + 'schema' => ['description' => '待修改的标签值。'."\n" + ."\n" + .'- 如果需要清除该标签,则设置标签值为($NULL$)。'."\n" + .'- 多值请用英文逗号分割。'."\n" + .'- 格式校验,最大长度:3000字符', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '产品总监'], ], ], 'responses' => [ @@ -25198,38 +13926,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '46e5374665ba4b679ee22e2a29270', - ], - 'Result' => [ - 'description' => '返回修改用户标签的结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '46e5374665ba4b679ee22e2a29270'], + 'Result' => ['description' => '返回修改用户标签的结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UserTag.NotIn.CurrentOrganization', - 'errorMessage' => 'The user tag is not in the current organization.', - 'description' => '', - ], + ['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":""}]', @@ -25243,12 +13955,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -25256,13 +13963,8 @@ ], 'UpdateWorkspaceUserRole' => [ 'summary' => '修改工作空间下指定成员的角色,已有的角色会被覆盖。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25270,35 +13972,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Quick BI用户ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'f5698bedeb384b1986afccd9e434****', - ], + 'schema' => ['description' => 'Quick BI用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f5698bedeb384b1986afccd9e434****'], ], [ 'name' => 'RoleId', @@ -25317,25 +14001,14 @@ 'maximum' => '30', 'minimum' => '25', 'example' => '25', - 'enum' => [ - '25', - '26', - '27', - '30', - ], + 'enum' => ['25', '26', '27', '30'], ], ], [ 'name' => 'RoleIds', 'in' => 'query', - 'schema' => [ - 'title' => '空间角色ID数组', - 'description' => '多个空间角色ID,以逗号分隔,如果传了该值,以该值为准。'."\n" - .'><notice>roleId和roleIds不能同时为空></notice>', - 'type' => 'string', - 'required' => false, - 'example' => '25,26', - ], + 'schema' => ['title' => '空间角色ID数组', 'description' => '多个空间角色ID,以逗号分隔,如果传了该值,以该值为准。'."\n" + .'><notice>roleId和roleIds不能同时为空></notice>', 'type' => 'string', 'required' => false, 'example' => '25,26'], ], ], 'responses' => [ @@ -25343,103 +14016,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D787E1A3-A93C-424A-B626-C2B05DF8D885'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], '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', - ], + ['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' => '修改工作空间成员角色', 'changeSet' => [], @@ -25451,12 +14058,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -25464,50 +14066,27 @@ ], 'UpdateWorkspaceUsersRole' => [ 'summary' => '批量更新工作空间成员的角色信息,已有角色会被覆盖。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****', - ], + 'schema' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '95296e95-ca89-4c7d-8af9-dedf0ad0****'], ], [ 'name' => 'UserIds', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。'."\n" - ."\n" - .'- 支持批量传参,用户ID之间用半角逗号(,)隔开。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '136516262323****,124498444445****', - ], + 'schema' => ['description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。'."\n" + ."\n" + .'- 支持批量传参,用户ID之间用半角逗号(,)隔开。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '136516262323****,124498444445****'], ], [ 'name' => 'RoleId', @@ -25525,12 +14104,7 @@ 'maximum' => '30', 'minimum' => '25', 'example' => '25', - 'enum' => [ - '25', - '26', - '27', - '30', - ], + 'enum' => ['25', '26', '27', '30'], ], ], ], @@ -25539,45 +14113,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功,存在部分成员修改成功,部分修改失败的情况,失败的原因参考返回结果中的FailureDetail'."\n" - .'- false:请求失败,不会持久化任何数据', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976', - ], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功,存在部分成员修改成功,部分修改失败的情况,失败的原因参考返回结果中的FailureDetail'."\n" + .'- false:请求失败,不会持久化任何数据', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7AAB95D7-2E11-4FE2-94BC-858E4FC0C976'], 'Result' => [ 'description' => '返回接口执行结果。', 'type' => 'object', 'properties' => [ - 'Failure' => [ - 'description' => '修改失败的用户数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'FailureDetail' => [ - 'description' => '修改失败的原因。', - 'type' => 'object', - ], - 'Success' => [ - 'description' => '修改成功的用户数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Total' => [ - 'description' => '修改用户的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'Failure' => ['description' => '修改失败的用户数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'FailureDetail' => ['description' => '修改失败的原因。', 'type' => 'object'], + 'Success' => ['description' => '修改成功的用户数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Total' => ['description' => '修改用户的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], ], ], @@ -25586,72 +14134,24 @@ ], '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' => '', - ], + ['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' => '批量更新工作空间成员的角色', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:30.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-08-07T06:37:07.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-04-06T10:12:47.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:30.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-07T06:37:07.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-04-06T10:12:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -25661,12 +14161,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -25674,37 +14169,20 @@ ], 'WithdrawAllUserGroups' => [ 'summary' => '使用户退出所有用户组,该过程不可逆,请谨慎操作。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '老api,且接入bypass空鉴权。'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '46e5374665ba4b679ee22e2a2927****', - ], + 'schema' => ['description' => '用户ID。此处为Quick BI的UserID,而非阿里云的UID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '46e5374665ba4b679ee22e2a2927****'], ], ], 'responses' => [ @@ -25712,27 +14190,15 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4', - ], - 'Result' => [ - 'description' => '返回接口执行结果。取值范围:'."\n" - ."\n" - .'- true:执行成功'."\n" - .'- false:执行失败', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否请求成功。取值范围:'."\n" - ."\n" - .'- true:请求成功'."\n" - .'- false:请求失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D8749D65-E80A-433C-AF1B-CE9C180FF3B4'], + 'Result' => ['description' => '返回接口执行结果。取值范围:'."\n" + ."\n" + .'- true:执行成功'."\n" + .'- false:执行失败', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否请求成功。取值范围:'."\n" + ."\n" + .'- true:请求成功'."\n" + .'- false:请求失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -25741,18 +14207,9 @@ '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' => '用户退出所有用户组', 'changeSet' => [ - [ - 'createdAt' => '2024-10-18T01:53:31.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2023-04-06T10:12:47.000Z', - 'description' => '错误码发生变更', - ], - [ - 'createdAt' => '2022-03-04T09:50:58.000Z', - 'description' => 'OpenAPI 下线', - ], + ['createdAt' => '2024-10-18T01:53:31.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-04-06T10:12:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-03-04T09:50:58.000Z', 'description' => 'OpenAPI 下线'], ], 'ramActions' => [ [ @@ -25762,12 +14219,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -25775,1862 +14227,438 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-1', - 'regionName' => '日本(东京)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '新加坡', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '马来西亚(吉隆坡)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '印度尼西亚(雅加达)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华东1(杭州)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '中国香港', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '美国(弗吉尼亚)', - 'areaId' => 'europeAmerica', - 'areaName' => '欧洲与美洲', - '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' => '德国(法兰克福)', - 'areaId' => 'europeAmerica', - 'areaName' => '欧洲与美洲', - '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' => '沙特(利雅得)', - 'areaId' => 'middleEast', - 'areaName' => '中东与印度', - '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' => '华东2 金融云', - 'areaId' => 'industryCloud', - 'areaName' => '行业云', - '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', - ], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', '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' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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' => '您的实例版本或者 AccessKey不允许调用该 API,仅专业版支持调用。', - ], - [ - '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' => '菜单与门户网站不匹配。', - ], - [ - 'code' => 'AE0579100001', - 'message' => 'Duplicate users found with account name: %s.', - 'http_code' => 400, - 'description' => '查询到重复的用户,账号名为:%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' => '您无权调用此数据服务API。', - ], - [ - 'code' => 'API.Not.Exist', - 'message' => 'The data service API operation does not exist.', - 'http_code' => 400, - 'description' => '数据服务 API 不存在。', - ], - [ - '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' => 'API数据源不存在。', - ], - [ - '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' => '目标API数据源不在指定工作空间中。', - ], - [ - 'code' => 'ApiDataSource.NotIn.Workspace', - 'message' => 'Target apiId not in target workspace.', - 'http_code' => 400, - 'description' => '目标API不在工作空间内。', - ], - [ - 'code' => 'ApiDatasource.Param.IsNull', - 'message' => 'Api datasource modify parameters is null.', - 'http_code' => 400, - 'description' => 'API数据源的修改参数parameters为空。', - ], - [ - 'code' => 'ApiDatasource.Param.Oversize', - 'message' => 'The number of parameters of API data source exceeds the limit and cannot exceed %s.', - 'http_code' => 400, - 'description' => 'API数据源的参数数量超过限制,不能超过%s个。', - ], - [ - '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' => '用户不存在。', - ], - [ - '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' => '授权报表已达上限,请升级配置或删除其它报表再授权。', - ], - [ - 'code' => 'Authorize3Rd.AccesskeyOrg.Illegal', - 'message' => 'The AccessKey ID does not match the organization.', - 'http_code' => 500, - 'description' => 'accessId与组织不匹配。', - ], - [ - 'code' => 'Authorize3Rd.Icode.NotExist', - 'message' => 'The key used for signing does not exist.', - 'http_code' => 500, - 'description' => '使用的密钥对不存在。', - ], - [ - 'code' => 'Authorize3Rd.Page.Illegal', - 'message' => 'The report must be %s.', - 'http_code' => 500, - 'description' => '报表必须是%s。', - ], - [ - 'code' => 'Authorize3Rd.Page.Org.Illegal', - 'message' => 'The report does not match the organization.', - 'http_code' => 500, - 'description' => '报表与组织不匹配。', - ], - [ - 'code' => 'Authorize3Rd.Report.Unauthorized', - 'message' => 'The report is not enabled for third party embedding.', - 'http_code' => 400, - 'description' => '报表未开通三方嵌入,请开通后重试。', - ], - [ - 'code' => 'Authorize3Rd.Token.Expired', - 'message' => 'The token [%s] has expired.', - 'http_code' => 500, - 'description' => 'token 已经过期: [%s]。', - ], - [ - 'code' => 'Authorize3Rd.Token.NotExist', - 'message' => 'The token [%s] does not exist.', - 'http_code' => 500, - 'description' => 'token不存在:[%s]。', - ], - [ - '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' => '该用户改报表已经创建太多token [%s], 请勿重复申请。', - ], - [ - 'code' => 'Authorize3Rd.User.Illegal', - 'message' => 'The global variable userId of the report is invalid.', - 'http_code' => 500, - 'description' => '报表全局参数userId不合法。', - ], - [ - 'code' => 'Authorize3rdTicket.BindedWorks.Mismatch', - 'message' => 'The report bound by the ticket mismatches the actual report.', - 'http_code' => 400, - 'description' => 'Ticket绑定的报表与访问页面报表不一致。', - ], - [ - 'code' => 'Authorize3rdTicket.Expired', - 'message' => 'Ticket [%s] has expired.', - 'http_code' => 400, - 'description' => '当前票据[%s]已过期。', - ], - [ - 'code' => 'Authorize3rdTicket.HasNo.LoginToken', - 'message' => 'The request [%s] has no token.', - 'http_code' => 400, - 'description' => '当前请求 [%s] 未找到token信息。', - ], - [ - 'code' => 'Authorize3rdTicket.NotExist', - 'message' => 'Ticket %s does not exist.', - 'http_code' => 400, - 'description' => '当前票据%s不存在。', - ], - [ - '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' => '大屏嵌入不支持水印参数。', - ], - [ - 'code' => 'BindRole.NotExist.Error', - 'message' => 'Bind role not exist, %s.', - 'http_code' => 400, - 'description' => '绑定的角色不存在,%s。', - ], - [ - 'code' => 'BindRole.NotExistIn.Org', - 'message' => 'The bound role does not exist, %s.', - 'http_code' => 400, - 'description' => '绑定的角色不存在,%s。', - ], - [ - 'code' => 'CanNot.Remove.WorkspaceOwner', - 'message' => 'You cannot remove the group workspace owner from the group.', - 'http_code' => 400, - 'description' => '不能将群空间拥有者剔除出群。', - ], - [ - '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' => '当前用户标签表字段来自于多个标签表,不允许使用多行分别计算。', - ], - [ - 'code' => 'Cannot.TransferTo.Owner', - 'message' => 'You cannot transfer an item to its current owner.', - 'http_code' => 400, - 'description' => '不能转让给所属者。', - ], - [ - 'code' => 'CannotRemove.OrganizationOwner', - 'message' => 'You cannot remove the organization owner from the organization.', - 'http_code' => 400, - 'description' => '不能将组织所有者踢出组织。', - ], - [ - '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' => '机器人名称最大长度限制为10。', - ], - [ - 'code' => 'Copilot.Modulename.Error', - 'message' => 'ModuleName max length limit 20.', - 'http_code' => 400, - 'description' => '模块名称最大长度是20。', - ], - [ - 'code' => 'CopilotEmbed.Config.NotFind', - 'message' => 'Can not find copilot embed config with this copilot ID.', - 'http_code' => 400, - 'description' => '找不到此嵌入配置', - ], - [ - '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' => '创建工作空间超过了最大数量限制:%s。', - ], - [ - 'code' => 'Cube.DimensionLevelMember.TooLong', - 'message' => 'The dimension value %s must be 1 to 255 characters in length.', - 'http_code' => 500, - 'description' => '维度值%s长度不能超过255个字节。', - ], - [ - 'code' => 'Cube.DuplicatedName.Error', - 'message' => 'The dataset name already exists. Modify the name before saving.', - 'http_code' => 400, - 'description' => '数据集名称已存在,请修改名称后再保存。', - ], - [ - 'code' => 'Cube.Not.Exist', - 'message' => 'The Cube does not exist.', - 'http_code' => 400, - 'description' => '数据集不存在。', - ], - [ - 'code' => 'Cube.NotBelongTo.CurrentOrganization', - 'message' => 'The cube does not belong to the current organization %s.', - 'http_code' => 400, - 'description' => '数据集模型不属于当前组织。', - ], - [ - 'code' => 'Cube.ParseToXml.Error', - 'message' => 'An error occurred while parsing a dataset object to XML format.', - 'http_code' => 400, - 'description' => '将多维数据集对象解析为XML错误。', - ], - [ - 'code' => 'Cube.RowLevelPermission.NotOpen', - 'message' => 'Row level permission control switch is not enabled for dataset %s.', - 'http_code' => 500, - 'description' => '数据集没有开启行级权限校验。', - ], - [ - 'code' => 'CubeColumn.RowLevelPermission.NotOpen', - 'message' => 'Row level permission control switch is not enabled for dataset field: %s.', - 'http_code' => 500, - 'description' => '数据集维度字段的行级权限没有打开。', - ], - [ - 'code' => 'CubeDimension.NotExist.Error', - 'message' => 'The dimension does not exist in the dataset. The dimension ID is %s.', - 'http_code' => 500, - 'description' => '数据集包含的维度不存在,维度path id:%s。', - ], - [ - 'code' => 'CubeDimension.NotExist.Error', - 'message' => 'The dimension does not exist in the dataset. The dimension ID is %s.', - 'http_code' => 400, - 'description' => '数据集包含的维度不存在,维度path id:%s。', - ], - [ - 'code' => 'CubeMeta.ToXml.Error', - 'message' => 'An error occurred while converting the data object to the XML format.', - 'http_code' => 400, - 'description' => '数据对象转换XML失败。', - ], - [ - 'code' => 'CubePermission.Columnlevel.VersionError', - 'message' => 'You are not allowed to use the new dataLevelPermission API.', - 'http_code' => 400, - 'description' => '没有权限使用新版行列权限。', - ], - [ - 'code' => 'CubePermission.ColumnlevelField.Repeat', - 'message' => 'There are duplicate field configurations.', - 'http_code' => 400, - 'description' => '有重复的字段配置。', - ], - [ - 'code' => 'CubeSchema.Not.Exist', - 'message' => 'The cube schema does not exist.', - 'http_code' => 400, - 'description' => '数据集模型不存在。', - ], - [ - 'code' => 'Database.PortInvalid.Error', - 'message' => 'The database port is invalid.', - 'http_code' => 400, - 'description' => '数据库端口无效。', - ], - [ - 'code' => 'DataService.InputParam.Error', - 'message' => 'input parameter error: %s.', - 'http_code' => 400, - 'description' => '输入的参数有误: %s。', - ], - [ - 'code' => 'Datasource.Hostile.AttackError', - 'message' => 'You cannot create more data source connection tests.', - 'http_code' => 400, - 'description' => '您的帐户已达到检测的最大次数。', - ], - [ - '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' => '数据源不存在:%s。', - ], - [ - 'code' => 'Datasource.Sql.ExecuteFailed', - 'message' => 'Failed to execute the SQL statement in the data source.', - 'http_code' => 400, - 'description' => '数据源执行SQL失败。', - ], - [ - 'code' => 'Datasource.UserPermission.Error', - 'message' => 'You do not have datasource authorization.', - 'http_code' => 400, - 'description' => '当前用户没有数据源权限。', - ], - [ - 'code' => 'DatasourceEcs.AddressIp.Mismatch', - 'message' => 'The destination hostname or IP address is invalid.', - 'http_code' => 400, - 'description' => '数据库地址校验错误,请修改正确地址,阿里云数据库请使用云数据库连接。', - ], - [ - 'code' => 'DatasourceId.IsNull.Error', - 'message' => 'You must select a data source before selecting the table.', - 'http_code' => 400, - 'description' => '必须选择数据源之后再选择表。', - ], - [ - 'code' => 'DatasourceSsrf.Inner.Rds', - 'message' => 'You are not granted the access permission.', - 'http_code' => 400, - 'description' => '当前用户无权访问。', - ], - [ - 'code' => 'DatasourceSsrf.RdsDomain.Mismatch', - 'message' => 'RDS domain name mismatch.', - 'http_code' => 400, - 'description' => '数据库地址校验错误,请修改正确地址,非阿里云数据库请使用自建数据源连接。', - ], - [ - 'code' => 'Date.Check.Error', - 'message' => 'The end date cannot be greater than the start date.', - 'http_code' => 400, - 'description' => '结束日期不能大于开始日期', - ], - [ - 'code' => 'Date.Exceed.Error', - 'message' => 'The start date must be within 90 days from the current date.', - 'http_code' => 400, - 'description' => '开始日期不能早于当前日期90天', - ], - [ - 'code' => 'Date.Format.Error', - 'message' => 'Date format conversion error.', - 'http_code' => 400, - 'description' => '日期格式转换错误', - ], - [ - 'code' => 'Db.Error', - 'message' => 'An error occurred while accessing the database.', - 'http_code' => 400, - 'description' => '数据库访问异常。', - ], - [ - 'code' => 'Decryption.Error', - 'message' => 'An error occurred while decoding.', - 'http_code' => 400, - 'description' => '解密失败。', - ], - [ - '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' => '当前角色绑定分析师%s,当前修改内容超出分析师权限,请修改角色配置。', - ], - [ - 'code' => 'Directory.NotExist.Error', - 'message' => 'The directory does not exist.', - 'http_code' => 400, - 'description' => '文件夹不存在。', - ], - [ - 'code' => 'DirtyData.Duplicate.User', - 'message' => 'Dirty data,duplicate user: %s.', - 'http_code' => 400, - 'description' => '脏数据,重复的用户:%s。', - ], - [ - 'code' => 'Duplicate.Name.Error', - 'message' => 'The name already exists.', - 'http_code' => 400, - 'description' => '命名重复。', - ], - [ - 'code' => 'Duplicate.UserGroup.Id', - 'message' => 'Duplicated usergroupId %s.', - 'http_code' => 400, - 'description' => '重复的用户组ID %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' => '已经存在同名用户组“%s”,请修改名称后再保存。', - ], - [ - 'code' => 'Duplicate.WorkSpaceName.Error', - 'message' => 'There is already a workspace with the same name %s, please rename it before saving.', - 'http_code' => 400, - 'description' => '已经存在同名工作空间“%s”,请修改名称后再保存。', - ], - [ - 'code' => 'Duplicated.Role.Name', - 'message' => 'The character "%s" with the same name already exists, please modify the name before saving.', - 'http_code' => 400, - 'description' => '已经存在同名角色“%s”,请修改名称后再保存!', - ], - [ - 'code' => 'Favorite.NotCancel.Permission', - 'message' => 'You have not added this work to favorites.', - 'http_code' => 400, - 'description' => '你没有此收藏作品,请检查。', - ], - [ - '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' => '飞书参数错误:%s。', - ], - [ - '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' => '飞书用户只能被添加到飞书或BI用户组中。', - ], - [ - 'code' => 'Fobbiden.Action', - 'message' => 'The organization owner must have the administrator role.', - 'http_code' => 400, - 'description' => '不能将组织所有者设置为非管理员。', - ], - [ - 'code' => 'FolderMenu.CanNot.Authorize', - 'message' => 'The folder type menu cannot be authorized. Menu ID: %s.', - 'http_code' => 400, - 'description' => '文件夹类型菜单无法进行授权操作,menuId为%s。', - ], - [ - 'code' => 'Forbidden.Access.Operation', - 'message' => 'Forbidden access on this operation.', - 'http_code' => 400, - 'description' => '无权进行该操作', - ], - [ - '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' => '权限不足,当前用户非组织管理员或空间管理员。', - ], - [ - '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' => '您的购买实例已经过期。', - ], - [ - 'code' => 'Instance.Not.Exist', - 'message' => 'The specified instance does not exist.', - 'http_code' => 400, - 'description' => '暂未匹配到您的购买实例。', - ], - [ - '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' => '您可以添加的用户已达上限,请升级配置或移除其它用户后再添加。', - ], - [ - 'code' => 'Internal.System.Error', - 'message' => 'An internal system error occurred.', - 'http_code' => 400, - 'description' => '系统内部异常。', - ], - [ - 'code' => 'Invalid.Organization', - 'message' => 'The specified organizational unit does not exist.', - 'http_code' => 400, - 'description' => '该组织不存在。', - ], - [ - 'code' => 'Invalid.Param.Error', - 'message' => 'The parameter is invalid.', - 'http_code' => 400, - 'description' => '无效参数。', - ], - [ - 'code' => 'Invalid.Parameter', - 'message' => 'The length of the parameter must not exceed 1000.', - 'http_code' => 297, - 'description' => '参数长度超过1000条限制', - ], - [ - 'code' => 'Invalid.Parameter', - 'message' => 'You must specify the parameter.', - 'http_code' => 297, - 'description' => '参数不能为空', - ], - [ - 'code' => 'Invalid.Parameter', - 'message' => 'An error occurred while verifying parameters.', - 'http_code' => 400, - 'description' => '参数验证失败。', - ], - [ - 'code' => 'Invalid.Parameter.Conditions', - 'message' => 'The specified Conditions is invalid. %s is not defined.', - 'http_code' => 400, - 'description' => '参数 Conditions 错误:%s 未在模型中定义。', - ], - [ - 'code' => 'Invalid.Parameter.Error', - 'message' => 'The parameter is invalid:%s.', - 'http_code' => 400, - 'description' => '无效参数%s。', - ], - [ - 'code' => 'Invalid.Parameter.ReturnFields', - 'message' => 'The specified returnFields is invalid. %s is not defined.', - 'http_code' => 400, - 'description' => ' 参数ReturnFields错误:%s 未在模型中定义。', - ], - [ - 'code' => 'Invalid.User', - 'message' => 'The user does not exist and cannot be added to a user group.', - 'http_code' => 400, - 'description' => '用户不存在,无法将其添加到用户组。', - ], - [ - 'code' => 'Invalid.User.Admin', - 'message' => 'You are not an administrator of this organization.', - 'http_code' => 400, - 'description' => '没有权限,您不是组织管理员。', - ], - [ - 'code' => 'Invalid.User.Organization', - 'message' => 'The user is not in your organization.', - 'http_code' => 400, - 'description' => '该用户不在您的组织中。', - ], - [ - 'code' => 'Invalid.Works.Empty', - 'message' => 'This work does not exist. It may have been deleted. Work ID is %s.', - 'http_code' => 400, - 'description' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - 'code' => 'Invalid.WorksId.Not.Publish', - 'message' => 'Works %s is not published yet.', - 'http_code' => 400, - 'description' => '作品%s还未发布。', - ], - [ - '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' => '上次任务状态为警告或失败,请检查。', - ], - [ - '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' => '日志类型的格式错误', - ], - [ - 'code' => 'Mail.Forbidden.Access', - 'message' => 'Forbidden Access On This Operation.', - 'http_code' => 400, - 'description' => '禁止访问此操作。', - ], - [ - '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' => '订阅任务不存在。', - ], - [ - 'code' => 'Mail.Not.Found', - 'message' => 'Mail not found.', - 'http_code' => 400, - 'description' => '邮件不存在', - ], - [ - 'code' => 'Mail.Subject.Error', - 'message' => 'The mail subject is invalid.', - 'http_code' => 400, - 'description' => '邮件主题参数不合法', - ], - [ - 'code' => 'MailApi.Beyond.ScheduleLimit', - 'message' => 'Mail Subscription Openapi Requests Are Frequent. Please Try Again In %s Minutes.', - 'http_code' => 400, - 'description' => '邮件订阅openApi请求频繁,请%s分钟后重试。', - ], - [ - 'code' => 'MailId.Is.Null', - 'message' => 'The Mail Id Is Null.', - 'http_code' => 400, - 'description' => '参数mailId为空。', - ], - [ - 'code' => 'MailTask.Already.Running', - 'message' => 'The Mail Task Is Already Running.', - 'http_code' => 400, - 'description' => '邮件任务当前已在运行中。', - ], - [ - 'code' => 'Measure.CanNotUse.RowLevelPermission', - 'message' => 'You cannot grant row level permissions to measure %s.', - 'http_code' => 500, - 'description' => '不支持度量字段开启行级权限。', - ], - [ - 'code' => 'Member.ExistInWorkspace.Error', - 'message' => 'You cannot remove a user who is a member of a group workspace.', - 'http_code' => 400, - 'description' => '该用户仍在群空间中,无法移除。', - ], - [ - 'code' => 'Menu.NotBelongTo.CurrentDataportal', - 'message' => 'Menu %s does not belong to the current data portal %s.', - 'http_code' => 400, - 'description' => '菜单%s不属于当前数据门户%s。', - ], - [ - 'code' => 'Missing.Conditions', - 'message' => 'The specified Conditions is invalid. You must specify %s.', - 'http_code' => 400, - 'description' => '输入参数Conditions 错误: %s 是必须项。', - ], - [ - 'code' => 'Missing.Dimension.Measure', - 'message' => 'The dimension or measure %s does not exist in Cube.', - 'http_code' => 400, - 'description' => ' Cube 模型中缺少维度或度量 %s 。', - ], - [ - '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' => '名称长度不能超过%s个字符。', - ], - [ - 'code' => 'NickName.AlreadyIn.Organization', - 'message' => 'The alias already exists.', - 'http_code' => 400, - 'description' => '昵称已存在。', - ], - [ - 'code' => 'NoPermissionTo.Operate.Object', - 'message' => 'You are not authorized to operate the objects.', - 'http_code' => 400, - 'description' => '您无权操作这些对象。', - ], - [ - 'code' => 'Not.ApiCall.AuthUser', - 'message' => 'You are not an administrator or API call auth user of this organization.', - 'http_code' => 400, - 'description' => '非组织管理员或API调用授权用户。', - ], - [ - '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' => '您不是该组织的角色管理员,无权操作此项。', - ], - [ - 'code' => 'Not.Quickbi.User', - 'message' => 'The user is not an organizational user of Quick BI.', - 'http_code' => 500, - 'description' => '该用户不是QuickBI的组织用户。', - ], - [ - 'code' => 'Not.WorkspaceCube.Error', - 'message' => 'You can only use the %s dataset of the current workspace.', - 'http_code' => 400, - 'description' => '只能使用当前工作空间的数据集。', - ], - [ - 'code' => 'OdpsProject.Insert.Error', - 'message' => 'An error occurred while saving the MaxCompute data source. Please try again.', - 'http_code' => 400, - 'description' => '保存ODPS Project记录失败,请重试。', - ], - [ - 'code' => 'OdpsProject.Login.Error', - 'message' => 'You are not authorized to access the current MaxCompute project.', - 'http_code' => 400, - 'description' => '无权限访问当前ODPS Project。', - ], - [ - 'code' => 'OdpsQuery.AliyunAccount.Error', - 'message' => 'An error occurred while querying the alibaba cloud account.', - 'http_code' => 400, - 'description' => '阿里云账户查询异常。', - ], - [ - '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' => '组织分析师已达到上限%s人,请升级联系组织管理员升级分析师数量。', - ], - [ - 'code' => 'Organization.Developers.ReachedTheUpperLimit', - 'message' => 'The developers of the organization have reached the upper limit:%s', - 'http_code' => 400, - 'description' => '组织开发者已达到上限 %s 人,请升级联系组织管理员升级开发者数量。'."\n", - ], - [ - 'code' => 'Organization.Viewers.ReachedTheUpperLimit', - 'message' => 'The visitors of the organization have reached the upper limit:%s.', - 'http_code' => 400, - 'description' => '组织访问者已达到上限%s人,请升级联系组织管理员升级访问者数量。', - ], - [ - 'code' => 'Organization.Workspace.Inconformity', - 'message' => 'The workspace does not match the organization.', - 'http_code' => 400, - 'description' => '工作空间与组织不一致。', - ], - [ - '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' => '输入参数无效。', - ], - [ - 'code' => 'Parameter.Length.Exceed', - 'message' => 'Parameter length exceeds maximum limit: [%s].', - 'http_code' => 400, - 'description' => '参数长度超过限制:%s。', - ], - [ - 'code' => 'PathId.NotExist.Error', - 'message' => 'The cube field does not exist ,path id: %s.', - 'http_code' => 400, - 'description' => '数据集字段不存在,字段id:%s。', - ], - [ - 'code' => 'PersonalWorkspace.NotSupport.AllTransfer', - 'message' => 'Personal workspaces cannot be transferred.', - 'http_code' => 400, - 'description' => '个人空间不支持一键转让。', - ], - [ - 'code' => 'Preset.WorkspaceRole.NotExist', - 'message' => 'User does not have a predefined workspace role.', - 'http_code' => 400, - 'description' => '用户没有预定义的工作空间角色。', - ], - [ - 'code' => 'Query.Auth.Error', - 'message' => 'Query is not permitted.', - 'http_code' => 400, - 'description' => '没有查询权限。', - ], - [ - 'code' => 'Quick.Job.NotExist', - 'message' => 'The acceleration job is not found,please check the acceleration configuration.', - 'http_code' => 400, - 'description' => '找不到加速作业,请检查Quick引擎加速配置。', - ], - [ - 'code' => 'Ram.AuthCheck.Error', - 'message' => 'RAM auth check failed, and the current API can not be called.', - 'http_code' => 403, - 'description' => 'RAM权限校验失败,禁止调用当前API。', - ], - [ - 'code' => 'Remove.AdminRoleOf.WorkspaceOwner', - 'message' => 'The owner of the group workspace must be assigned the administrator role.', - 'http_code' => 400, - 'description' => '不能移除群空间拥有者的管理员角色。', - ], - [ - 'code' => 'Repeat.Running.Job', - 'message' => 'Job is already in progress.', - 'http_code' => 400, - 'description' => '已经有任务在执行。', - ], - [ - 'code' => 'Report.NotExist', - 'message' => 'The dashboard does not exist.', - 'http_code' => 400, - 'description' => '当前仪表板不存在。', - ], - [ - 'code' => 'Report.NotExist.Error', - 'message' => 'This work does not exist. It may have been deleted. Work ID is %s.', - 'http_code' => 400, - 'description' => '作品不存在,可能已经被删除。作品ID:%s。', - ], - [ - 'code' => 'Resource.NotBelongTo.CurrentOrganization', - 'message' => 'The resource does not belong to the current organization.', - 'http_code' => 400, - 'description' => '该资源不属于当前组织。', - ], - [ - 'code' => 'RobotNl2sql.Moudle.NotPurchase', - 'message' => 'Please purchase Nl2sql module first.', - 'http_code' => 400, - 'description' => '请先购买智能问数模块。', - ], - [ - 'code' => 'Role.ExceedCount.Error', - 'message' => 'The number of user roles cannot exceed 3.', - 'http_code' => 400, - 'description' => '用户角色数量不能超过3个。', - ], - [ - 'code' => 'Role.HasBind.User', - 'message' => 'This role is bound to %s users and cannot be deleted.', - 'http_code' => 400, - 'description' => '这个角色绑定了%s个用户,无法删除。', - ], - [ - 'code' => 'Role.Type.Error', - 'message' => 'Wrong type of user role, must be an organization role.', - 'http_code' => 400, - 'description' => '用户角色类型错误,必须是组织角色。', - ], - [ - 'code' => 'RoleCount.ExceedsLimit.Error', - 'message' => 'The user role cannot exceed three.', - 'http_code' => 400, - 'description' => '用户角色不能超过三个。', - ], - [ - 'code' => 'RoleCreate.Exceed.Limit', - 'message' => 'The number of created roles has exceeded the limit %s.', - 'http_code' => 400, - 'description' => '创建角色数已超过限制%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' => '该组织%s已经同步过其他组织架构,因此无法在根用户组下创建用户组。', - ], - [ - 'code' => 'Rowlevel.Permission.Forbbiden', - 'message' => 'The request is denied by row level permission. The dataset is %s, %s %s.', - 'http_code' => 400, - 'description' => '请求被行级权限限制,数据集为%s,%s %s。', - ], - [ - 'code' => 'RowLevelPermission.Rule.NotBelongToCube', - 'message' => 'The row level permission rule does not belong to the current cube.', - 'http_code' => 400, - 'description' => '行级权限规则不属于当前数据集。', - ], - [ - 'code' => 'RowLevelPermission.Rule.NotExsist', - 'message' => 'The row level permission rule does not exist: %s.', - 'http_code' => 400, - 'description' => '行级权限规则不存在:%s。', - ], - [ - 'code' => 'RowLevelPermission.SwitchClose.Error', - 'message' => 'The row level permission switch must be on.', - 'http_code' => 400, - 'description' => '对应的行级权限开关必须打开。', - ], - [ - 'code' => 'RowlevelPermission.Update.Failed', - 'message' => 'Failed to grant row level permissions of dataset %s for %s.', - 'http_code' => 500, - 'description' => '数据集%s行级权限设置失败,目标字段为:%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' => '参数%s不能为空。', - ], - [ - 'code' => 'Tag.NotBelongTo.CurrentOrgainzation', - 'message' => 'The tag %s does not belong to the current organization.', - 'http_code' => 500, - 'description' => '标签%s不属于当前组织。', - ], - [ - 'code' => 'Tag.NotIn.currentOrganization', - 'message' => 'XXXXXX.', - 'http_code' => 400, - 'description' => '该错误码已废弃。', - ], - [ - 'code' => 'TagName.Repeat', - 'message' => 'The tag name is duplicated.', - 'http_code' => 400, - 'description' => '标签名称重复。', - ], - [ - 'code' => 'Timer.Schedule.Task', - 'message' => 'An error occurred during timer task scheduling.', - 'http_code' => 400, - 'description' => '定时器调度任务失败。', - ], - [ - 'code' => 'Token.AuthType.Valid', - 'message' => 'An error occurred while authenticating the AccessKey.', - 'http_code' => 500, - 'description' => 'token鉴权失败,AccessKey错误。', - ], - [ - 'code' => 'Transfer.Not.Allowed', - 'message' => 'Transfer to users with lower space permissions is not allowed.', - 'http_code' => 400, - 'description' => '不允许转移给更低空间权限的用户。', - ], - [ - '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' => '转让目标用户不存在,请确保目标用户登录过当前系统。', - ], - [ - 'code' => 'User.AlreadyIn.Organization', - 'message' => 'The user already exists.', - 'http_code' => 400, - 'description' => '该用户已在其他组织中。', - ], - [ - 'code' => 'User.AlreadyIn.Organization', - 'message' => 'This user is already a member of the current organization.', - 'http_code' => 400, - 'description' => '该用户已在当前组织中。', - ], - [ - 'code' => 'User.AlreadyIn.Role', - 'message' => 'The user is already assigned this role.', - 'http_code' => 400, - 'description' => '用户已经拥有该角色。', - ], - [ - 'code' => 'User.AlreadyIn.Workspace', - 'message' => 'This user already exists.', - 'http_code' => 400, - 'description' => '该用户已在群空间中。', - ], - [ - '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' => '用户只允许添加进BI组织架构及子用户组。', - ], - [ - 'code' => 'User.Disabled.Error', - 'message' => 'User has been disabled.', - 'http_code' => 400, - 'description' => '用户已被禁用。', - ], - [ - 'code' => 'User.Duplicative', - 'message' => 'Duplicate users found with account name: %s.', - 'http_code' => 400, - 'description' => '查询到重复的用户,账号名为:%s,。', - ], - [ - 'code' => 'User.Duplicative', - 'message' => 'Duplicate users found with account name : %s.', - 'http_code' => 400, - 'description' => '查询到重复的用户,账号名为:%s,。', - ], - [ - 'code' => 'User.MustHaveRole.InWorkspace', - 'message' => 'The user must have a role in the workspace.', - 'http_code' => 400, - 'description' => '用户必须在工作区拥有角色。', - ], - [ - 'code' => 'User.Not.In.Organization', - 'message' => 'The specified user is not in the organizational unit.', - 'http_code' => 400, - 'description' => '该用户不在组织中。', - ], - [ - 'code' => 'User.Not.WorkspaceAdmin', - 'message' => 'Only administrators of the group workspace can perform this operation.', - 'http_code' => 400, - 'description' => '没有权限,您不是该群空间的管理员。', - ], - [ - 'code' => 'User.NotBelongTo.CurrentOrganization', - 'message' => 'The user %s does not belong to the current organization.', - 'http_code' => 400, - 'description' => '用户%s不属于当前组织。', - ], - [ - 'code' => 'User.NotIn.Workspace', - 'message' => 'The user is not a member of the group workspace.', - 'http_code' => 400, - 'description' => '该用户不在群空间中。', - ], - [ - 'code' => 'User.NotIn.Workspace', - 'message' => 'The user is not in this workspace.', - 'http_code' => 400, - 'description' => '该用户不在此空间中。', - ], - [ - 'code' => 'User.OnlyBind.OneRole', - 'message' => 'The current user is only bound to one role and cannot unbind the current role.', - 'http_code' => 400, - 'description' => '当前用户只绑定了一个角色,无法再解绑当前角色。', - ], - [ - 'code' => 'User.OperationPermission.Error', - 'message' => 'You are not authorized to operate this object.', - 'http_code' => 400, - 'description' => '您没有当前对象的操作权限。', - ], - [ - 'code' => 'User.OrganizationRole.NotExist', - 'message' => 'User %s must have role in organization.', - 'http_code' => 400, - 'description' => '用户 %s 在组织中必须有一个角色。', - ], - [ - 'code' => 'User.PresetWorkspaceRole.NotExist', - 'message' => 'User does not have a predefined workspace role.', - 'http_code' => 400, - 'description' => '用户没有预置空间角色。', - ], - [ - 'code' => 'User.Role.NotExist', - 'message' => 'User role not exist: %s.', - 'http_code' => 400, - 'description' => '用户角色不存在:%s。', - ], - [ - 'code' => 'User.RoleType.Valid', - 'message' => 'The role ID is invalid.', - 'http_code' => 400, - 'description' => '无效的角色ID。', - ], - [ - 'code' => 'UserAnalyst.NotSupport.ThisRole', - 'message' => 'This role has permissions that analysts cannot grant.', - 'http_code' => 400, - 'description' => '该角色具有分析员无法授予的权限。', - ], - [ - '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' => '用户分组限制', - ], - [ - 'code' => 'UserGroup.Layer.Limited', - 'message' => 'The user group cannot have more than ten layers.', - 'http_code' => 400, - 'description' => '用户组层级最大为10层。', - ], - [ - 'code' => 'Usergroup.Not.Exist', - 'message' => 'The user group does not exist.', - 'http_code' => 400, - 'description' => '用户组不存在。', - ], - [ - 'code' => 'Usergroup.NotBelongTo.CurrentOrganization', - 'message' => 'The usergroup %s does not belong to the current organization.', - 'http_code' => 400, - 'description' => '用户组%s不属于当前组织。', - ], - [ - 'code' => 'UserGroup.NotIn.Organization', - 'message' => 'The user group is not in the current organization.', - 'http_code' => 400, - 'description' => '用户组不在当前组织内。', - ], - [ - 'code' => 'UserGroup.Parent.NotFound', - 'message' => 'The parent user group does not exist.', - 'http_code' => 400, - 'description' => '父用户组不存在。', - ], - [ - 'code' => 'UserGroup.Remove.RootNode', - 'message' => 'The root user group cannot be deleted.', - 'http_code' => 400, - 'description' => '根用户组不允许删除。', - ], - [ - 'code' => 'UserGroup.Remove.WithChildren', - 'message' => 'This user group contains a child user group and cannot be deleted.', - 'http_code' => 400, - 'description' => '当前用户组包含子用户组,不允许删除。', - ], - [ - 'code' => 'UserGroup.Update.RootNode', - 'message' => 'The root user group cannot be updated.', - 'http_code' => 500, - 'description' => '根用户组不允许更新。', - ], - [ - 'code' => 'UserInfo.Error', - 'message' => 'The personal information is invalid.', - 'http_code' => 400, - 'description' => '个人信息不合法。', - ], - [ - 'code' => 'UserRoleConfig.NotContain.Function', - 'message' => 'The user %s does not have permission to operate.', - 'http_code' => 400, - 'description' => '此用户%s没有权限操作。', - ], - [ - 'code' => 'UserTag.Exceed.Limit', - 'message' => 'The number of user tags cannot exceed %s, you have reached the upper limit.', - 'http_code' => 400, - 'description' => '用户标签数量不能超过%s个,您已达到上限。', - ], - [ - 'code' => 'UserTag.NotIn.CurrentOrganization', - 'message' => 'The user tag is not in the current organization.', - 'http_code' => 500, - 'description' => '用户标签不在当前组织中。', - ], - [ - 'code' => 'Viewer.AddInTo.Workspace', - 'message' => 'Organization members with viewer type are not allowed to add to workspace: %s.', - 'http_code' => 400, - 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。', - ], - [ - 'code' => 'Viewer.CannotAddTo.Workspace', - 'message' => 'Visitors cannot be added to workspace.', - 'http_code' => 500, - 'description' => '访客无法加入工作空间。', - ], - [ - 'code' => 'Viewer.CannotHave.CustomRole', - 'message' => 'Organization viewer cannot have custom roles.', - 'http_code' => 400, - 'description' => '组织访问者不能具有自定义角色。', - ], - [ - 'code' => 'VpcInstance.Info.EmptyError', - 'message' => 'Not found instance. please check vpc config and authorization %s.', - 'http_code' => 400, - 'description' => '未找到实例。请检查VPC配置和权限 %s。', - ], - [ - 'code' => 'VpcInstance.Info.Error', - 'message' => 'Get vpc instance info error.please check vpc config %s.', - 'http_code' => 400, - 'description' => '获取VPC实例信息错误。请检查VPC配置 %s。', - ], - [ - 'code' => 'Works.Transfer.Error', - 'message' => 'You are not authorized to transfer this item.', - 'http_code' => 400, - 'description' => '转让失败,您没有相应权限。', - ], - [ - 'code' => 'Workspace.Not.Exist', - 'message' => 'The group workspace does not exist.', - 'http_code' => 400, - 'description' => '群空间不存在。', - ], - [ - 'code' => 'Workspace.NotIn.Organization', - 'message' => 'The workspace is not owned by the organization.', - 'http_code' => 400, - 'description' => '空间不在组织内。', - ], - [ - 'code' => 'Workspace.Operation.LackOfRole', - 'message' => 'The role required for the operation is missing, and the work operation type is %s.', - 'http_code' => 400, - 'description' => '缺少操作需要的角色,作品操作类型为%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' => '当前操作需要角色[%s],请联系管理员添加。', - ], - [ - 'code' => 'Workspace.OutsideShare.Forbidden', - 'message' => 'Content in the current group workspace cannot be shared with another organization.', - 'http_code' => 400, - 'description' => '当前群空间设置了禁止组织外分享。', - ], - [ - 'code' => 'Workspace.Share.Forbidden', - 'message' => 'Content in the current group workspace cannot be shared.', - 'http_code' => 400, - 'description' => '当前群空间设置了禁止分享。', - ], - [ - 'code' => 'Workspace.Status.Error', - 'message' => 'This group workspace has been disabled or deleted.', - 'http_code' => 400, - 'description' => '该群空间已被禁用或删除。', - ], - [ - 'code' => 'Workspace.Type.Error', - 'message' => 'The type of group workspace is invalid.', - 'http_code' => 400, - 'description' => '无效的群空间类型。', - ], - [ - 'code' => 'WorkspaceOrWorkspaceRole.IsEmpty', - 'message' => 'Workspace or workspace role is empty, please check.', - 'http_code' => 400, - 'description' => '工作空间或工作空间角色为空,请检查。', - ], - [ - 'code' => 'Xengnie.TaskExecute.Error', - 'message' => 'Fail to execute task %s.', - 'http_code' => 400, - 'description' => '任务执行失败 %s。', - ], + ['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' => '您的实例版本或者 AccessKey不允许调用该 API,仅专业版支持调用。'], + ['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' => '菜单与门户网站不匹配。'], + ['code' => 'AE0579100001', 'message' => 'Duplicate users found with account name: %s.', 'http_code' => 400, 'description' => '查询到重复的用户,账号名为:%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' => '您无权调用此数据服务API。'], + ['code' => 'API.Not.Exist', 'message' => 'The data service API operation does not exist.', 'http_code' => 400, 'description' => '数据服务 API 不存在。'], + ['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' => 'API数据源不存在。'], + ['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' => '目标API数据源不在指定工作空间中。'], + ['code' => 'ApiDataSource.NotIn.Workspace', 'message' => 'Target apiId not in target workspace.', 'http_code' => 400, 'description' => '目标API不在工作空间内。'], + ['code' => 'ApiDatasource.Param.IsNull', 'message' => 'Api datasource modify parameters is null.', 'http_code' => 400, 'description' => 'API数据源的修改参数parameters为空。'], + ['code' => 'ApiDatasource.Param.Oversize', 'message' => 'The number of parameters of API data source exceeds the limit and cannot exceed %s.', 'http_code' => 400, 'description' => 'API数据源的参数数量超过限制,不能超过%s个。'], + ['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' => '用户不存在。'], + ['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' => '授权报表已达上限,请升级配置或删除其它报表再授权。'], + ['code' => 'Authorize3Rd.AccesskeyOrg.Illegal', 'message' => 'The AccessKey ID does not match the organization.', 'http_code' => 500, 'description' => 'accessId与组织不匹配。'], + ['code' => 'Authorize3Rd.Icode.NotExist', 'message' => 'The key used for signing does not exist.', 'http_code' => 500, 'description' => '使用的密钥对不存在。'], + ['code' => 'Authorize3Rd.Page.Illegal', 'message' => 'The report must be %s.', 'http_code' => 500, 'description' => '报表必须是%s。'], + ['code' => 'Authorize3Rd.Page.Org.Illegal', 'message' => 'The report does not match the organization.', 'http_code' => 500, 'description' => '报表与组织不匹配。'], + ['code' => 'Authorize3Rd.Report.Unauthorized', 'message' => 'The report is not enabled for third party embedding.', 'http_code' => 400, 'description' => '报表未开通三方嵌入,请开通后重试。'], + ['code' => 'Authorize3Rd.Token.Expired', 'message' => 'The token [%s] has expired.', 'http_code' => 500, 'description' => 'token 已经过期: [%s]。'], + ['code' => 'Authorize3Rd.Token.NotExist', 'message' => 'The token [%s] does not exist.', 'http_code' => 500, 'description' => 'token不存在:[%s]。'], + ['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' => '该用户改报表已经创建太多token [%s], 请勿重复申请。'], + ['code' => 'Authorize3Rd.User.Illegal', 'message' => 'The global variable userId of the report is invalid.', 'http_code' => 500, 'description' => '报表全局参数userId不合法。'], + ['code' => 'Authorize3rdTicket.BindedWorks.Mismatch', 'message' => 'The report bound by the ticket mismatches the actual report.', 'http_code' => 400, 'description' => 'Ticket绑定的报表与访问页面报表不一致。'], + ['code' => 'Authorize3rdTicket.Expired', 'message' => 'Ticket [%s] has expired.', 'http_code' => 400, 'description' => '当前票据[%s]已过期。'], + ['code' => 'Authorize3rdTicket.HasNo.LoginToken', 'message' => 'The request [%s] has no token.', 'http_code' => 400, 'description' => '当前请求 [%s] 未找到token信息。'], + ['code' => 'Authorize3rdTicket.NotExist', 'message' => 'Ticket %s does not exist.', 'http_code' => 400, 'description' => '当前票据%s不存在。'], + ['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' => '大屏嵌入不支持水印参数。'], + ['code' => 'BindRole.NotExist.Error', 'message' => 'Bind role not exist, %s.', 'http_code' => 400, 'description' => '绑定的角色不存在,%s。'], + ['code' => 'BindRole.NotExistIn.Org', 'message' => 'The bound role does not exist, %s.', 'http_code' => 400, 'description' => '绑定的角色不存在,%s。'], + ['code' => 'CanNot.Remove.WorkspaceOwner', 'message' => 'You cannot remove the group workspace owner from the group.', 'http_code' => 400, 'description' => '不能将群空间拥有者剔除出群。'], + ['code' => 'Cannot.TransferTo.Owner', 'message' => 'You cannot transfer an item to its current owner.', 'http_code' => 400, 'description' => '不能转让给所属者。'], + ['code' => 'CannotRemove.OrganizationOwner', 'message' => 'You cannot remove the organization owner from the organization.', 'http_code' => 400, 'description' => '不能将组织所有者踢出组织。'], + ['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' => '机器人名称最大长度限制为10。'], + ['code' => 'Copilot.Modulename.Error', 'message' => 'ModuleName max length limit 20.', 'http_code' => 400, 'description' => '模块名称最大长度是20。'], + ['code' => 'CopilotEmbed.Config.NotFind', 'message' => 'Can not find copilot embed config with this copilot ID.', 'http_code' => 400, 'description' => '找不到此嵌入配置'], + ['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' => '创建工作空间超过了最大数量限制:%s。'], + ['code' => 'Cube.DimensionLevelMember.TooLong', 'message' => 'The dimension value %s must be 1 to 255 characters in length.', 'http_code' => 500, 'description' => '维度值%s长度不能超过255个字节。'], + ['code' => 'Cube.DuplicatedName.Error', 'message' => 'The dataset name already exists. Modify the name before saving.', 'http_code' => 400, 'description' => '数据集名称已存在,请修改名称后再保存。'], + ['code' => 'Cube.Not.Exist', 'message' => 'The Cube does not exist.', 'http_code' => 400, 'description' => '数据集不存在。'], + ['code' => 'Cube.NotBelongTo.CurrentOrganization', 'message' => 'The cube does not belong to the current organization %s.', 'http_code' => 400, 'description' => '数据集模型不属于当前组织。'], + ['code' => 'Cube.ParseToXml.Error', 'message' => 'An error occurred while parsing a dataset object to XML format.', 'http_code' => 400, 'description' => '将多维数据集对象解析为XML错误。'], + ['code' => 'Cube.RowLevelPermission.NotOpen', 'message' => 'Row level permission control switch is not enabled for dataset %s.', 'http_code' => 500, 'description' => '数据集没有开启行级权限校验。'], + ['code' => 'CubeColumn.RowLevelPermission.NotOpen', 'message' => 'Row level permission control switch is not enabled for dataset field: %s.', 'http_code' => 500, 'description' => '数据集维度字段的行级权限没有打开。'], + ['code' => 'CubeDimension.NotExist.Error', 'message' => 'The dimension does not exist in the dataset. The dimension ID is %s.', 'http_code' => 500, 'description' => '数据集包含的维度不存在,维度path id:%s。'], + ['code' => 'CubeMeta.ToXml.Error', 'message' => 'An error occurred while converting the data object to the XML format.', 'http_code' => 400, 'description' => '数据对象转换XML失败。'], + ['code' => 'CubePermission.Columnlevel.VersionError', 'message' => 'You are not allowed to use the new dataLevelPermission API.', 'http_code' => 400, 'description' => '没有权限使用新版行列权限。'], + ['code' => 'CubePermission.ColumnlevelField.Repeat', 'message' => 'There are duplicate field configurations.', 'http_code' => 400, 'description' => '有重复的字段配置。'], + ['code' => 'CubeSchema.Not.Exist', 'message' => 'The cube schema does not exist.', 'http_code' => 400, 'description' => '数据集模型不存在。'], + ['code' => 'Database.PortInvalid.Error', 'message' => 'The database port is invalid.', 'http_code' => 400, 'description' => '数据库端口无效。'], + ['code' => 'DataService.InputParam.Error', 'message' => 'input parameter error: %s.', 'http_code' => 400, 'description' => '输入的参数有误: %s。'], + ['code' => 'Datasource.Hostile.AttackError', 'message' => 'You cannot create more data source connection tests.', 'http_code' => 400, 'description' => '您的帐户已达到检测的最大次数。'], + ['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' => '数据源不存在:%s。'], + ['code' => 'Datasource.Sql.ExecuteFailed', 'message' => 'Failed to execute the SQL statement in the data source.', 'http_code' => 400, 'description' => '数据源执行SQL失败。'], + ['code' => 'Datasource.UserPermission.Error', 'message' => 'You do not have datasource authorization.', 'http_code' => 400, 'description' => '当前用户没有数据源权限。'], + ['code' => 'DatasourceEcs.AddressIp.Mismatch', 'message' => 'The destination hostname or IP address is invalid.', 'http_code' => 400, 'description' => '数据库地址校验错误,请修改正确地址,阿里云数据库请使用云数据库连接。'], + ['code' => 'DatasourceId.IsNull.Error', 'message' => 'You must select a data source before selecting the table.', 'http_code' => 400, 'description' => '必须选择数据源之后再选择表。'], + ['code' => 'DatasourceSsrf.Inner.Rds', 'message' => 'You are not granted the access permission.', 'http_code' => 400, 'description' => '当前用户无权访问。'], + ['code' => 'DatasourceSsrf.RdsDomain.Mismatch', 'message' => 'RDS domain name mismatch.', 'http_code' => 400, 'description' => '数据库地址校验错误,请修改正确地址,非阿里云数据库请使用自建数据源连接。'], + ['code' => 'Date.Check.Error', 'message' => 'The end date cannot be greater than the start date.', 'http_code' => 400, 'description' => '结束日期不能大于开始日期'], + ['code' => 'Date.Exceed.Error', 'message' => 'The start date must be within 90 days from the current date.', 'http_code' => 400, 'description' => '开始日期不能早于当前日期90天'], + ['code' => 'Date.Format.Error', 'message' => 'Date format conversion error.', 'http_code' => 400, 'description' => '日期格式转换错误'], + ['code' => 'Db.Error', 'message' => 'An error occurred while accessing the database.', 'http_code' => 400, 'description' => '数据库访问异常。'], + ['code' => 'Decryption.Error', 'message' => 'An error occurred while decoding.', 'http_code' => 400, 'description' => '解密失败。'], + ['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' => '当前角色绑定分析师%s,当前修改内容超出分析师权限,请修改角色配置。'], + ['code' => 'Directory.NotExist.Error', 'message' => 'The directory does not exist.', 'http_code' => 400, 'description' => '文件夹不存在。'], + ['code' => 'DirtyData.Duplicate.User', 'message' => 'Dirty data,duplicate user: %s.', 'http_code' => 400, 'description' => '脏数据,重复的用户:%s。'], + ['code' => 'Duplicate.Name.Error', 'message' => 'The name already exists.', 'http_code' => 400, 'description' => '命名重复。'], + ['code' => 'Duplicate.UserGroup.Id', 'message' => 'Duplicated usergroupId %s.', 'http_code' => 400, 'description' => '重复的用户组ID %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' => '已经存在同名用户组“%s”,请修改名称后再保存。'], + ['code' => 'Duplicate.WorkSpaceName.Error', 'message' => 'There is already a workspace with the same name %s, please rename it before saving.', 'http_code' => 400, 'description' => '已经存在同名工作空间“%s”,请修改名称后再保存。'], + ['code' => 'Duplicated.Role.Name', 'message' => 'The character "%s" with the same name already exists, please modify the name before saving.', 'http_code' => 400, 'description' => '已经存在同名角色“%s”,请修改名称后再保存!'], + ['code' => 'Favorite.NotCancel.Permission', 'message' => 'You have not added this work to favorites.', 'http_code' => 400, 'description' => '你没有此收藏作品,请检查。'], + ['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' => '飞书参数错误:%s。'], + ['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' => '飞书用户只能被添加到飞书或BI用户组中。'], + ['code' => 'Fobbiden.Action', 'message' => 'The organization owner must have the administrator role.', 'http_code' => 400, 'description' => '不能将组织所有者设置为非管理员。'], + ['code' => 'FolderMenu.CanNot.Authorize', 'message' => 'The folder type menu cannot be authorized. Menu ID: %s.', 'http_code' => 400, 'description' => '文件夹类型菜单无法进行授权操作,menuId为%s。'], + ['code' => 'Forbidden.Access.Operation', 'message' => 'Forbidden access on this operation.', 'http_code' => 400, 'description' => '无权进行该操作'], + ['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' => '权限不足,当前用户非组织管理员或空间管理员。'], + ['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' => '您的购买实例已经过期。'], + ['code' => 'Instance.Not.Exist', 'message' => 'The specified instance does not exist.', 'http_code' => 400, 'description' => '暂未匹配到您的购买实例。'], + ['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' => '您可以添加的用户已达上限,请升级配置或移除其它用户后再添加。'], + ['code' => 'Internal.System.Error', 'message' => 'An internal system error occurred.', 'http_code' => 400, 'description' => '系统内部异常。'], + ['code' => 'Invalid.Organization', 'message' => 'The specified organizational unit does not exist.', 'http_code' => 400, 'description' => '该组织不存在。'], + ['code' => 'Invalid.Param.Error', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '无效参数。'], + ['code' => 'Invalid.Parameter', 'message' => 'The length of the parameter must not exceed 1000.', 'http_code' => 297, 'description' => '参数长度超过1000条限制'], + ['code' => 'Invalid.Parameter', 'message' => 'You must specify the parameter.', 'http_code' => 297, 'description' => '参数不能为空'], + ['code' => 'Invalid.Parameter', 'message' => 'An error occurred while verifying parameters.', 'http_code' => 400, 'description' => '参数验证失败。'], + ['code' => 'Invalid.Parameter.Conditions', 'message' => 'The specified Conditions is invalid. %s is not defined.', 'http_code' => 400, 'description' => '参数 Conditions 错误:%s 未在模型中定义。'], + ['code' => 'Invalid.Parameter.Error', 'message' => 'The parameter is invalid:%s.', 'http_code' => 400, 'description' => '无效参数%s。'], + ['code' => 'Invalid.Parameter.ReturnFields', 'message' => 'The specified returnFields is invalid. %s is not defined.', 'http_code' => 400, 'description' => ' 参数ReturnFields错误:%s 未在模型中定义。'], + ['code' => 'Invalid.User', 'message' => 'The user does not exist and cannot be added to a user group.', 'http_code' => 400, 'description' => '用户不存在,无法将其添加到用户组。'], + ['code' => 'Invalid.User.Admin', 'message' => 'You are not an administrator of this organization.', 'http_code' => 400, 'description' => '没有权限,您不是组织管理员。'], + ['code' => 'Invalid.User.Organization', 'message' => 'The user is not in your organization.', 'http_code' => 400, 'description' => '该用户不在您的组织中。'], + ['code' => 'Invalid.Works.Empty', 'message' => 'This work does not exist. It may have been deleted. Work ID is %s.', 'http_code' => 400, 'description' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['code' => 'Invalid.WorksId.Not.Publish', 'message' => 'Works %s is not published yet.', 'http_code' => 400, 'description' => '作品%s还未发布。'], + ['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' => '上次任务状态为警告或失败,请检查。'], + ['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' => '日志类型的格式错误'], + ['code' => 'Mail.Forbidden.Access', 'message' => 'Forbidden Access On This Operation.', 'http_code' => 400, 'description' => '禁止访问此操作。'], + ['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' => '订阅任务不存在。'], + ['code' => 'Mail.Not.Found', 'message' => 'Mail not found.', 'http_code' => 400, 'description' => '邮件不存在'], + ['code' => 'Mail.Subject.Error', 'message' => 'The mail subject is invalid.', 'http_code' => 400, 'description' => '邮件主题参数不合法'], + ['code' => 'MailApi.Beyond.ScheduleLimit', 'message' => 'Mail Subscription Openapi Requests Are Frequent. Please Try Again In %s Minutes.', 'http_code' => 400, 'description' => '邮件订阅openApi请求频繁,请%s分钟后重试。'], + ['code' => 'MailId.Is.Null', 'message' => 'The Mail Id Is Null.', 'http_code' => 400, 'description' => '参数mailId为空。'], + ['code' => 'MailTask.Already.Running', 'message' => 'The Mail Task Is Already Running.', 'http_code' => 400, 'description' => '邮件任务当前已在运行中。'], + ['code' => 'Measure.CanNotUse.RowLevelPermission', 'message' => 'You cannot grant row level permissions to measure %s.', 'http_code' => 500, 'description' => '不支持度量字段开启行级权限。'], + ['code' => 'Member.ExistInWorkspace.Error', 'message' => 'You cannot remove a user who is a member of a group workspace.', 'http_code' => 400, 'description' => '该用户仍在群空间中,无法移除。'], + ['code' => 'Menu.NotBelongTo.CurrentDataportal', 'message' => 'Menu %s does not belong to the current data portal %s.', 'http_code' => 400, 'description' => '菜单%s不属于当前数据门户%s。'], + ['code' => 'Missing.Conditions', 'message' => 'The specified Conditions is invalid. You must specify %s.', 'http_code' => 400, 'description' => '输入参数Conditions 错误: %s 是必须项。'], + ['code' => 'Missing.Dimension.Measure', 'message' => 'The dimension or measure %s does not exist in Cube.', 'http_code' => 400, 'description' => ' Cube 模型中缺少维度或度量 %s 。'], + ['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' => '名称长度不能超过%s个字符。'], + ['code' => 'NickName.AlreadyIn.Organization', 'message' => 'The alias already exists.', 'http_code' => 400, 'description' => '昵称已存在。'], + ['code' => 'NoPermissionTo.Operate.Object', 'message' => 'You are not authorized to operate the objects.', 'http_code' => 400, 'description' => '您无权操作这些对象。'], + ['code' => 'Not.ApiCall.AuthUser', 'message' => 'You are not an administrator or API call auth user of this organization.', 'http_code' => 400, 'description' => '非组织管理员或API调用授权用户。'], + ['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' => '您不是该组织的角色管理员,无权操作此项。'], + ['code' => 'Not.Quickbi.User', 'message' => 'The user is not an organizational user of Quick BI.', 'http_code' => 500, 'description' => '该用户不是QuickBI的组织用户。'], + ['code' => 'Not.WorkspaceCube.Error', 'message' => 'You can only use the %s dataset of the current workspace.', 'http_code' => 400, 'description' => '只能使用当前工作空间的数据集。'], + ['code' => 'OdpsProject.Insert.Error', 'message' => 'An error occurred while saving the MaxCompute data source. Please try again.', 'http_code' => 400, 'description' => '保存ODPS Project记录失败,请重试。'], + ['code' => 'OdpsProject.Login.Error', 'message' => 'You are not authorized to access the current MaxCompute project.', 'http_code' => 400, 'description' => '无权限访问当前ODPS Project。'], + ['code' => 'OdpsQuery.AliyunAccount.Error', 'message' => 'An error occurred while querying the alibaba cloud account.', 'http_code' => 400, 'description' => '阿里云账户查询异常。'], + ['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' => '组织分析师已达到上限%s人,请升级联系组织管理员升级分析师数量。'], + ['code' => 'Organization.Developers.ReachedTheUpperLimit', 'message' => 'The developers of the organization have reached the upper limit:%s', 'http_code' => 400, 'description' => '组织开发者已达到上限 %s 人,请升级联系组织管理员升级开发者数量。'."\n"], + ['code' => 'Organization.Viewers.ReachedTheUpperLimit', 'message' => 'The visitors of the organization have reached the upper limit:%s.', 'http_code' => 400, 'description' => '组织访问者已达到上限%s人,请升级联系组织管理员升级访问者数量。'], + ['code' => 'Organization.Workspace.Inconformity', 'message' => 'The workspace does not match the organization.', 'http_code' => 400, 'description' => '工作空间与组织不一致。'], + ['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' => '输入参数无效。'], + ['code' => 'Parameter.Length.Exceed', 'message' => 'Parameter length exceeds maximum limit: [%s].', 'http_code' => 400, 'description' => '参数长度超过限制:%s。'], + ['code' => 'PathId.NotExist.Error', 'message' => 'The cube field does not exist ,path id: %s.', 'http_code' => 400, 'description' => '数据集字段不存在,字段id:%s。'], + ['code' => 'PersonalWorkspace.NotSupport.AllTransfer', 'message' => 'Personal workspaces cannot be transferred.', 'http_code' => 400, 'description' => '个人空间不支持一键转让。'], + ['code' => 'Preset.WorkspaceRole.NotExist', 'message' => 'User does not have a predefined workspace role.', 'http_code' => 400, 'description' => '用户没有预定义的工作空间角色。'], + ['code' => 'Query.Auth.Error', 'message' => 'Query is not permitted.', 'http_code' => 400, 'description' => '没有查询权限。'], + ['code' => 'Quick.Job.NotExist', 'message' => 'The acceleration job is not found,please check the acceleration configuration.', 'http_code' => 400, 'description' => '找不到加速作业,请检查Quick引擎加速配置。'], + ['code' => 'Ram.AuthCheck.Error', 'message' => 'RAM auth check failed, and the current API can not be called.', 'http_code' => 403, 'description' => 'RAM权限校验失败,禁止调用当前API。'], + ['code' => 'Remove.AdminRoleOf.WorkspaceOwner', 'message' => 'The owner of the group workspace must be assigned the administrator role.', 'http_code' => 400, 'description' => '不能移除群空间拥有者的管理员角色。'], + ['code' => 'Repeat.Running.Job', 'message' => 'Job is already in progress.', 'http_code' => 400, 'description' => '已经有任务在执行。'], + ['code' => 'Report.NotExist', 'message' => 'The dashboard does not exist.', 'http_code' => 400, 'description' => '当前作品不存在。'], + ['code' => 'Report.NotExist.Error', 'message' => 'This work does not exist. It may have been deleted. Work ID is %s.', 'http_code' => 400, 'description' => '作品不存在,可能已经被删除。作品ID:%s。'], + ['code' => 'Resource.NotBelongTo.CurrentOrganization', 'message' => 'The resource does not belong to the current organization.', 'http_code' => 400, 'description' => '该资源不属于当前组织。'], + ['code' => 'RobotNl2sql.Moudle.NotPurchase', 'message' => 'Please purchase Nl2sql module first.', 'http_code' => 400, 'description' => '请先购买智能问数模块。'], + ['code' => 'Role.ExceedCount.Error', 'message' => 'The number of user roles cannot exceed 3.', 'http_code' => 400, 'description' => '用户角色数量不能超过3个。'], + ['code' => 'Role.HasBind.User', 'message' => 'This role is bound to %s users and cannot be deleted.', 'http_code' => 400, 'description' => '这个角色绑定了%s个用户,无法删除。'], + ['code' => 'Role.Type.Error', 'message' => 'Wrong type of user role, must be an organization role.', 'http_code' => 400, 'description' => '用户角色类型错误,必须是组织角色。'], + ['code' => 'RoleCount.ExceedsLimit.Error', 'message' => 'The user role cannot exceed three.', 'http_code' => 400, 'description' => '用户角色不能超过三个。'], + ['code' => 'RoleCreate.Exceed.Limit', 'message' => 'The number of created roles has exceeded the limit %s.', 'http_code' => 400, 'description' => '创建角色数已超过限制%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' => '该组织%s已经同步过其他组织架构,因此无法在根用户组下创建用户组。'], + ['code' => 'Rowlevel.Permission.Forbbiden', 'message' => 'The request is denied by row level permission. The dataset is %s, %s %s.', 'http_code' => 400, 'description' => '请求被行级权限限制,数据集为%s,%s %s。'], + ['code' => 'RowLevelPermission.Rule.NotBelongToCube', 'message' => 'The row level permission rule does not belong to the current cube.', 'http_code' => 400, 'description' => '行级权限规则不属于当前数据集。'], + ['code' => 'RowLevelPermission.Rule.NotExsist', 'message' => 'The row level permission rule does not exist: %s.', 'http_code' => 400, 'description' => '行级权限规则不存在:%s。'], + ['code' => 'RowLevelPermission.SwitchClose.Error', 'message' => 'The row level permission switch must be on.', 'http_code' => 400, 'description' => '对应的行级权限开关必须打开。'], + ['code' => 'RowlevelPermission.Update.Failed', 'message' => 'Failed to grant row level permissions of dataset %s for %s.', 'http_code' => 500, 'description' => '数据集%s行级权限设置失败,目标字段为:%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' => '参数%s不能为空。'], + ['code' => 'Tag.NotBelongTo.CurrentOrgainzation', 'message' => 'The tag %s does not belong to the current organization.', 'http_code' => 500, 'description' => '标签%s不属于当前组织。'], + ['code' => 'Tag.NotIn.currentOrganization', 'message' => 'XXXXXX.', 'http_code' => 400, 'description' => '该错误码已废弃。'], + ['code' => 'TagName.Repeat', 'message' => 'The tag name is duplicated.', 'http_code' => 400, 'description' => '标签名称重复。'], + ['code' => 'Timer.Schedule.Task', 'message' => 'An error occurred during timer task scheduling.', 'http_code' => 400, 'description' => '定时器调度任务失败。'], + ['code' => 'Token.AuthType.Valid', 'message' => 'An error occurred while authenticating the AccessKey.', 'http_code' => 500, 'description' => 'token鉴权失败,AccessKey错误。'], + ['code' => 'Transfer.Not.Allowed', 'message' => 'Transfer to users with lower space permissions is not allowed.', 'http_code' => 400, 'description' => '不允许转移给更低空间权限的用户。'], + ['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' => '转让目标用户不存在,请确保目标用户登录过当前系统。'], + ['code' => 'User.AlreadyIn.Organization', 'message' => 'The user already exists.', 'http_code' => 400, 'description' => '该用户已在其他组织中。'], + ['code' => 'User.AlreadyIn.Organization', 'message' => 'This user is already a member of the current organization.', 'http_code' => 400, 'description' => '该用户已在当前组织中。'], + ['code' => 'User.AlreadyIn.Role', 'message' => 'The user is already assigned this role.', 'http_code' => 400, 'description' => '用户已经拥有该角色。'], + ['code' => 'User.AlreadyIn.Workspace', 'message' => 'This user already exists.', 'http_code' => 400, 'description' => '该用户已在群空间中。'], + ['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' => '用户只允许添加进BI组织架构及子用户组。'], + ['code' => 'User.Duplicative', 'message' => 'Duplicate users found with account name: %s.', 'http_code' => 400, 'description' => '查询到重复的用户,账号名为:%s,。'], + ['code' => 'User.Duplicative', 'message' => 'Duplicate users found with account name : %s.', 'http_code' => 400, 'description' => '查询到重复的用户,账号名为:%s,。'], + ['code' => 'User.MustHaveRole.InWorkspace', 'message' => 'The user must have a role in the workspace.', 'http_code' => 400, 'description' => '用户必须在工作区拥有角色。'], + ['code' => 'User.Not.In.Organization', 'message' => 'The specified user is not in the organizational unit.', 'http_code' => 400, 'description' => '该用户不在组织中。'], + ['code' => 'User.Not.WorkspaceAdmin', 'message' => 'Only administrators of the group workspace can perform this operation.', 'http_code' => 400, 'description' => '没有权限,您不是该群空间的管理员。'], + ['code' => 'User.NotBelongTo.CurrentOrganization', 'message' => 'The user %s does not belong to the current organization.', 'http_code' => 400, 'description' => '用户%s不属于当前组织。'], + ['code' => 'User.NotIn.Workspace', 'message' => 'The user is not a member of the group workspace.', 'http_code' => 400, 'description' => '该用户不在群空间中。'], + ['code' => 'User.NotIn.Workspace', 'message' => 'The user is not in this workspace.', 'http_code' => 400, 'description' => '该用户不在此空间中。'], + ['code' => 'User.OnlyBind.OneRole', 'message' => 'The current user is only bound to one role and cannot unbind the current role.', 'http_code' => 400, 'description' => '当前用户只绑定了一个角色,无法再解绑当前角色。'], + ['code' => 'User.OperationPermission.Error', 'message' => 'You are not authorized to operate this object.', 'http_code' => 400, 'description' => '您没有当前对象的操作权限。'], + ['code' => 'User.OrganizationRole.NotExist', 'message' => 'User %s must have role in organization.', 'http_code' => 400, 'description' => '用户 %s 在组织中必须有一个角色。'], + ['code' => 'User.PresetWorkspaceRole.NotExist', 'message' => 'User does not have a predefined workspace role.', 'http_code' => 400, 'description' => '用户没有预置空间角色。'], + ['code' => 'User.Role.NotExist', 'message' => 'User role not exist: %s.', 'http_code' => 400, 'description' => '用户角色不存在:%s。'], + ['code' => 'User.RoleType.Valid', 'message' => 'The role ID is invalid.', 'http_code' => 400, 'description' => '无效的角色ID。'], + ['code' => 'UserAnalyst.NotSupport.ThisRole', 'message' => 'This role has permissions that analysts cannot grant.', 'http_code' => 400, 'description' => '该角色具有分析员无法授予的权限。'], + ['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' => '用户分组限制'], + ['code' => 'UserGroup.Layer.Limited', 'message' => 'The user group cannot have more than ten layers.', 'http_code' => 400, 'description' => '用户组层级最大为10层。'], + ['code' => 'Usergroup.Not.Exist', 'message' => 'The user group does not exist.', 'http_code' => 400, 'description' => '用户组不存在。'], + ['code' => 'Usergroup.NotBelongTo.CurrentOrganization', 'message' => 'The usergroup %s does not belong to the current organization.', 'http_code' => 400, 'description' => '用户组%s不属于当前组织。'], + ['code' => 'UserGroup.NotIn.Organization', 'message' => 'The user group is not in the current organization.', 'http_code' => 400, 'description' => '用户组不在当前组织内。'], + ['code' => 'UserGroup.Parent.NotFound', 'message' => 'The parent user group does not exist.', 'http_code' => 400, 'description' => '父用户组不存在。'], + ['code' => 'UserGroup.Remove.RootNode', 'message' => 'The root user group cannot be deleted.', 'http_code' => 400, 'description' => '根用户组不允许删除。'], + ['code' => 'UserGroup.Remove.WithChildren', 'message' => 'This user group contains a child user group and cannot be deleted.', 'http_code' => 400, 'description' => '当前用户组包含子用户组,不允许删除。'], + ['code' => 'UserGroup.Update.RootNode', 'message' => 'The root user group cannot be updated.', 'http_code' => 500, 'description' => '根用户组不允许更新。'], + ['code' => 'UserInfo.Error', 'message' => 'The personal information is invalid.', 'http_code' => 400, 'description' => '个人信息不合法。'], + ['code' => 'UserRoleConfig.NotContain.Function', 'message' => 'The user %s does not have permission to operate.', 'http_code' => 400, 'description' => '此用户%s没有权限操作。'], + ['code' => 'UserTag.Exceed.Limit', 'message' => 'The number of user tags cannot exceed %s, you have reached the upper limit.', 'http_code' => 400, 'description' => '用户标签数量不能超过%s个,您已达到上限。'], + ['code' => 'UserTag.NotIn.CurrentOrganization', 'message' => 'The user tag is not in the current organization.', 'http_code' => 500, 'description' => '用户标签不在当前组织中。'], + ['code' => 'Viewer.AddInTo.Workspace', 'message' => 'Organization members with viewer type are not allowed to add to workspace: %s.', 'http_code' => 400, 'description' => '不允许将组织的访客类型用户添加到工作空间:%s。'], + ['code' => 'Viewer.CannotAddTo.Workspace', 'message' => 'Visitors cannot be added to workspace.', 'http_code' => 500, 'description' => '访客无法加入工作空间。'], + ['code' => 'Viewer.CannotHave.CustomRole', 'message' => 'Organization viewer cannot have custom roles.', 'http_code' => 400, 'description' => '组织访问者不能具有自定义角色。'], + ['code' => 'Works.Transfer.Error', 'message' => 'You are not authorized to transfer this item.', 'http_code' => 400, 'description' => '转让失败,您没有相应权限。'], + ['code' => 'Workspace.Not.Exist', 'message' => 'The group workspace does not exist.', 'http_code' => 400, 'description' => '群空间不存在。'], + ['code' => 'Workspace.NotIn.Organization', 'message' => 'The workspace is not owned by the organization.', 'http_code' => 400, 'description' => '空间不在组织内。'], + ['code' => 'Workspace.Operation.LackOfRole', 'message' => 'The role required for the operation is missing, and the work operation type is %s.', 'http_code' => 400, 'description' => '缺少操作需要的角色,作品操作类型为%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' => '当前操作需要角色[%s],请联系管理员添加。'], + ['code' => 'Workspace.OutsideShare.Forbidden', 'message' => 'Content in the current group workspace cannot be shared with another organization.', 'http_code' => 400, 'description' => '当前群空间设置了禁止组织外分享。'], + ['code' => 'Workspace.Share.Forbidden', 'message' => 'Content in the current group workspace cannot be shared.', 'http_code' => 400, 'description' => '当前群空间设置了禁止分享。'], + ['code' => 'Workspace.Status.Error', 'message' => 'This group workspace has been disabled or deleted.', 'http_code' => 400, 'description' => '该群空间已被禁用或删除。'], + ['code' => 'Workspace.Type.Error', 'message' => 'The type of group workspace is invalid.', 'http_code' => 400, 'description' => '无效的群空间类型。'], + ['code' => 'WorkspaceOrWorkspaceRole.IsEmpty', 'message' => 'Workspace or workspace role is empty, please check.', 'http_code' => 400, 'description' => '工作空间或工作空间角色为空,请检查。'], + ['code' => 'Xengnie.TaskExecute.Error', 'message' => 'Fail to execute task %s.', 'http_code' => 400, 'description' => '任务执行失败 %s。'], + ['code' => 'VpcInstance.Info.Error', 'message' => 'Get vpc instance info error.please check vpc config %s.', 'http_code' => 400, 'description' => '获取VPC实例信息错误。请检查VPC配置 %s。'], + ['code' => 'VpcInstance.Info.EmptyError', 'message' => 'Not found instance. please check vpc config and authorization %s.', 'http_code' => 400, 'description' => '未找到实例。请检查VPC配置和权限 %s。'], + ['code' => 'User.Disabled.Error', 'message' => 'User has been disabled.', 'http_code' => 400, 'description' => '用户已被禁用。'], + ['code' => 'CubeDimension.NotExist.Error', 'message' => 'The dimension does not exist in the dataset. The dimension ID is %s.', 'http_code' => 400, 'description' => '数据集包含的维度不存在,维度path id:%s。'], + ['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' => '当前用户标签表字段来自于多个标签表,不允许使用多行分别计算。'], + ['code' => 'Work.Not.Exist', 'message' => 'The work does not exist.', 'http_code' => 400, 'description' => '作品不存在。'], + ['code' => 'Robot.Module.Exhausted', 'message' => 'The Quota of %s module has been exhausted.', 'http_code' => 400, 'description' => '%s模块的配额已耗尽。'], + ['code' => 'Tag.Not.Exist', 'message' => 'Tag not exist.', 'http_code' => 400, 'description' => '标签不存在。'], + ['code' => 'Usergroup.CannotTransfer.UnderChildren', 'message' => 'usergroup can\'t be transfered to under chidlren.', 'http_code' => 400, 'description' => '用户组不允许移动到子用户组下。'], + ['code' => 'Usergroup.CannotTransfer.OtherOrganzation', 'message' => 'usergroup can\'t be transfered to other organization.', 'http_code' => 400, 'description' => '不允许移动到其他组织的用户组下。'], + ['code' => 'Usergroup.TypeTransfer.NotSupport', 'message' => 'Unsupported type of user group or target user group.', 'http_code' => 400, 'description' => '不支持的用户组或目标用户组类型。'], + ['code' => 'Usergroup.TransferNotChanged.Error', 'message' => 'usergroup can\'t be transfered without any changed.', 'http_code' => 400, 'description' => '父用户组未发生改变,无需移动。'], + ['code' => 'DeletePermission.UserBelongsToUsergroup.Error', 'message' => 'cannot be deleted because user belongs to usergroup: %s.', 'http_code' => 400, 'description' => '无法删除,因为当前用户属于用户组:%s。'], + ['code' => 'DeletePermission.ExistWorkspaceRecord.Error', 'message' => 'cannot be deleted because there is already an workspace authorization record.', 'http_code' => 400, 'description' => '无法删除,因为该作品存在授权给全部空间成员的记录。'], + ['code' => 'Delete.ExistOrganizationRecord.Error', 'message' => 'cannot be deleted because there is already an organization authorization record.', 'http_code' => 400, 'description' => '无法删除,因为存在授权给组织内所有用户的记录。'], + ['code' => 'Delete.OwnerPermission.Error', 'message' => 'can not delete owner permission.', 'http_code' => 400, 'description' => '无法删除作品所有者的权限。'], + ['code' => 'DeletePermission.WorkspaceAllDeveloper.Error', 'message' => 'cannot be deleted because editing permission attribute has already been configured: all workspace developers.', 'http_code' => 400, 'description' => '无法删除,因为已配置编辑权限属性:所有空间开发者。'], + ['code' => 'Delete.WorpspaceAdminPermission.Error', 'message' => 'can not delete workspace admin permission.', 'http_code' => 400, 'description' => '无法删除空间管理员的权限。'], + ['code' => 'DeletePermission.WorkspaceAllMember.Error', 'message' => 'cannot be deleted because usage permission attribute has already been configured: all workspace members.', 'http_code' => 400, 'description' => '无法删除,因为已配置使用权限属性:全部空间成员。'], + ['code' => 'LoginIp.Format.Error', 'message' => 'Invalid IP address format: %s. Only public IPv4 addresses or CIDR format are supported.', 'http_code' => 400, 'description' => '无效的 IP 地址格式:%s ,仅支持公网 IPv4 地址或 CIDR 格式'], + ['code' => 'LoginIp.Private.Error', 'message' => 'Does not support private IP addresses: %s.', 'http_code' => 400, 'description' => '不支持私有IP地址:%s'], + ['code' => 'PlaceholderName.Duplicate.Error', 'message' => 'Sql placeholder name duplicate.', 'http_code' => 400, 'description' => 'Sql占位符名称重复。'], + ['code' => 'Placeholder.UniqueId.Duplicate', 'message' => 'Sql placeholder uniqueId duplicate.', 'http_code' => 400, 'description' => 'Sql占位符uniqueId重复。'], + ['code' => 'PlaceholderName.NotMatch.Error', 'message' => 'The parsing and input placeholder names do not match.', 'http_code' => 400, 'description' => '解析和输入占位符名称不匹配。'], + ['code' => 'Placeholder.Style.Illegal', 'message' => 'Illegal placeholder style.', 'http_code' => 400, 'description' => '非法占位符类型。'], + ['code' => 'Placeholder.Type.Illegal', 'message' => 'Illegal placeholder type.', 'http_code' => 400, 'description' => '非法占位符变量类型。'], + ['code' => 'Placeholder.Date.Illegal', 'message' => 'The placeholder date format is illegal.', 'http_code' => 400, 'description' => '占位符日期格式不合法。'], + ['code' => 'Placeholder.DefaultValue.Invalid', 'message' => 'Invalid placeholder default value.', 'http_code' => 400, 'description' => '无效的占位符默认值。'], + ['code' => 'Placeholder.FieldNot.Empty', 'message' => 'Condition placeHolder field not empty.', 'http_code' => 400, 'description' => '条件占位符字段不能为空'], ], 'changeSet' => [ [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'QueryUserInfoByAccount', - ], + ['description' => '错误码发生变更', 'api' => 'QueryUserInfoByAccount'], ], 'createdAt' => '2024-06-27T12:34:12.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryUserList', - ], - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryWorks', - ], - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryWorksByOrganization', - ], - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryWorksByWorkspace', - ], + ['description' => '响应参数发生变更', 'api' => 'QueryUserList'], + ['description' => '响应参数发生变更', 'api' => 'QueryWorks'], + ['description' => '响应参数发生变更', 'api' => 'QueryWorksByOrganization'], + ['description' => '响应参数发生变更', 'api' => 'QueryWorksByWorkspace'], ], 'createdAt' => '2024-06-27T01:51:55.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryDatasetInfo', - ], - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryDatasetList', - ], + ['description' => '响应参数发生变更', 'api' => 'QueryDatasetInfo'], + ['description' => '响应参数发生变更', 'api' => 'QueryDatasetList'], ], 'createdAt' => '2024-05-22T03:08:16.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '响应参数发生变更', - 'api' => 'ListFavoriteReports', - ], + ['description' => '响应参数发生变更', 'api' => 'ListFavoriteReports'], ], 'createdAt' => '2024-05-21T11:43:10.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', - 'api' => 'AddUser', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'AllotDatasetAccelerationTask', - ], - [ - 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', - 'api' => 'QueryUserInfoByAccount', - ], - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryUserInfoByUserId', - ], - [ - 'description' => '响应参数发生变更', - 'api' => 'QueryUserList', - ], - [ - 'description' => '错误码发生变更、请求参数发生变更', - 'api' => 'UpdateUser', - ], + ['description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', 'api' => 'AddUser'], + ['description' => '错误码发生变更', 'api' => 'AllotDatasetAccelerationTask'], + ['description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', 'api' => 'QueryUserInfoByAccount'], + ['description' => '响应参数发生变更', 'api' => 'QueryUserInfoByUserId'], + ['description' => '响应参数发生变更', 'api' => 'QueryUserList'], + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'UpdateUser'], ], 'createdAt' => '2024-02-26T09:29:08.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '请求参数发生变更', - 'api' => 'AddShareReport', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'BatchAddFeishuUsers', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'CreateTicket', - ], + ['description' => '请求参数发生变更', 'api' => 'AddShareReport'], + ['description' => '错误码发生变更', 'api' => 'BatchAddFeishuUsers'], + ['description' => '错误码发生变更', 'api' => 'CreateTicket'], ], 'createdAt' => '2023-10-24T07:01:14.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'AddUser', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'AddUserToWorkspace', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'AddWorkspaceUsers', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'BatchAddFeishuUsers', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'DeleteUser', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'QueryUserRoleInfoInWorkspace', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateUser', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateWorkspaceUserRole', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateWorkspaceUsersRole', - ], + ['description' => '错误码发生变更', 'api' => 'AddUser'], + ['description' => '错误码发生变更', 'api' => 'AddUserToWorkspace'], + ['description' => '错误码发生变更', 'api' => 'AddWorkspaceUsers'], + ['description' => '错误码发生变更', 'api' => 'BatchAddFeishuUsers'], + ['description' => '错误码发生变更', 'api' => 'DeleteUser'], + ['description' => '错误码发生变更', 'api' => 'QueryUserRoleInfoInWorkspace'], + ['description' => '错误码发生变更', 'api' => 'UpdateUser'], + ['description' => '错误码发生变更', 'api' => 'UpdateWorkspaceUserRole'], + ['description' => '错误码发生变更', 'api' => 'UpdateWorkspaceUsersRole'], ], 'createdAt' => '2023-08-07T06:37:20.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'CreateUserGroup', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateUserGroup', - ], + ['description' => '错误码发生变更', 'api' => 'CreateUserGroup'], + ['description' => '错误码发生变更', 'api' => 'UpdateUserGroup'], ], 'createdAt' => '2023-06-20T09:13:29.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'CreateUserGroup', - ], + ['description' => '错误码发生变更', 'api' => 'CreateUserGroup'], ], 'createdAt' => '2023-05-10T05:00:05.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'QueryDataService', - ], + ['description' => '错误码发生变更', 'api' => 'QueryDataService'], ], 'createdAt' => '2023-04-06T10:21:48.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'ChangeVisibilityModel', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateDataLevelPermissionStatus', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateEmbeddedStatus', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateTicketNum', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateUserGroup', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateUserTagMeta', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateUserTagValue', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateWorkspaceUserRole', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'UpdateWorkspaceUsersRole', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'WithdrawAllUserGroups', - ], + ['description' => '错误码发生变更', 'api' => 'ChangeVisibilityModel'], + ['description' => '错误码发生变更', 'api' => 'UpdateDataLevelPermissionStatus'], + ['description' => '错误码发生变更', 'api' => 'UpdateEmbeddedStatus'], + ['description' => '错误码发生变更', 'api' => 'UpdateTicketNum'], + ['description' => '错误码发生变更', 'api' => 'UpdateUserGroup'], + ['description' => '错误码发生变更', 'api' => 'UpdateUserTagMeta'], + ['description' => '错误码发生变更', 'api' => 'UpdateUserTagValue'], + ['description' => '错误码发生变更', 'api' => 'UpdateWorkspaceUserRole'], + ['description' => '错误码发生变更', 'api' => 'UpdateWorkspaceUsersRole'], + ['description' => '错误码发生变更', 'api' => 'WithdrawAllUserGroups'], ], 'createdAt' => '2023-04-06T10:12:55.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'QueryDataService', - ], - [ - 'description' => '错误码发生变更', - 'api' => 'QueryWorksByOrganization', - ], + ['description' => '错误码发生变更', 'api' => 'QueryDataService'], + ['description' => '错误码发生变更', 'api' => 'QueryWorksByOrganization'], ], 'createdAt' => '2022-10-24T02:14:23.000Z', 'description' => '修改部分特殊API的超时时间。', ], [ 'apis' => [ - [ - 'description' => 'OpenAPI 下线', - 'api' => 'BatchAddFeishuUsers', - ], + ['description' => 'OpenAPI 下线', 'api' => 'BatchAddFeishuUsers'], ], 'createdAt' => '2022-09-08T13:34:13.000Z', 'description' => '- 更新一些API的错误码以及参数校验说明。- 新增批量添加飞书用户的API。', ], [ 'apis' => [ - [ - 'description' => 'OpenAPI 下线', - 'api' => 'QueryEmbeddedStatus', - ], + ['description' => 'OpenAPI 下线', 'api' => 'QueryEmbeddedStatus'], ], 'createdAt' => '2022-07-04T12:56:17.000Z', 'description' => '- 新增接口QueryEmbeddedStatus。', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'CreateTicket', - ], + ['description' => '错误码发生变更', 'api' => 'CreateTicket'], ], 'createdAt' => '2022-03-22T02:51:03.000Z', 'description' => 'CreateTicket新增错误码。', ], [ 'apis' => [ - [ - 'description' => '错误码发生变更', - 'api' => 'AddDataLevelPermissionRuleUsers', - ], + ['description' => '错误码发生变更', 'api' => 'AddDataLevelPermissionRuleUsers'], ], 'createdAt' => '2022-03-21T06:53:18.000Z', 'description' => 'AddDataLevelPermissionRuleUsers新增错误码。', ], [ 'apis' => [ - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddDataLevelPermissionRuleUsers', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddDataLevelPermissionWhiteList', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddShareReport', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddUser', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddUserGroupMember', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddUserGroupMembers', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddUserTagMeta', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddUserToWorkspace', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AddWorkspaceUsers', - ], - [ - 'description' => 'OpenAPI 下线', - 'api' => 'AuthorizeMenu', - ], + ['description' => 'OpenAPI 下线', 'api' => 'AddDataLevelPermissionRuleUsers'], + ['description' => 'OpenAPI 下线', 'api' => 'AddDataLevelPermissionWhiteList'], + ['description' => 'OpenAPI 下线', 'api' => 'AddShareReport'], + ['description' => 'OpenAPI 下线', 'api' => 'AddUser'], + ['description' => 'OpenAPI 下线', 'api' => 'AddUserGroupMember'], + ['description' => 'OpenAPI 下线', 'api' => 'AddUserGroupMembers'], + ['description' => 'OpenAPI 下线', 'api' => 'AddUserTagMeta'], + ['description' => 'OpenAPI 下线', 'api' => 'AddUserToWorkspace'], + ['description' => 'OpenAPI 下线', 'api' => 'AddWorkspaceUsers'], + ['description' => 'OpenAPI 下线', 'api' => 'AuthorizeMenu'], ], 'createdAt' => '2022-03-04T10:06:41.000Z', 'description' => 'QuickBI产品region化输出POP API', @@ -27638,1021 +14666,542 @@ ], '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' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ [ - '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', + 'apiName' => 'ResultCallback', + 'description' => '自定义审批流回调接口', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:ResultCallback', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteDataLevelRuleConfig', + 'apiName' => 'ListByUserGroupId', + 'description' => '批量查询用户组', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListByUserGroupId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryOrganizationRoleConfig', + 'apiName' => 'QuerySharesToUserList', + 'description' => '查询授权给用户的作品列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QuerySharesToUserList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateTicketNum', + 'apiName' => 'ListPortalMenuAuthorization', + 'description' => '获取数据门户菜单的授权详情', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListPortalMenuAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetWorksEmbedList', + 'apiName' => 'ListApiDatasource', + 'description' => '查询API数据源列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListApiDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryWorks', + 'apiName' => 'QueryWorkspaceRoleConfig', + 'description' => '获取指定空间角色的配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryWorkspaceRoleConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'AuthorizeMenu', + 'apiName' => 'CheckDatasetExisted', + 'description' => '检查给定的cubeId是否存在', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'quickbi-public:CheckDatasetExisted', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'SetDataLevelPermissionWhiteList', + 'apiName' => 'QueryCubePerformance', + 'description' => '查询数据集性能日志', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCubePerformance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryUserRoleInfoInWorkspace', + 'apiName' => 'UpdateWorkspaceUsersRole', + 'description' => '批量更新工作空间成员的角色', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateWorkspaceUsersRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteUserTagMeta', + 'apiName' => 'CancelCollection', + 'description' => '取消作品收藏', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'quickbi-public:CancelCollection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'QueryWorksByWorkspace', + 'apiName' => 'QueryUserGroupListByParentId', + 'description' => '查询父用户组下的子用户组列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryUserGroupListByParentId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteUserGroup', + 'apiName' => 'CreateTicket', + 'description' => '生成报表嵌入ticket', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateTicket', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - ], - ], - 'ram' => [ - 'productCode' => 'QuickBI', - 'productName' => '智能商业分析 Quick BI', - 'ramCodes' => [ - 'quickbi-public', - ], - 'ramLevel' => '操作级', - 'ramConditions' => [], - 'ramActions' => [ [ - 'apiName' => 'QueryDatasetList', - 'description' => '查询工作空间数据集列表', - 'operationType' => 'list', + 'apiName' => 'QueryDataServiceList', + 'description' => '数据服务列表API', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDatasetList', + 'action' => 'quickbi-public:QueryDataServiceList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListSharedReports', - 'description' => '获取首页看板被授权的作品列表', - 'operationType' => 'list', + 'apiName' => 'DeleteUserTagMeta', + 'description' => '删除组织成员标签元信息', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:ListSharedReports', + 'action' => 'quickbi-public:DeleteUserTagMeta', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserRoleInfoInWorkspace', - 'description' => '查询工作空间成员的预置角色', + 'apiName' => 'GetMailTaskList', + 'description' => '获取订阅任务列表信息', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserRoleInfoInWorkspace', + 'action' => 'quickbi-public:GetMailTaskList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddUser', - 'description' => '添加组织成员', + 'apiName' => 'AddUserToWorkspace', + 'description' => '添加成员到工作空间', 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:AddUser', + 'action' => 'quickbi-public:AddUserToWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateUserTagValue', - 'description' => '更新组织成员标签值', - 'operationType' => 'update', + 'apiName' => 'SmartqQueryAbility', + 'description' => '小Q问数查询', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateUserTagValue', + 'action' => 'quickbi-public:SmartqQueryAbility', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteUserFromWorkspace', - 'description' => '删除工作空间成员', - 'operationType' => 'delete', + 'apiName' => 'QueryComponentPerformance', + 'description' => '查询组件性能日志', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteUserFromWorkspace', + 'action' => 'quickbi-public:QueryComponentPerformance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListRecentViewReports', - 'description' => '获取首页看板常看和足迹列表', + 'apiName' => 'CheckOrganizationMember', + 'description' => '判断用户是否属于组织', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:CheckOrganizationMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListWorkspaceRoles', + 'description' => '获取空间角色列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:ListRecentViewReports', + 'action' => 'quickbi-public:ListWorkspaceRoles', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DataSourceBlood', - 'description' => '查询引用指定数据源下的数据集信息', + 'apiName' => 'CheckReadable', + 'description' => '查询用户对数据作品的查看权限', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:DataSourceBlood', + 'action' => 'quickbi-public:CheckReadable', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateUserTagMeta', - 'description' => '更新组织成员标签元信息', - 'operationType' => 'update', + 'apiName' => 'ListSharedReports', + 'description' => '获取首页看板被授权的作品列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateUserTagMeta', + 'action' => 'quickbi-public:ListSharedReports', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'SaveFavorites', - 'description' => '添加作品收藏', - 'operationType' => 'create', + 'apiName' => 'ListWhitePortalMenu', + 'description' => '获取数据门户菜单的白名单列表', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:SaveFavorites', + 'action' => 'quickbi-public:ListWhitePortalMenu', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddDataLevelPermissionRuleUsers', - 'description' => '添加行列权限规则人群', - 'operationType' => 'create', + 'apiName' => 'DataSetBlood', + 'description' => '查询引用指定数据集下的作品信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:AddDataLevelPermissionRuleUsers', + 'action' => 'quickbi-public:DataSetBlood', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CancelReportShare', - 'description' => '删除数据作品的分享授权', - 'operationType' => 'delete', + 'apiName' => 'ListOrganizationRoleUsers', + 'description' => '获取指定组织角色下的用户列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:CancelReportShare', + 'action' => 'quickbi-public:ListOrganizationRoleUsers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryEmbeddedStatus', - 'description' => '查询报表嵌入状态', - 'operationType' => 'get', + 'apiName' => 'QueryWorkspaceUserList', + 'description' => '查询工作空间下的成员列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryEmbeddedStatus', + 'action' => 'quickbi-public:QueryWorkspaceUserList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryTicketInfo', - 'description' => '查询嵌入报表ticket详情', - 'operationType' => 'get', + 'apiName' => 'ListCollections', + 'description' => '获取用户收藏作品列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryTicketInfo', + 'action' => 'quickbi-public:ListCollections', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AllotDatasetAccelerationTask', - 'description' => '触发数据集抽取加速', - 'operationType' => 'update', + 'apiName' => 'ListWorkspaceUserRolesByUserId', + 'description' => '查询用户所有空间角色列表', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:AllotDatasetAccelerationTask', + 'action' => 'quickbi-public:ListWorkspaceUserRolesByUserId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateWorkspaceUserRole', - 'description' => '修改工作空间成员角色', + 'apiName' => 'TransferUsergroup', + 'description' => '迁移用户组', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateWorkspaceUserRole', + 'action' => 'quickbi-public:TransferUsergroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'BatchAddFeishuUsers', - 'description' => '批量添加飞书用户', + 'apiName' => 'SetDataLevelPermissionRuleConfig', + 'description' => '设置单条数据集行列权限配置信息', 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:BatchAddFeishuUsers', + 'action' => 'quickbi-public:SetDataLevelPermissionRuleConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteTicket', - 'description' => '删除嵌入ticket', + 'apiName' => 'WithdrawAllUserGroups', + 'description' => '用户退出所有用户组', 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteTicket', + 'action' => 'quickbi-public:WithdrawAllUserGroups', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateUserGroup', + 'description' => '新建用户组', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:CreateUserGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -28665,66 +15214,59 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryReadableResourcesListByUserId', - 'description' => '查询用户有权查看的作品列表', + 'apiName' => 'GetUserGroupInfo', + 'description' => '根据关键字获取用户组信息', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryReadableResourcesListByUserId', + 'action' => 'quickbi-public:GetUserGroupInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserInfoByUserId', - 'description' => '根据用户ID查询用户信息', - 'operationType' => 'get', + 'apiName' => 'DeleteTicket', + 'description' => '删除嵌入ticket', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserInfoByUserId', + 'action' => 'quickbi-public:DeleteTicket', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryData', - 'description' => '查询数据', - 'operationType' => 'get', + 'apiName' => 'CreateCubeBySql', + 'description' => '根据自定义sql创建数据集', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QueryData', + 'action' => 'quickbi-public:CreateCubeBySql', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListWorkspaceRoleUsers', + 'description' => '获取指定空间角色下的用户列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListWorkspaceRoleUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -28737,210 +15279,163 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserTagMetaList', - 'description' => '查询组织成员标签元信息列表', + 'apiName' => 'AddShareReport', + 'description' => '添加数据作品分享配置', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddShareReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryUserGroupMember', + 'description' => '查询用户组成员列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserTagMetaList', + 'action' => 'quickbi-public:QueryUserGroupMember', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CheckReadable', - 'description' => '查询用户对数据作品的查看权限', - 'operationType' => 'get', + 'apiName' => 'SmartqAuthorize', + 'description' => '批量管理小Q问数的授权', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:CheckReadable', + 'action' => 'quickbi-public:SmartqAuthorize', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddUserGroupMembers', - 'description' => '批量添加成员到用户组', - 'operationType' => 'create', + 'apiName' => 'QueryApprovalInfo', + 'description' => '根据审批人获取相应的审批流信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:AddUserGroupMembers', + 'action' => 'quickbi-public:QueryApprovalInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddDataLevelPermissionWhiteList', - 'description' => '增量修改行列权限白名单', - 'operationType' => 'create', + 'apiName' => 'IpWhiteListConfig', + 'description' => '数据安全-IP白名单配置', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:AddDataLevelPermissionWhiteList', + 'action' => 'quickbi-public:IpWhiteListConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListWorkspaceRoles', - 'description' => '获取空间角色列表', + 'apiName' => 'QueryWorksByWorkspace', + 'description' => '查询工作空间下的所有作品', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:ListWorkspaceRoles', + 'action' => 'quickbi-public:QueryWorksByWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'SetDataLevelPermissionRuleConfig', - 'description' => '设置单条数据集行列权限配置信息', - 'operationType' => 'create', + 'apiName' => 'ModifyApiDatasourceParameters', + 'description' => '修改API数据源配置', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:SetDataLevelPermissionRuleConfig', + 'action' => 'quickbi-public:ModifyApiDatasourceParameters', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ChangeVisibilityModel', - 'description' => '修改数据门户菜单的可见方式', - 'operationType' => 'update', + 'apiName' => 'QueryUserInfoByAccount', + 'description' => '根据账号查询用户信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:ChangeVisibilityModel', + 'action' => 'quickbi-public:QueryUserInfoByAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ManualRunMailTask', - 'description' => '手动执行邮件任务', - 'operationType' => 'update', + 'apiName' => 'QueryCubeOptimization', + 'description' => '查询数据集优化建议', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:ManualRunMailTask', + 'action' => 'quickbi-public:QueryCubeOptimization', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'WithdrawAllUserGroups', - 'description' => '用户退出所有用户组', - 'operationType' => 'delete', + 'apiName' => 'AddUserGroupMembers', + 'description' => '批量添加成员到用户组', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:WithdrawAllUserGroups', + 'action' => 'quickbi-public:AddUserGroupMembers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryDatasetSwitchInfo', - 'description' => '获取数据集行级权限开关状态', + 'apiName' => 'QueryAccelerationLogByCubeId', + 'description' => '获取指定数据集的加速任务运行日志', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDatasetSwitchInfo', + 'action' => 'quickbi-public:QueryAccelerationLogByCubeId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryReadableResourcesListByUserIdV2', - 'description' => '查询用户有权查看的作品列表(新)', + 'apiName' => 'QueryUserRoleInfoInWorkspace', + 'description' => '查询工作空间成员的预置角色', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryReadableResourcesListByUserIdV2', + 'action' => 'quickbi-public:QueryUserRoleInfoInWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -28953,1164 +15448,878 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserGroupListByParentId', - 'description' => '查询父用户组下的子用户组列表', - 'operationType' => 'list', + 'apiName' => 'SaveFavorites', + 'description' => '添加作品收藏', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserGroupListByParentId', + 'action' => 'quickbi-public:SaveFavorites', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ModifyCopilotEmbedConfig', - 'description' => '修改智能问数嵌入配置', + 'apiName' => 'UpdateEmbeddedStatus', + 'description' => '更改报表的嵌入状态', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:ModifyCopilotEmbedConfig', + 'action' => 'quickbi-public:UpdateEmbeddedStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryDataService', - 'description' => '调用数据服务API', + 'apiName' => 'QueryTicketInfo', + 'description' => '查询嵌入报表ticket详情', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDataService', + 'action' => 'quickbi-public:QueryTicketInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'GetMailTaskStatus', - 'description' => '查看邮件任务运行状态', + 'apiName' => 'QuerySmartqPermissionByCubeId', + 'description' => '查看用户是否有某个小Q问数数据集权限', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:GetMailTaskStatus', + 'action' => 'quickbi-public:QuerySmartqPermissionByCubeId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateUser', - 'description' => '更新组织成员信息', + 'apiName' => 'QueryCopilotEmbedConfig', + 'description' => '获取开通小Q嵌入的配置列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryCopilotEmbedConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateTicketNum', + 'description' => '更新嵌入ticket票据数量', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateUser', + 'action' => 'quickbi-public:UpdateTicketNum', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserInfoByAccount', - 'description' => '根据账号查询用户信息', - 'operationType' => 'get', + 'apiName' => 'UpdateDataLevelPermissionStatus', + 'description' => '更新数据集行列权限开关状态', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserInfoByAccount', + 'action' => 'quickbi-public:UpdateDataLevelPermissionStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListUserGroupsByUserId', - 'description' => '查询用户所属的用户组信息列表', - 'operationType' => 'list', + 'apiName' => 'SetDataLevelPermissionExtraConfig', + 'description' => '设置行列权限额外配置', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:ListUserGroupsByUserId', + 'action' => 'quickbi-public:SetDataLevelPermissionExtraConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListWorkspaceRoleUsers', - 'description' => '获取指定空间角色下的用户列表', - 'operationType' => 'list', + 'apiName' => 'CreateWorkspace', + 'description' => '新建工作空间', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:ListWorkspaceRoleUsers', + 'action' => 'quickbi-public:CreateWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserGroupMember', - 'description' => '查询用户组成员列表', - 'operationType' => 'list', + 'apiName' => 'QueryWorks', + 'description' => '查询数据作品信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserGroupMember', + 'action' => 'quickbi-public:QueryWorks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateEmbeddedStatus', - 'description' => '更改报表的嵌入状态', - 'operationType' => 'update', + 'apiName' => 'QueryUserByMobileAccount', + 'description' => '根据绑定的第三方账号ID查询UserId', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateEmbeddedStatus', + 'action' => 'quickbi-public:QueryUserByMobileAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateTicketNum', - 'description' => '更新嵌入ticket票据数量', - 'operationType' => 'update', + 'apiName' => 'QueryUserTagValueList', + 'description' => '查询组织成员标签值列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateTicketNum', + 'action' => 'quickbi-public:QueryUserTagValueList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteUser', - 'description' => '删除组织用户', - 'operationType' => 'delete', + 'apiName' => 'QueryWorksBloodRelationship', + 'description' => '查询数据作品的血缘信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteUser', + 'action' => 'quickbi-public:QueryWorksBloodRelationship', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListOrganizationRoles', - 'description' => '获取组织角色列表', - 'operationType' => 'list', + 'apiName' => 'QueryDatasetDetailInfo', + 'description' => '查询数据集详情', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:ListOrganizationRoles', + 'action' => 'quickbi-public:QueryDatasetDetailInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateUserGroup', - 'description' => '更新用户组信息', - 'operationType' => 'update', + 'apiName' => 'ListDataLevelPermissionWhiteList', + 'description' => '获取数据集行列权限白名单列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateUserGroup', + 'action' => 'quickbi-public:ListDataLevelPermissionWhiteList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryComponentPerformance', - 'description' => '查询组件性能日志', + 'apiName' => 'ListPortalMenus', + 'description' => '获取数据门户菜单列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryComponentPerformance', + 'action' => 'quickbi-public:ListPortalMenus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryOrganizationRoleConfig', - 'description' => '获取指定组织角色的配置信息', - 'operationType' => 'get', + 'apiName' => 'CreateTicket4Copilot', + 'description' => '生成智能小Q嵌入Ticket', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QueryOrganizationRoleConfig', + 'action' => 'quickbi-public:CreateTicket4Copilot', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListPortalMenus', - 'description' => '获取数据门户菜单列表', - 'operationType' => 'list', + 'apiName' => 'UpdateUser', + 'description' => '更新组织成员信息', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:ListPortalMenus', + 'action' => 'quickbi-public:UpdateUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddShareReport', - 'description' => '添加数据作品分享配置', - 'operationType' => 'create', + 'apiName' => 'QueryDataRange', + 'description' => '获取数据范围目录列表', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:AddShareReport', + 'action' => 'quickbi-public:QueryDataRange', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddWorkspaceUsers', - 'description' => '批量添加成员到工作空间', - 'operationType' => 'create', + 'apiName' => 'DeleteUserGroupMembers', + 'description' => '用户批量退出用户组', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:AddWorkspaceUsers', + 'action' => 'quickbi-public:DeleteUserGroupMembers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddUserToWorkspace', - 'description' => '添加成员到工作空间', - 'operationType' => 'create', + 'apiName' => 'QueryEmbeddedInfo', + 'description' => '获取组织嵌入配置', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:AddUserToWorkspace', + 'action' => 'quickbi-public:QueryEmbeddedInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddUserTagMeta', - 'description' => '新增组织成员标签元信息', - 'operationType' => 'create', + 'apiName' => 'DeleteUser', + 'description' => '删除组织用户', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:AddUserTagMeta', + 'action' => 'quickbi-public:DeleteUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryCopilotEmbedConfig', - 'description' => '获取开通小Q嵌入的配置列表', + 'apiName' => 'ListFavoriteReports', + 'description' => '首页看板收藏列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryCopilotEmbedConfig', + 'action' => 'quickbi-public:ListFavoriteReports', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryWorkspaceUserList', - 'description' => '查询工作空间下的成员列表', + 'apiName' => 'QueryData', + 'description' => '查询数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'quickbi-public:QueryData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryUserList', + 'description' => '查询组织成员列表信息', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryWorkspaceUserList', + 'action' => 'quickbi-public:QueryUserList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'SetDataLevelPermissionExtraConfig', - 'description' => '设置行列权限额外配置', - 'operationType' => 'create', + 'apiName' => 'UpdateWorkspaceUserRole', + 'description' => '修改工作空间成员角色', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:SetDataLevelPermissionExtraConfig', + 'action' => 'quickbi-public:UpdateWorkspaceUserRole', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryWorkspaceRoleConfig', - 'description' => '获取指定空间角色的配置信息', + 'apiName' => 'QueryReadableResourcesListByUserIdV2', + 'description' => '查询用户有权查看的作品列表(新)', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryWorkspaceRoleConfig', + 'action' => 'quickbi-public:QueryReadableResourcesListByUserIdV2', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteUserGroupMembers', - 'description' => '用户批量退出用户组', + 'apiName' => 'UpdateUserTagMeta', + 'description' => '更新组织成员标签元信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'quickbi-public:UpdateUserTagMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteUserFromWorkspace', + 'description' => '删除工作空间成员', 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteUserGroupMembers', + 'action' => 'quickbi-public:DeleteUserFromWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryWorks', - 'description' => '查询数据作品信息', - 'operationType' => 'get', + 'apiName' => 'QueryUserTagMetaList', + 'description' => '查询组织成员标签元信息列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryWorks', + 'action' => 'quickbi-public:QueryUserTagMetaList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryDatasetDetailInfo', - 'description' => '查询数据集详情', - 'operationType' => 'get', + 'apiName' => 'AuthorizeMenu', + 'description' => '数据门户菜单批量授权', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDatasetDetailInfo', + 'action' => 'quickbi-public:AuthorizeMenu', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListFavoriteReports', - 'description' => '首页看板收藏列表', - 'operationType' => 'list', + 'apiName' => 'UpdateUserGroup', + 'description' => '更新用户组信息', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:ListFavoriteReports', + 'action' => 'quickbi-public:UpdateUserGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'GetDataSourceConnectionInfo', - 'description' => '获取数据源信息', + 'apiName' => 'QueryUserInfoByUserId', + 'description' => '根据用户ID查询用户信息', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:GetDataSourceConnectionInfo', + 'action' => 'quickbi-public:QueryUserInfoByUserId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListPortalMenuAuthorization', - 'description' => '获取数据门户菜单的授权详情', + 'apiName' => 'QueryReadableResourcesListByUserId', + 'description' => '查询用户有权查看的作品列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:ListPortalMenuAuthorization', + 'action' => 'quickbi-public:QueryReadableResourcesListByUserId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryReportPerformance', - 'description' => '查询报表性能日志', - 'operationType' => 'list', + 'apiName' => 'AddDataSource', + 'description' => '新增数据源连接', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QueryReportPerformance', + 'action' => 'quickbi-public:AddDataSource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'GetWorksEmbedList', - 'description' => '获取已经嵌入的报表', - 'operationType' => 'list', + 'apiName' => 'DeleteUserGroupMember', + 'description' => '删除用户组成员', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:GetWorksEmbedList', + 'action' => 'quickbi-public:DeleteUserGroupMember', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateDataLevelPermissionStatus', - 'description' => '更新数据集行列权限开关状态', + 'apiName' => 'UpdateCubeBySql', + 'description' => '更新自定义sql数据集', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateDataLevelPermissionStatus', + 'action' => 'quickbi-public:UpdateCubeBySql', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CancelAuthorizationMenu', - 'description' => '批量取消数据门户菜单授权', + 'apiName' => 'DeleteDataLevelRuleConfig', + 'description' => '删除行列权限规则', 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:CancelAuthorizationMenu', + 'action' => 'quickbi-public:DeleteDataLevelRuleConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DelayTicketExpireTime', - 'description' => '更新嵌入ticket的失效时间', - 'operationType' => 'update', + 'apiName' => 'DeleteUserGroup', + 'description' => '删除用户组', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:DelayTicketExpireTime', + 'action' => 'quickbi-public:DeleteUserGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryCubePerformance', - 'description' => '查询数据集性能日志', - 'operationType' => 'get', + 'apiName' => 'DelayTicketExpireTime', + 'description' => '更新嵌入ticket的失效时间', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:QueryCubePerformance', + 'action' => 'quickbi-public:DelayTicketExpireTime', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListDataSource', - 'description' => '查询指定空间下的所有数据源', + 'apiName' => 'ListCubeDataLevelPermissionConfig', + 'description' => '获取数据集行列权限配置列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:ListDataSource', + 'action' => 'quickbi-public:ListCubeDataLevelPermissionConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryWorksBloodRelationship', - 'description' => '查询数据作品的血缘信息', - 'operationType' => 'get', + 'apiName' => 'CreateDataset', + 'description' => '根据物理表名称创建数据集', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QueryWorksBloodRelationship', + 'action' => 'quickbi-public:CreateDataset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryDatasetSmartqStatus', - 'description' => '查看数据集是否开通智能问数', + 'apiName' => 'DataSourceBlood', + 'description' => '查询引用指定数据源下的数据集信息', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDatasetSmartqStatus', + 'action' => 'quickbi-public:DataSourceBlood', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryDatasetInfo', - 'description' => '查询数据集信息', - 'operationType' => 'get', + 'apiName' => 'UpdateDataSource', + 'description' => '修改数据源配置', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDatasetInfo', + 'action' => 'quickbi-public:UpdateDataSource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryEmbeddedInfo', - 'description' => '获取组织嵌入配置', - 'operationType' => 'get', + 'apiName' => 'UpdateUserTagValue', + 'description' => '更新组织成员标签值', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:QueryEmbeddedInfo', + 'action' => 'quickbi-public:UpdateUserTagValue', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListCollections', - 'description' => '获取用户收藏作品列表', + 'apiName' => 'QueryReportPerformance', + 'description' => '查询报表性能日志', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:ListCollections', + 'action' => 'quickbi-public:QueryReportPerformance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserTagValueList', - 'description' => '查询组织成员标签值列表', + 'apiName' => 'GetWorksEmbedList', + 'description' => '获取已经嵌入的报表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserTagValueList', + 'action' => 'quickbi-public:GetWorksEmbedList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryApprovalInfo', - 'description' => '根据审批人获取相应的审批流信息', + 'apiName' => 'QueryLlmCubeWithThemeListByUserId', + 'description' => '查看用户有哪些数据集和分析主题的问数授权', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryApprovalInfo', + 'action' => 'quickbi-public:QueryLlmCubeWithThemeListByUserId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryCubeOptimization', - 'description' => '查询数据集优化建议', + 'apiName' => 'QueryOrganizationRoleConfig', + 'description' => '获取指定组织角色的配置信息', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryCubeOptimization', + 'action' => 'quickbi-public:QueryOrganizationRoleConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QuerySharesToUserList', - 'description' => '查询授权给用户的作品列表', - 'operationType' => 'list', + 'apiName' => 'AddDataLevelPermissionRuleUsers', + 'description' => '添加行列权限规则人群', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QuerySharesToUserList', + 'action' => 'quickbi-public:AddDataLevelPermissionRuleUsers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteDataLevelPermissionRuleUsers', - 'description' => '删除行列规则的人群', - 'operationType' => 'delete', + 'apiName' => 'AddWorksAuthorization', + 'description' => '新增作品的协同授权记录', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteDataLevelPermissionRuleUsers', + 'action' => 'quickbi-public:AddWorksAuthorization', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CancelCollection', - 'description' => '取消作品收藏', - 'operationType' => 'delete', + 'apiName' => 'QueryDashboardNl2sql', + 'description' => '查询仪表板的问数资源信息', + 'operationType' => 'none', 'ramAction' => [ - 'action' => 'quickbi-public:CancelCollection', + 'action' => 'quickbi-public:QueryDashboardNl2sql', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AddUserGroupMember', - 'description' => '添加成员到用户组', - 'operationType' => 'create', + 'apiName' => 'DeleteDataLevelPermissionRuleUsers', + 'description' => '删除行列规则的人群', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:AddUserGroupMember', + 'action' => 'quickbi-public:DeleteDataLevelPermissionRuleUsers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateTicket4Copilot', - 'description' => '生成智能小Q嵌入Ticket', + 'apiName' => 'AddUserTagMeta', + 'description' => '新增组织成员标签元信息', 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:CreateTicket4Copilot', + 'action' => 'quickbi-public:AddUserTagMeta', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateUserGroup', - 'description' => '新建用户组', - 'operationType' => 'create', + 'apiName' => 'ListOrganizationRoles', + 'description' => '获取组织角色列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:CreateUserGroup', + 'action' => 'quickbi-public:ListOrganizationRoles', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ResultCallback', - 'description' => '自定义审批流回调接口', - 'operationType' => 'update', + 'apiName' => 'ListUserGroupsByUserId', + 'description' => '查询用户所属的用户组信息列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:ResultCallback', + 'action' => 'quickbi-public:ListUserGroupsByUserId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'AuthorizeMenu', - 'description' => '数据门户菜单批量授权', - 'operationType' => 'create', + 'apiName' => 'ManualRunMailTask', + 'description' => '手动执行邮件任务', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:AuthorizeMenu', + 'action' => 'quickbi-public:ManualRunMailTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'SmartqQueryAbility', - 'description' => '智能问数查询', + 'apiName' => 'QueryDatasetSwitchInfo', + 'description' => '获取数据集行级权限开关状态', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:SmartqQueryAbility', + 'action' => 'quickbi-public:QueryDatasetSwitchInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryLlmCubeWithThemeListByUserId', - 'description' => '查看用户有哪些数据集和分析主题的问数授权', + 'apiName' => 'ListDynamicTag', + 'description' => '获取当前组织的动态标签列表', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryLlmCubeWithThemeListByUserId', + 'action' => 'quickbi-public:ListDynamicTag', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListOrganizationRoleUsers', - 'description' => '获取指定组织角色下的用户列表', - 'operationType' => 'list', + 'apiName' => 'CancelReportShare', + 'description' => '删除数据作品的分享授权', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:ListOrganizationRoleUsers', + 'action' => 'quickbi-public:CancelReportShare', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListByUserGroupId', - 'description' => '批量查询用户组', - 'operationType' => 'list', + 'apiName' => 'ModifyDashboardNl2sqlStatus', + 'description' => '批量编辑仪表板的小Q问数状态', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:ListByUserGroupId', + 'action' => 'quickbi-public:ModifyDashboardNl2sqlStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryUserList', - 'description' => '查询组织成员列表信息', - 'operationType' => 'list', + 'apiName' => 'ListAccelerationOfWorkspace', + 'description' => '获取空间下加速引擎管控页任务信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryUserList', + 'action' => 'quickbi-public:ListAccelerationOfWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListApiDatasource', - 'description' => '查询API数据源列表', + 'apiName' => 'QueryOrganizationWorkspaceList', + 'description' => '获取组织下的工作空间列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:ListApiDatasource', + 'action' => 'quickbi-public:QueryOrganizationWorkspaceList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QuerySmartqPermissionByCubeId', - 'description' => '查看用户是否有某个智能问数数据集权限', + 'apiName' => 'QueryDatasetSmartqStatus', + 'description' => '查看数据集是否开通小Q问数', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QuerySmartqPermissionByCubeId', + 'action' => 'quickbi-public:QueryDatasetSmartqStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryDataRange', - 'description' => '获取数据范围目录列表', - 'operationType' => 'get', + 'apiName' => 'CancelAuthorizationMenu', + 'description' => '批量取消数据门户菜单授权', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDataRange', + 'action' => 'quickbi-public:CancelAuthorizationMenu', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DataSetBlood', - 'description' => '查询引用指定数据集下的作品信息', - 'operationType' => 'get', + 'apiName' => 'AddUser', + 'description' => '添加组织成员', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:DataSetBlood', + 'action' => 'quickbi-public:AddUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListCubeDataLevelPermissionConfig', - 'description' => '获取数据集行列权限配置列表', - 'operationType' => 'list', + 'apiName' => 'ModifyCopilotEmbedConfig', + 'description' => '修改智能问数嵌入配置', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:ListCubeDataLevelPermissionConfig', + 'action' => 'quickbi-public:ModifyCopilotEmbedConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -30123,264 +16332,241 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ModifyApiDatasourceParameters', - 'description' => '修改API数据源配置', - 'operationType' => 'update', + 'apiName' => 'DeleteAuthorizationByUserId', + 'description' => '删除指定用户的协同授权记录', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'quickbi-public:ModifyApiDatasourceParameters', + 'action' => 'quickbi-public:DeleteAuthorizationByUserId', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteUserGroupMember', - 'description' => '删除用户组成员', - 'operationType' => 'delete', + 'apiName' => 'QueryDataService', + 'description' => '调用数据服务API', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteUserGroupMember', + 'action' => 'quickbi-public:QueryDataService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteUserGroup', - 'description' => '删除用户组', - 'operationType' => 'delete', + 'apiName' => 'QueryAuditLog', + 'description' => '查询审计日志信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteUserGroup', + 'action' => 'quickbi-public:QueryAuditLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListDataLevelPermissionWhiteList', - 'description' => '获取数据集行列权限白名单列表', - 'operationType' => 'list', + 'apiName' => 'QueryLastAccelerationEngineJob', + 'description' => '通过数据集ID查询最近一次加速任务', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:ListDataLevelPermissionWhiteList', + 'action' => 'quickbi-public:QueryLastAccelerationEngineJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateTicket', - 'description' => '生成报表嵌入ticket', - 'operationType' => 'create', + 'apiName' => 'QueryDatasetInfo', + 'description' => '查询数据集信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:CreateTicket', + 'action' => 'quickbi-public:QueryDatasetInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'GetUserGroupInfo', - 'description' => '根据关键字获取用户组信息', - 'operationType' => 'list', + 'apiName' => 'BatchAddFeishuUsers', + 'description' => '批量添加飞书用户', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:GetUserGroupInfo', + 'action' => 'quickbi-public:BatchAddFeishuUsers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteUserTagMeta', - 'description' => '删除组织成员标签元信息', - 'operationType' => 'delete', + 'apiName' => 'GetDataSourceConnectionInfo', + 'description' => '获取数据源信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteUserTagMeta', + 'action' => 'quickbi-public:GetDataSourceConnectionInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryWorksByWorkspace', - 'description' => '查询工作空间下的所有作品', - 'operationType' => 'list', + 'apiName' => 'AddWorkspaceUsers', + 'description' => '批量添加成员到工作空间', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:QueryWorksByWorkspace', + 'action' => 'quickbi-public:AddWorkspaceUsers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteDataLevelRuleConfig', - 'description' => '删除行列权限规则', - 'operationType' => 'delete', + 'apiName' => 'AddUserGroupMember', + 'description' => '添加成员到用户组', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'quickbi-public:DeleteDataLevelRuleConfig', + 'action' => 'quickbi-public:AddUserGroupMember', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryDataServiceList', - 'description' => '数据服务列表API', + 'apiName' => 'QueryEmbeddedStatus', + 'description' => '查询报表嵌入状态', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryDataServiceList', + 'action' => 'quickbi-public:QueryEmbeddedStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryAuditLog', - 'description' => '查询审计日志信息', + 'apiName' => 'AddDataLevelPermissionWhiteList', + 'description' => '增量修改行列权限白名单', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'quickbi-public:AddDataLevelPermissionWhiteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetMailTaskStatus', + 'description' => '查看邮件任务运行状态', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'quickbi-public:QueryAuditLog', + 'action' => 'quickbi-public:GetMailTaskStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'QueryOrganizationWorkspaceList', - 'description' => '获取组织下的工作空间列表', + 'apiName' => 'QueryDatasetList', + 'description' => '查询工作空间数据集列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'quickbi-public:QueryOrganizationWorkspaceList', + 'action' => 'quickbi-public:QueryDatasetList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'SmartqAuthorize', - 'description' => '批量管理智能问数的授权', + 'apiName' => 'ChangeVisibilityModel', + 'description' => '修改数据门户菜单的可见方式', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:SmartqAuthorize', + 'action' => 'quickbi-public:ChangeVisibilityModel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateWorkspaceUsersRole', - 'description' => '批量更新工作空间成员的角色', + 'apiName' => 'ClearDynamicTagCache', + 'description' => '删除指定动态标签的缓存', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'quickbi-public:ClearDynamicTagCache', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDataSource', + 'description' => '查询指定空间下的所有数据源', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListDataSource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListRecentViewReports', + 'description' => '获取首页看板常看和足迹列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'quickbi-public:ListRecentViewReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AllotDatasetAccelerationTask', + 'description' => '触发数据集抽取加速', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'quickbi-public:UpdateWorkspaceUsersRole', + 'action' => 'quickbi-public:AllotDatasetAccelerationTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'QuickBI', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'QuickBI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], |
