Achievements: resetForAllPlayers
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต้องมีการให้สิทธิ์
รีเซ็ตรางวัลพิเศษด้วยรหัสที่กำหนดสำหรับผู้เล่นทุกคน วิธีการนี้ใช้ได้เฉพาะกับบัญชีผู้ใช้สำหรับแผงควบคุมสำหรับนักพัฒนาซอฟต์แวร์ของคุณเท่านั้น รีเซ็ตได้เฉพาะรางวัลพิเศษฉบับร่าง
ส่งคำขอ
คำขอ HTTP
POST https://www.googleapis.com/games/v1management/achievements/achievementId/resetForAllPlayers
พารามิเตอร์
ชื่อพารามิเตอร์ |
ค่า |
คำอธิบาย |
พารามิเตอร์เส้นทาง |
achievementId |
string |
รหัสของรางวัลพิเศษที่เมธอดนี้ใช้
|
การให้สิทธิ์
คำขอนี้ต้องได้รับการให้สิทธิ์ตามขอบเขตต่อไปนี้ (อ่านเพิ่มเติมเกี่ยวกับการตรวจสอบสิทธิ์และการให้สิทธิ์)
ขอบเขต |
https://www.googleapis.com/auth/games |
เนื้อหาของคำขอ
โปรดอย่าให้เนื้อหาคำขอตามวิธีนี้
คำตอบ
หากสำเร็จ เมธอดนี้จะแสดงเนื้อหาการตอบกลับที่ว่างเปล่า
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Achievements: resetForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/achievements/achievementId/resetForAllPlayers\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|-----------------|----------|------------------------------------------------|\n| **Path parameters** |||\n| `achievementId` | `string` | The ID of the achievement used by this method. |\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/games` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]