重要資訊:我們目前不接受新的 Play EMM API 註冊。
瞭解詳情。
Products: list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
尋找符合查詢且已核准的產品。如果沒有查詢,尋找已核准的所有產品。
要求
HTTP 要求
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products
參數
參數名稱 |
價值 |
說明 |
路徑參數 |
enterpriseId |
string |
企業的 ID。
|
選用的查詢參數 |
approved |
boolean |
指定是否要搜尋所有產品 (false),或只搜尋已核准 (true) 的產品。僅支援「true」,且應指定。 |
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-06-25 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]