LeaderboardConfigurations: list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต้องมีการให้สิทธิ์
แสดงรายการการกำหนดค่าลีดเดอร์บอร์ดในแอปพลิเคชันนี้
ส่งคำขอ
คำขอ HTTP
GET https://www.googleapis.com/games/v1configuration/applications/applicationId/leaderboards
พารามิเตอร์
ชื่อพารามิเตอร์ |
ค่า |
คำอธิบาย |
พารามิเตอร์เส้นทาง |
applicationId |
string |
รหัสแอปพลิเคชันจาก Google Play Console
|
พารามิเตอร์การค้นหาที่ไม่บังคับ |
maxResults |
integer |
จำนวนสูงสุดของการกำหนดค่าทรัพยากรที่จะแสดงในการตอบกลับ ซึ่งใช้สำหรับการแบ่งหน้า สำหรับการตอบกลับ จำนวนทรัพยากรที่แสดงผลจริงอาจน้อยกว่า maxResults ที่ระบุ
ค่าที่ยอมรับได้คือ 1 ถึง 200 (รวมค่าแรกและค่าสุดท้าย)
|
pageToken |
string |
โทเค็นที่ส่งกลับโดยคำขอก่อนหน้า
|
การให้สิทธิ์
คำขอนี้ต้องได้รับการให้สิทธิ์ตามขอบเขตต่อไปนี้ (อ่านเพิ่มเติมเกี่ยวกับการตรวจสอบสิทธิ์และการให้สิทธิ์)
ขอบเขต |
https://www.googleapis.com/auth/androidpublisher |
เนื้อหาของคำขอ
โปรดอย่าให้เนื้อหาคำขอตามวิธีการนี้
คำตอบ
หากทำสำเร็จ เมธอดนี้จะแสดงเนื้อหาการตอบกลับพร้อมโครงสร้างต่อไปนี้
{
"kind": "gamesConfiguration#leaderboardConfigurationListResponse",
"nextPageToken": string,
"items": [
leaderboardConfigurations Resource
]
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
หมายเหตุ |
kind |
string |
ระบุประเภทของทรัพยากรนี้โดยไม่ซ้ำกัน ค่าเป็นสตริงคงที่ games#leaderboardConfigurationListResponse เสมอ |
|
nextPageToken |
string |
โทเค็นการใส่เลขหน้าสำหรับผลลัพธ์หน้าถัดไป |
|
items[] |
list |
การกำหนดค่าลีดเดอร์บอร์ด |
|
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# LeaderboardConfigurations: list\n\n**Requires [authorization](#auth)**\n\nReturns a list of the leaderboard configurations in this application.\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/games/v1configuration/applications/applicationId/leaderboards\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#leaderboardConfigurationListResponse\",\n \"nextPageToken\": string,\n \"items\": [\n leaderboardConfigurations 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#leaderboardConfigurationListResponse`. | |\n| `nextPageToken` | `string` | The pagination token for the next page of results. | |\n| `items[]` | `list` | The leaderboard configurations. | |"]]