Profiles - Get Profiles
傳回服務主體配置檔的清單。
傳回屬於服務主體呼叫端的配置檔清單。
局限性
只能由服務主體呼叫。
GET https://api.powerbi.com/v1.0/myorg/profiles
GET https://api.powerbi.com/v1.0/myorg/profiles?$top={$top}&$skip={$skip}&$filter={$filter}
URI 參數
| 名稱 | 位於 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
$filter
|
query |
string |
依 DisplayName 取得設定檔 |
|
|
$skip
|
query |
integer (int32) |
略過前 n 個結果 |
|
|
$top
|
query |
integer (int32) |
只傳回前 n 個結果 |
回應
| 名稱 | 類型 | Description |
|---|---|---|
| 200 OK |
還行 |
範例
|
Get a specific profile by display |
| Get service principal profiles |
Get a specific profile by displayName using filter
範例要求
GET https://api.powerbi.com/v1.0/myorg/profiles?$filter=displayName%20eq%20'My%20new%20profile'
範例回覆
{
"value": [
{
"id": "3b211778-e7a5-4d73-8187-f10824047724",
"displayName": "My new profile"
}
]
}
Get service principal profiles
範例要求
GET https://api.powerbi.com/v1.0/myorg/profiles
範例回覆
{
"value": [
{
"id": "3b211778-e7a5-4d73-8187-f10824047724",
"displayName": "My new profile"
}
]
}
定義
| 名稱 | Description |
|---|---|
|
Service |
Power BI 服務主體配置檔。 僅與 Power BI Embedded 多租使用者解決方案相關。 |
|
Service |
Power BI 服務主體配置檔集合的 Odata 回應包裝函式。 |
ServicePrincipalProfile
Power BI 服務主體配置檔。 僅與 Power BI Embedded 多租使用者解決方案相關。
| 名稱 | 類型 | Description |
|---|---|---|
| displayName |
string |
服務主體配置檔名稱 |
| id |
string (uuid) |
服務主體配置檔識別碼 |
ServicePrincipalProfiles
Power BI 服務主體配置檔集合的 Odata 回應包裝函式。
| 名稱 | 類型 | Description |
|---|---|---|
| @odata.context |
string |
OData 內容 |
| value |
服務主體配置檔集合 |