QueryOrganizationWorkspaceList

Updated at:

Queries the list of workspaces in the current organization.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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 for the workspace name.

Program

PageNum

integer

No

The current page number of the workspace list.

  • Starting value: 1

  • Default value: 1

1

PageSize

integer

No

The number of entries per page in a paging query:

  • Default value: 10

  • Maximum value: 1000

10

UserId

string

No

The ID of the user in Quick BI. If you specify this parameter, the system queries all workspaces of the user in the organization.

fe67f61a35a94b7da1a34ba174a7****

Response elements

Element

Type

Description

Example

object

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.

  • false: The request fails.

true

RequestId

string

The request ID.

D787E1A3-A93C-424A-B626-C2B05DF8D885

Result

object

The paginated result of the workspace list. The detailed information of the workspaces is stored in the Data response parameter.

Data

array<object>

The list of workspaces.

array<object>

The workspace information.

AllowPublishOperation

boolean

Indicates whether the content can be made public. Valid values:

  • true: Public.

  • false: Not public.

true

AllowShareOperation

boolean

Indicates whether the content can be shared with authorization. Valid values:

  • true: Authorized.

  • false: Not authorized.

true

CreateTime

string

The time when the workspace was created. The time is in the yyyy-MM-dd HH:mm:ss format.

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. The time is in the yyyy-MM-dd HH:mm:ss format.

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 this parameter is set to false, the following configurations do not take effect.

true

ImageExport

boolean

Specifies whether to export images.

true

ExportToServer

boolean

Specifies whether to export to the server.

true

DefaultExportType

boolean

The default export type. Valid values: true (with formatting) and false (without formatting).

true

AllowExcelImageFile

boolean

The image processing method when exporting to Excel with formatting. This parameter takes effect only when configured at the organization level. Valid values:

  • false: Image fields are not converted to images.

  • true: Image fields are converted to images. The option is displayed on the report export page, and users must manually select it to convert to images.

true

PdfExport

boolean

Specifies whether to export to PDF.

true

ExportToPublicWork

boolean

Specifies whether to support exporting public links of the content.

true

ExportToLocal

boolean

Specifies whether to export to the local device.

true

DataExport

boolean

Specifies whether to export data to Excel.

true

PageNum

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

TotalNum

integer

The total number of entries.

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": "This workspace is a test workspace",
        "WorkspaceId": "7350a155-0e94-4c6c-8620-57bbec38****",
        "WorkspaceName": "Test workspace",
        "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.