全部產品
Search
文件中心

Quick BI:ListAuthConfigByResource

更新時間:Sep 08, 2026

查詢資源的協同授權紀錄列表。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

ResourceId

string

是

要授權的資源 ID。

al*************7ufv

WorksType

string

是

授權資源的類型:

  • 儀表板:dashboard

  • 資料大屏:screen

  • 試算表:report

  • 即席分析:ANALYSIS

  • 自助取數:dashboardOfflineQuery

  • 資料填報:dataForm

  • 資料集:cube

  • 資料來源:datasource。

REPORT

ShareToType

integer

是

查詢粒度:

  • 0:使用者

  • 1:使用者群組

重要 組織和工作空間的授權紀錄返回在使用者粒度中,資料集和資料來源只能授權給使用者。

0

HasAuth

boolean

是

是否僅查詢擁有權限的紀錄。

true

Keyword

string

否

被授權對象搜尋關鍵字。

test

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

019FA14C-ED6B-5F39-8563-855676470C47

Result

array<object>

授權詳情集合。

object

授權詳情。

Authorities

array

擁有的權限陣列。

string

擁有的權限。取值範圍:

  • READ:讀取

  • EXPORT:匯出

  • EDITE:編輯。

READ

AuthorizedId

string

被授權人 ID。

123123**dfsd

AuthorizedName

string

被授權人的名稱。

sss

ExpireDate

string

過期時間。

1788969600000

GmtCreate

string

權限紀錄的建立時間,格式 yyyy-MM-dd mm:hh:ss。

2024-04-16 13:17:39

ResourceId

string

資源 ID。

123123**dfsd

ResourceType

string

資源類型。取值範圍:

  • 儀表板:dashboard

  • 資料大屏:screen

  • 試算表:report

  • 即席分析:ANALYSIS

  • 自助取數:dashboardOfflineQuery

  • 資料填報:dataForm

  • 資料集:cube

  • 資料來源:datasource。

cube

Scope

integer

授權範圍。取值範圍:

  • 0:使用者

  • 1:使用者群組

  • 2:組織

  • 3:工作空間。

0

Success

boolean

請求是否成功。

true

樣本

正常返回樣本

JSON格式

{
  "RequestId": "019FA14C-ED6B-5F39-8563-855676470C47",
  "Result": [
    {
      "Authorities": [
        "READ"
      ],
      "AuthorizedId": "123123**dfsd",
      "AuthorizedName": "sss",
      "ExpireDate": "1788969600000",
      "GmtCreate": "2024-04-16 13:17:39",
      "ResourceId": "123123**dfsd",
      "ResourceType": "cube",
      "Scope": 0
    }
  ],
  "Success": true
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 Internal.System.Error An internal system error occurred. 系統內部異常。
400 Invalid.Parameter.Error The parameter is invalid:%s. 無效參數 %s。
400 Cube.Not.Exist The Cube does not exist. 資料集不存在。
400 Datasource.NotFound.Error The specified data source does not exist: %s. 資料來源不存在:%s。
400 Work.Not.Exist The work does not exist. 作品不存在。
500 Authorize3Rd.Page.Org.Illegal The report does not match the organization. 報表與組織不匹配。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。