查詢儀表板的問數資源資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
POST HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| UserId |
string |
是 |
使用者識別碼。 |
3d7ebb8***********500078f4 |
| WorkspaceId |
string |
是 |
空間 ID。 |
3d7ebb8***********500078f4 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
46e537a5****,3dadsu**** |
| Result |
array<object> |
介面執行結果。取值範圍:
|
|
|
object |
返回介面執行結果。 |
||
| DashboardName |
string |
儀表板名稱 |
612b |
| DashboardNl2sqlId |
string |
儀表板問數資源 id |
sasdas****sawdau |
| OwnerId |
string |
儀表板建立者 Userid |
46e5374665ba4b679ee22e2a2927**** |
| Authorities |
array |
當該參數有值,並且包含"READ"時,表示該使用者對該儀表板問數資源有問數許可權。 |
|
|
string |
當該參數有值,並且包含"READ"時,表示該使用者對該儀表板問數資源有問數許可權。 |
READ |
|
| Success |
boolean |
是否請求成功。取值範圍:
|
true |
樣本
正常返回樣本
JSON格式
{
"RequestId": "46e537a5****,3dadsu****",
"Result": [
{
"DashboardName": "612b",
"DashboardNl2sqlId": "sasdas****sawdau",
"OwnerId": "46e5374665ba4b679ee22e2a2927****",
"Authorities": [
"READ"
]
}
],
"Success": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | 系統內部異常。 |
| 400 | User.Not.In.Organization | The specified user is not in the organizational unit. | 該使用者不在組織中。 |
| 400 | Workspace.Not.Exist | The group workspace does not exist. | 群空間不存在。 |
| 400 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | 空間不在組織內。 |
| 400 | UserRoleConfig.NotContain.Function | The user %s does not have permission to operate. | 此使用者%s沒有許可權操作。 |
| 400 | User.NotIn.Workspace | The user is not a member of the group workspace. | 該使用者不在群空間中。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。