Reports - Get Pages In Group

從指定的工作區傳回指定報表內的頁面清單。

權限

此 API 呼叫可由服務主體設定檔呼叫。 如需詳細資訊,請參閱:Power BI Embedded中的服務主體設定檔

必要範圍

Report.ReadWrite.All 或 Report.Read.All

GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/pages

URI 參數

名稱 位於 必要 類型 Description
groupId
path True

string

uuid

工作區識別碼

reportId
path True

string

uuid

報表識別碼

回應

名稱 類型 Description
200 OK

Pages

確定

範例

Example

Sample Request

GET https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/reports/879445d6-3a9e-4a74-b5ae-7c0ddabf0f11/pages

Sample Response

{
  "value": [
    {
      "displayName": "Regional Sales Analysis",
      "name": "ReportSection",
      "order": "0"
    },
    {
      "displayName": "Geographic Analysis",
      "name": "ReportSection1",
      "order": "1"
    }
  ]
}

定義

名稱 Description
Page

Power BI 報表頁面

Pages

Power BI 頁面集合的 OData 回應包裝函式

Page

Power BI 報表頁面

名稱 類型 Description
displayName

string

報表頁面的顯示名稱

name

string

報表頁面的名稱

order

integer

報表頁面的順序

Pages

Power BI 頁面集合的 OData 回應包裝函式

名稱 類型 Description
odata.context

string

OData 內容

value

Page[]

頁面集合