Queries the list of works that a user has permission to view, including reports in workspaces and those shared through authorization.
This API has been deprecated. We recommend migrating to quickbi-public(2022-01-01) - QueryReadableResourcesListByUserIdV2 for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryReadableResourcesListByUserId |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
The Quick BI user ID. |
de4bc5f9429141cc8091cdd1c15b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| RequestId |
string |
The request ID. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
array<object> |
The list of works that the user has permission to view. |
|
|
array<object> |
|||
| CreateTime |
string |
The millisecond timestamp of the creation time. |
1611023338000 |
| Description |
string |
The description of the work. |
Remarks |
| Directory |
object |
The directory structure where the work is located. |
|
| Id |
string |
The ID of the directory. |
e4276ea5-b232-4fb1-8f0f-efcee4a2**** |
| Name |
string |
The name of the directory. |
Test directory |
| PathId |
string |
The hierarchical structure of directory IDs, separated by forward slashes (/). |
e4276ea5-b232-4fb1-8f0f-efcee4a2**** |
| PathName |
string |
The hierarchical structure of directory names, separated by forward slashes (/). |
Test directory |
| ModifyName |
string |
The Alibaba Cloud account name of the user who last modified the work. |
Li Si |
| ModifyTime |
string |
The millisecond timestamp of the last modification time. |
1611023338000 |
| OwnerId |
string |
The Quick BI user ID of the work owner. |
46e5374665ba4b679ee22e2a2927**** |
| OwnerName |
string |
The Alibaba Cloud account name of the work owner. |
Zhang San |
| SecurityLevel |
string |
The security policy for collaborative authorization of the work. Valid values:
Note
|
0 |
| Status |
integer |
The status of the report. Valid values:
|
1 |
| ThirdPartAuthFlag |
integer |
The third-party embedding status. Valid values:
|
1 |
| WorkName |
string |
The name of the work. |
Company region table |
| WorkType |
string |
The type of the work. Valid values:
|
PAGE |
| WorksId |
string |
The ID of the work. |
03366b16-69ce-43c8-b782-56c2f6ec**** |
| WorkspaceId |
string |
The ID of the workspace to which the work belongs. |
89713491-cb4f-4579-b889-e82c35f1**** |
| WorkspaceName |
string |
The name of the workspace to which the work belongs. |
Test workspace |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": [
{
"CreateTime": "1611023338000",
"Description": "Description\n",
"Directory": {
"Id": "e4276ea5-b232-4fb1-8f0f-efcee4a2****",
"Name": "Test directory\n",
"PathId": "e4276ea5-b232-4fb1-8f0f-efcee4a2****",
"PathName": "Test directory\n"
},
"ModifyName": "Li Si\n",
"ModifyTime": "1611023338000",
"OwnerId": "46e5374665ba4b679ee22e2a2927****",
"OwnerName": "Tom\n",
"SecurityLevel": "0",
"Status": 1,
"ThirdPartAuthFlag": 1,
"WorkName": "Company Region Table\n",
"WorkType": "PAGE",
"WorksId": "03366b16-69ce-43c8-b782-56c2f6ec****",
"WorkspaceId": "89713491-cb4f-4579-b889-e82c35f1****",
"WorkspaceName": "Test Workspace\n"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.