傳回企業的商店版面配置。如果尚未設定商店版面配置,系統會傳回「基本」做為商店版面配置類型,且沒有首頁。
要求
HTTP 要求
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/storeLayout
參數
| 參數名稱 | 值 | 說明 | 
|---|---|---|
| 路徑參數 | ||
| enterpriseId | string | 企業的 ID。 | 
授權
此要求需要具有下列範圍的授權:
| 範圍 | 
|---|
| https://www.googleapis.com/auth/androidenterprise | 
詳情請參閱「驗證與授權」網頁。
要求主體
請勿使用這個方法提供請求主體。
回應
如果成功的話,這個方法會傳回回應內文,其結構如下:
{
  "kind": "androidenterprise#storeLayout",
  "homepageId": string,
  "storeLayoutType": string
}
    | 屬性名稱 | 值 | 說明 | 附註 | 
|---|---|---|---|
| homepageId | string | 要當做首頁的商店頁面 ID。首頁是 Google Play 管理版商店中顯示的第一個頁面。 不指定首頁,等同於將商店版面配置類型設為「基本」。 | |
| storeLayoutType | string | 商店版面配置類型。這個值預設為「basic」如未設定 homeId 欄位且設為「custom」反之。如果設為「基本」,版面配置會包含所有已為使用者加入許可清單的已核准應用程式。 可接受的值為: 
 | |
| kind | string |