重要提示:我们不再接受 Play EMM API 的新注册。
了解详情。
Products: list
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
<ph type="x-smartling-placeholder">
查找与查询匹配的获批商品,或所有已获批准的商品
如果没有查询,则会发生此错误。
请求
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 商店搜索框中输入的搜索查询。
如果省略,系统将返回所有已批准的应用(使用分页功能)
参数),包括 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"。 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","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"]],["最后更新时间 (UTC):2025-07-26。"],[],[]]