All Products
Search
Document Center

Quick BI:QueryReadableResourcesListByUserId

Last Updated:Jun 11, 2026

Mengkueri daftar karya yang memiliki izin Tampilan bagi pengguna, termasuk pernyataan yang diizinkan untuk dibagikan di ruang kerja.

Catatan

API ini telah ditinggalkan. Kami merekomendasikan migrasi ke quickbi-public(2022-01-01) - QueryReadableResourcesListByUserIdV2 guna memperoleh fungsionalitas yang lebih baik dan dukungan berkelanjutan. Meskipun API yang telah ditinggalkan ini masih dapat diakses sementara, tidak akan ada pembaruan atau perbaikan bug lebih lanjut.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

quickbi-public:QueryReadableResourcesListByUserId

list

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

UserId

string

Yes

ID pengguna Quick BI.

de4bc5f9429141cc8091cdd1c15b****

Elemen respons

Element

Type

Description

Example

object

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

RequestId

string

The ID of the request.

D787E1A3-A93C-424A-B626-C2B05DF8D885

Result

array<object>

The list of works that the user has permission to view.

array<object>

CreateTime

string

The timestamp of the creation time in milliseconds.

1611023338000

Description

string

Remarks on the work.

备注

Directory

object

The directory structure in which the work is located.

Id

string

The ID of the directory.

e4276ea5-b232-4fb1-8f0f-efcee4a2****

Name

string

The name of the directory.

测试目录

PathId

string

The hierarchical structure of the directory ID, which is separated with '/'.

e4276ea5-b232-4fb1-8f0f-efcee4a2****

PathName

string

The hierarchical structure of the directory name, which is separated with '/'.

测试目录

ModifyName

string

The name of the Alibaba Cloud account to which the modifier belongs.

李四

ModifyTime

string

The timestamp of the modification time in milliseconds.

1611023338000

OwnerId

string

The Quick BI UserID of the work owner.

46e5374665ba4b679ee22e2a2927****

OwnerName

string

The Alibaba Cloud account name of the owner.

张三

SecurityLevel

string

Security policies for collaborative authorization of works. Valid values:

  • 0: private

  • 12: Authorize specified members

  • 1 or 11: Authorize all workspace members

Catatan
  • If you use legacy permissions, the return value is 1.

  • If you use the new permissions, the return value is 11.

0

Status

integer

The status of the report. Valid values:

  • 0: unpublished

  • 1: published

  • 2: modified but not published

  • 3: unpublished

1

ThirdPartAuthFlag

integer

Third-party embedding status. Valid values:

  • 0: The embed service is not enabled.

  • 1: Embed is enabled.

1

WorkName

string

The name of the work.

公司地区表

WorkType

string

The type of the work. Valid values:

  • DATAPRODUCT: BI portal

  • PAGE: Dashboard

  • FULLPAGE: full-screen dashboards

  • REPORT: workbook

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.

测试工作空间

Contoh

Respons sukses

JSONformat

{
  "Success": true,
  "RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
  "Result": [
    {
      "CreateTime": "1611023338000",
      "Description": "备注",
      "Directory": {
        "Id": "e4276ea5-b232-4fb1-8f0f-efcee4a2****",
        "Name": "测试目录",
        "PathId": "e4276ea5-b232-4fb1-8f0f-efcee4a2****",
        "PathName": "测试目录"
      },
      "ModifyName": "李四",
      "ModifyTime": "1611023338000",
      "OwnerId": "46e5374665ba4b679ee22e2a2927****",
      "OwnerName": "张三",
      "SecurityLevel": "0",
      "Status": 1,
      "ThirdPartAuthFlag": 1,
      "WorkName": "公司地区表",
      "WorkType": "PAGE",
      "WorksId": "03366b16-69ce-43c8-b782-56c2f6ec****",
      "WorkspaceId": "89713491-cb4f-4579-b889-e82c35f1****",
      "WorkspaceName": "测试工作空间"
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.