Retrieves the frequently viewed items and footprint list 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:ListRecentViewReports |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
The UserID of the user to query in Quick BI. |
b5d8fd9348cc4327****afb604 |
| Keyword |
string |
No |
The keyword in the name of the work. |
FinancialReport |
| TreeType |
string |
No |
The type of work to query. Leave this parameter empty to query all types. Valid values:
|
PAGE |
| QueryMode |
string |
No |
The query mode. Valid values:
|
1 |
| PageSize |
integer |
No |
The number of rows in the work list to query:
|
10 |
| OffsetDay |
integer |
No |
The number of recent days to query data for. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
object |
The query result. |
|
| Attention |
string |
The notice indicating that pagination parameters (such as TotalNum) returned by this API will be deprecated soon. |
The pagination parameters such as TotalNum returned by this API will be deprecated soon. If you are using them, modify your code promptly |
| Data |
array<object> |
The list of queried works. |
|
|
object |
|||
| Favorite |
boolean |
Indicates whether the queried user has added the work to favorites. |
true |
| GmtCreate |
string |
The timestamp when the work was created. |
1496651577000 |
| GmtModified |
string |
The timestamp when the work was last modified. |
1640595729000 |
| HasEditAuth |
boolean |
Indicates whether the queried user has edit permissions on the work. |
true |
| HasViewAuth |
boolean |
Indicates whether the queried user has view permissions on the work. |
true |
| LatestViewTime |
string |
The timestamp when the work was last accessed. |
1642067498000 |
| Name |
string |
The name of the work. |
TestReport |
| OwnerName |
string |
The Alibaba Cloud account name of the work owner. |
John |
| OwnerNum |
string |
The UserID of the work owner. |
1365*****238860 |
| PublishStatus |
integer |
The publish status of the work. Valid values:
|
1 |
| TreeId |
string |
The ID of the work. |
977c7698-****-****-****-44b7304d20fc |
| Type |
string |
The type of the work. Valid values:
|
PAGE |
| ViewCount |
integer |
The number of times the work has been accessed. |
7 |
| WorkspaceId |
string |
The ID of the workspace to which the work belongs. |
523793cb-****-****-****-aa71c65ffa39 |
| WorkspaceName |
string |
The name of the workspace to which the work belongs. |
TestWorkspace |
| PageNum |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page.
|
10 |
| TotalNum |
integer |
The total number of rows. |
1 |
| TotalPages |
integer |
The total number of pages. |
1 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"Attention": "test",
"Data": [
{
"Favorite": true,
"GmtCreate": "1496651577000",
"GmtModified": "1640595729000",
"HasEditAuth": true,
"HasViewAuth": true,
"LatestViewTime": "1642067498000",
"Name": "Test report\n",
"OwnerName": "test",
"OwnerNum": "1365*****238860",
"PublishStatus": 1,
"TreeId": "977c7698-****-****-****-44b7304d20fc",
"Type": "PAGE",
"ViewCount": 7,
"WorkspaceId": "523793cb-****-****-****-aa71c65ffa39",
"WorkspaceName": "Test Workspace\n"
}
],
"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.