Retrieves the list of favorited works displayed on the homepage dashboard for a specified user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:ListFavoriteReports |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
The Quick BI user ID to query. |
b5d8fd9348cc4327****afb604 |
| Keyword |
string |
No |
Keyword to filter by work name. |
财务报表 |
| TreeType |
string |
No |
Work type to query. Leave blank to query all types. Valid values:
|
PAGE |
| PageSize |
integer |
No |
Number of rows per page. Default value: 10. Maximum value: 9999. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
object |
The query result. |
|
| Data |
array<object> |
The list of queried works. |
|
|
object |
|||
| Favorite |
boolean |
Whether the user has favorited the work. |
true |
| FavoriteDate |
string |
Timestamp when the work was favorited. |
1640088615000 |
| GmtCreate |
string |
Timestamp when the work was created. |
1640088615000 |
| GmtModified |
string |
Timestamp when the work was last modified. |
1640595729000 |
| HasEditAuth |
boolean |
Whether the user has edit permission on the work. |
true |
| HasViewAuth |
boolean |
Whether the user has view permission on the work. |
true |
| Name |
string |
Name of the work. |
测试报表 |
| OwnerName |
string |
Alibaba Cloud account name of the work owner. |
luyaotest的昵称非管理员 |
| OwnerNum |
string |
User ID of the work owner. |
1365*****238860 |
| PublishStatus |
integer |
Publication status of the work. Valid values:
|
1 |
| TreeId |
string |
Work ID. |
977c7698-****-****-****-44b7304d20fc |
| Type |
string |
Type of the work. Valid values:
|
PAGE |
| WorkspaceId |
string |
ID of the workspace that the work belongs to. |
523793cb-****-****-****-aa71c65ffa39 |
| WorkspaceName |
string |
Name of the workspace that the work belongs to. |
测试工作空间 |
| PageNum |
integer |
Page number. |
1 |
| PageSize |
integer |
Number of rows per page. |
10 |
| TotalNum |
integer |
Total number of rows. |
1 |
| TotalPages |
integer |
Total number of pages. |
1 |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"Data": [
{
"Favorite": true,
"FavoriteDate": "1640088615000",
"GmtCreate": "1640088615000",
"GmtModified": "1640595729000",
"HasEditAuth": true,
"HasViewAuth": true,
"Name": "测试报表",
"OwnerName": "luyaotest的昵称非管理员",
"OwnerNum": "1365*****238860",
"PublishStatus": 1,
"TreeId": "977c7698-****-****-****-44b7304d20fc",
"Type": "PAGE",
"WorkspaceId": "523793cb-****-****-****-aa71c65ffa39",
"WorkspaceName": "测试工作空间"
}
],
"PageNum": 1,
"PageSize": 10,
"TotalNum": 1,
"TotalPages": 1
},
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.