Retrieves the list of workspaces in the current organization.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryOrganizationWorkspaceList |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Keyword |
string |
No |
The keyword of the workspace name. |
application |
| PageNum |
integer |
No |
The page number of the workspace list.
|
1 |
| PageSize |
integer |
No |
The number of rows per page in a paged query.
|
10 |
| UserId |
string |
No |
The ID of the user in Quick BI. |
fe67f61a35a94b7da1a34ba174a7**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| RequestId |
string |
The request ID. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
object |
The paginated result of the workspace list. The detailed information of workspaces is stored in the Data response parameter. |
|
| Data |
array<object> |
The list of workspaces. |
|
|
array<object> |
The workspace information. |
||
| AllowPublishOperation |
boolean |
Indicates whether works can be made public. Valid values:
|
true |
| AllowShareOperation |
boolean |
Indicates whether works can be shared with authorization. Valid values:
|
true |
| CreateTime |
string |
The time when the workspace was created. |
2020-11-10 17:51:07 |
| CreateUser |
string |
The Quick BI user ID of the creator. |
de4bc5f9429141cc8091cdd1c15b**** |
| CreateUserAccountName |
string |
The Alibaba Cloud account name of the creator. |
pop****@aliyun.com |
| ModifiedTime |
string |
The time when the workspace was last modified. |
2020-11-10 17:51:07 |
| ModifyUser |
string |
The Quick BI user ID of the modifier. |
de4bc5f9429141cc8091cdd1c15b**** |
| ModifyUserAccountName |
string |
The Alibaba Cloud account name of the modifier. |
pop****@aliyun.com |
| OrganizationId |
string |
The ID of the organization to which the workspace belongs. |
2fe4fbd8-588f-489a-b3e1-e92c7af0**** |
| Owner |
string |
The Quick BI user ID of the workspace owner. |
de4bc5f9429141cc8091cdd1c15b**** |
| OwnerAccountName |
string |
The Alibaba Cloud account name of the workspace owner. |
pop****@aliyun.com |
| WorkspaceDescription |
string |
The description of the workspace. |
This workspace is a test workspace |
| WorkspaceId |
string |
The workspace ID. |
7350a155-0e94-4c6c-8620-57bbec38**** |
| WorkspaceName |
string |
The workspace name. |
Test workspace |
| RealOwnerAccountName |
string |
The Quick BI account name of the workspace owner. |
test |
| WorkspaceExportConfig |
object |
The workspace export configuration. |
|
| ExportMainSwitch |
boolean |
The master switch for export. If set to false, all export settings below do not take effect. |
true |
| ImageExport |
boolean |
Specifies whether to allow exporting as an image. |
true |
| ExportToServer |
boolean |
Specifies whether to allow exporting to a server. |
true |
| DefaultExportType |
boolean |
The default export type (with formatting: true. Without formatting: false). |
true |
| AllowExcelImageFile |
boolean |
Specifies how images are handled when exporting Excel files with formatting. This field takes effect only when configured at the organization level. Valid values:
|
true |
| PdfExport |
boolean |
Specifies whether to allow exporting as a PDF. |
true |
| ExportToPublicWork |
boolean |
Specifies whether public links of works support export. |
true |
| ExportToLocal |
boolean |
Specifies whether to allow exporting to a local device. |
true |
| DataExport |
boolean |
Specifies whether to allow exporting data as an Excel file. |
true |
| PageNum |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of rows per page specified in the request. |
10 |
| TotalNum |
integer |
The total number of rows. |
1 |
| TotalPages |
integer |
The total number of pages. |
1 |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"Data": [
{
"AllowPublishOperation": true,
"AllowShareOperation": true,
"CreateTime": "2020-11-10 17:51:07",
"CreateUser": "de4bc5f9429141cc8091cdd1c15b****",
"CreateUserAccountName": "pop****@aliyun.com",
"ModifiedTime": "2020-11-10 17:51:07",
"ModifyUser": "de4bc5f9429141cc8091cdd1c15b****",
"ModifyUserAccountName": "pop****@aliyun.com",
"OrganizationId": "2fe4fbd8-588f-489a-b3e1-e92c7af0****",
"Owner": "de4bc5f9429141cc8091cdd1c15b****",
"OwnerAccountName": "pop****@aliyun.com",
"WorkspaceDescription": "该空间是测试空间",
"WorkspaceId": "7350a155-0e94-4c6c-8620-57bbec38****",
"WorkspaceName": "测试空间",
"RealOwnerAccountName": "test",
"WorkspaceExportConfig": {
"ExportMainSwitch": true,
"ImageExport": true,
"ExportToServer": true,
"DefaultExportType": true,
"AllowExcelImageFile": true,
"PdfExport": true,
"ExportToPublicWork": true,
"ExportToLocal": true,
"DataExport": true
}
}
],
"PageNum": 1,
"PageSize": 10,
"TotalNum": 1,
"TotalPages": 1
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | invalid parameter: ${0}. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.