重要資訊:我們目前不接受新的 Play EMM API 註冊。
瞭解詳情。
Products: list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
尋找符合查詢條件的已核准產品,或是所有已核准的產品
沒有查詢的話
要求
HTTP 要求
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products
參數
參數名稱 |
值 |
說明 |
路徑參數 |
enterpriseId |
string |
企業的 ID。
|
選用的查詢參數 |
approved |
boolean |
指定是否要搜尋所有產品 (false) 或
僅限已核准 (是) 的產品。僅限「是」為
且需要指定 。
|
language |
string |
使用者偏好語言的 BCP47 標記 (例如「en-US」、「de」)。
系統會根據最適當的語言傳回結果
語言。
|
maxResults |
unsigned integer |
指定每項要求可傳回的產品數量上限。如未指定,系統會使用 100 的預設值,也就是單次回應中可擷取的最大值。
|
query |
string |
在 Google Play 商店搜尋框中輸入的搜尋查詢。
如果省略,系統會使用分頁傳回所有核准的應用程式
參數),包括商店上架的應用程式
(例如已取消發布的應用程式)。
|
token |
string |
當有多個產品時,要求回應會包含分頁符記。可以在後續的要求中使用權杖取得更多產品,依此類推。此參數無法在初始要求中使用。
|
授權
此要求需要具有下列範圍的授權:
範圍 |
https://www.googleapis.com/auth/androidenterprise |
詳情請參閱「驗證與授權」網頁。
要求主體
請勿使用這個方法提供請求主體。
回應
如果成功的話,這個方法會傳回回應內文,其結構如下:
{
"kind": "androidenterprise#productsListResponse",
"pageInfo": {
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
},
"tokenPagination": {
"nextPageToken": string,
"previousPageToken": string
},
"product": [
products Resource
]
}
屬性名稱 |
值 |
說明 |
附註 |
product[] |
list |
Google Play 商店中的產品 (例如應用程式) 相關資訊,會向企業管理員顯示。 |
|
pageInfo |
nested object |
一般分頁資訊。 |
|
pageInfo.totalResults |
integer |
|
|
pageInfo.resultPerPage |
integer |
|
|
pageInfo.startIndex |
integer |
|
|
kind |
string |
標示資源的種類。值:固定字串 "androidenterprise#productsListResponse" 。 |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-12 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-09-12 (世界標準時間)。"],[],[]]