Permintaan daftar karya yang memiliki izin untuk dilihat pengguna (baru)
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryReadableResourcesListByUserIdV2 |
get |
*All Resource
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
ID Pengguna. |
asdas*********sdsddf |
| WorkType |
string |
No |
Jenis karya. Nilai yang mungkin:
|
DATAFORM |
| WorkspaceId |
string |
No |
ID Ruang Kerja. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang mungkin:
|
true |
| RequestId |
string |
ID Permintaan. |
D787E1A3-A93C********05DF8D885 |
| Result |
array<object> |
Mengembalikan hasil permintaan. |
|
|
array<object> |
Daftar karya yang memiliki izin untuk dilihat pengguna. |
||
| Status |
integer |
Status laporan. Nilai yang mungkin:
|
1 |
| ModifyTime |
string |
Stempel waktu modifikasi terakhir dalam milidetik. |
1530078690000 |
| OwnerName |
string |
Nama akun Alibaba Cloud pemilik. |
张三 |
| Description |
string |
Catatan karya. |
备注 |
| WorkType |
string |
Jenis karya. Nilai yang mungkin:
|
PAGE |
| ModifyName |
string |
Nama akun Alibaba Cloud pemodifikasi. |
李四 |
| CreateTime |
string |
Stempel waktu pembuatan dalam milidetik. |
1611023338000 |
| WorkspaceId |
string |
ID ruang kerja tempat karya berada. |
c5f86ad2-ef53-4c51-8720-162ecfdb**** |
| ThirdPartAuthFlag |
integer |
Status penyematan pihak ketiga. Nilai yang mungkin:
|
1 |
| OwnerId |
string |
UserID pemilik karya di Quick BI. |
fe67f61a35a94b7da1a34ba174a7**** |
| SecurityLevel |
string |
Kebijakan keamanan untuk karya kolaboratif. Nilai: - 0: Pribadi - 12: Otorisasi anggota tertentu - 1 atau 11: Otorisasi semua anggota ruang Catatan
|
0 |
| WorkName |
string |
Nama karya. |
测试报表 |
| WorkspaceName |
string |
Nama ruang kerja tempat karya berada. |
测试工作空间 |
| WorksId |
string |
ID karya. |
ccd3428c-****-****-a608-26bae29dffee |
| Directory |
object |
Struktur direktori tempat karya berada. |
|
| PathId |
string |
The hierarchical structure of directory IDs, separated by『/』. |
88b680**** |
| Id |
string |
The ID of the directory to which it belongs. |
a3eecab7-618d-4f9f-***** |
| PathName |
string |
The hierarchical structure of directory names, separated by『/』. |
一级目录/二级目录 |
| Name |
string |
The name of the directory to which it belongs. |
测试目录 |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"RequestId": "D787E1A3-A93C********05DF8D885",
"Result": [
{
"Status": 1,
"ModifyTime": "1530078690000",
"OwnerName": "张三",
"Description": "备注",
"WorkType": "PAGE",
"ModifyName": "李四",
"CreateTime": "1611023338000\n",
"WorkspaceId": "c5f86ad2-ef53-4c51-8720-162ecfdb****",
"ThirdPartAuthFlag": 1,
"OwnerId": "fe67f61a35a94b7da1a34ba174a7****",
"SecurityLevel": "0",
"WorkName": "测试报表",
"WorkspaceName": "测试工作空间",
"WorksId": "ccd3428c-****-****-a608-26bae29dffee",
"Directory": {
"PathId": "88b680****",
"Id": "a3eecab7-618d-4f9f-*****",
"PathName": "一级目录/二级目录",
"Name": "测试目录"
}
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | Invalid.Param.Error | The parameter is invalid. | The parameter is invalid. |
| 400 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | The workspace is not owned by the organization. |
| 400 | Invalid.User.Organization | The user is not in your organization. | The user is not in your organization. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.