Mengambil daftar karya yang difavoritkan pengguna.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:ListCollections |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
ID pengguna. Ini mengacu pada UserID di Quick BI, bukan UID Alibaba Cloud. |
fe67f61a35a94b7da1a34ba174a7**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
The primary key ID of the favorite record. |
true |
| RequestId |
string |
Request ID. |
162A632E-0A88-51CF-98F8-94FDEE82DB7D |
| Result |
array<object> |
Details of the list of reports favored by the user. |
|
|
object |
|||
| FavoriteId |
integer |
The primary key ID of the favorite record. |
12373 |
| OwnerId |
string |
The user ID of the work owner. This refers to the UserID in Quick BI, not the Alibaba Cloud UID. |
fe67f61a35a94b7da1a34ba174a7**** |
| WorksId |
string |
The ID of the work. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
| WorksName |
string |
The name of the work. |
奇异博士 |
| WorksType |
string |
The type of the work. Possible values:
|
dashboardOfflineQuery |
| WorkspaceId |
string |
Workspace ID. |
9337d121-a78f-4c1b-a8bc-f81de117**** |
| WorkspaceName |
string |
Workspace Name. |
测试工作空间 |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"RequestId": "162A632E-0A88-51CF-98F8-94FDEE82DB7D",
"Result": [
{
"FavoriteId": 12373,
"OwnerId": "fe67f61a35a94b7da1a34ba174a7****",
"WorksId": "95296e95-ca89-4c7d-8af9-dedf0ad0****",
"WorksName": "奇异博士",
"WorksType": "dashboardOfflineQuery",
"WorkspaceId": "9337d121-a78f-4c1b-a8bc-f81de117****",
"WorkspaceName": "测试工作空间"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Workspace.NotIn.Organization | The workspace is not owned by the organization. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.