AchievementConfigurations: list
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
需要授权
返回此应用中的成就配置列表。
请求
HTTP 请求
GET https://www.googleapis.com/games/v1configuration/applications/applicationId/achievements
参数
参数名称 |
值 |
说明 |
路径参数 |
applicationId |
string |
Google Play 管理中心中的应用 ID。
|
可选查询参数 |
maxResults |
integer |
响应中可返回的资源配置数量上限,用于分页。对于任何响应,实际返回的资源数量都可能少于指定的 maxResults 。
可接受的值为 1 到 200 (含)。
|
pageToken |
string |
上一个请求返回的令牌。
|
授权
此请求需要获得以下范围的授权(详细了解身份验证和授权)。
范围 |
https://www.googleapis.com/auth/androidpublisher |
请求正文
使用此方法时请勿提供请求正文。
响应
如果成功,此方法将返回以下结构的响应正文:
{
"kind": "gamesConfiguration#achievementConfigurationListResponse",
"nextPageToken": string,
"items": [
achievementConfigurations Resource
]
}
属性名称 |
值 |
说明 |
备注 |
kind |
string |
唯一标识此资源的类型。值始终为固定字符串 games#achievementConfigurationListResponse 。 |
|
nextPageToken |
string |
下一页结果的分页令牌。 |
|
items[] |
list |
成就配置。 |
|
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# AchievementConfigurations: list\n\n**Requires [authorization](#auth)**\n\nReturns a list of the achievement configurations in this application.\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/games/v1configuration/applications/applicationId/achievements\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|-----------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `applicationId` | `string` | The application ID from the Google Play Console. |\n| **Optional query parameters** |||\n| `maxResults` | `integer` | The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified `maxResults`. Acceptable values are `1` to `200`, inclusive. |\n| `pageToken` | `string` | The token returned by the previous request. |\n\n### Authorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/accounts/docs/OAuth2)).\n\n| Scope |\n|----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidpublisher` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"kind\": \"gamesConfiguration#achievementConfigurationListResponse\",\n \"nextPageToken\": string,\n \"items\": [\n achievementConfigurations Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|-------------------------------------------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementConfigurationListResponse`. | |\n| `nextPageToken` | `string` | The pagination token for the next page of results. | |\n| `items[]` | `list` | The achievement configurations. | |"]]