擷取資料門戶菜單的白名單列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
POST HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| DataportalId |
string |
是 |
資料門戶 ID。 |
asdagad***213425 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
DC4E1**********0DF67E2C3 |
| Result |
array<object> |
白名單列表。 |
|
|
object |
白名單資訊。 |
||
| ReceiverId |
string |
授權對象的 ID,當空間或組織層級時則返回空間 ID 或組織 ID。 |
8a4***********1e769 |
| ReceiverType |
integer |
授權物件類型。取值範圍:
|
0 |
| AuthPointsValue |
integer |
菜單授與類型。取值範圍:
|
1 |
| Success |
boolean |
是否請求成功。取值範圍:
|
true |
樣本
正常返回樣本
JSON格式
{
"RequestId": "DC4E1**********0DF67E2C3",
"Result": [
{
"ReceiverId": "8a4***********1e769",
"ReceiverType": 0,
"AuthPointsValue": 1
}
],
"Success": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | 系統內部異常。 |
| 400 | Application.Object.NotExist | The object you are operating does not exist or has been deleted. | 操作組件不存在或已被刪除。 |
| 400 | Workspace.Not.Exist | The group workspace does not exist. | 群空間不存在。 |
| 400 | NoPermissionTo.Operate.Object | You are not authorized to operate the objects. | 您無權操作這些對象。 |
| 400 | Invalid.Workspace | The workspace is not owned by the organization. | 該空間不在組織內。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。