AchievementConfigurations: insert
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต้องมีการให้สิทธิ์
แทรกการกำหนดค่ารางวัลพิเศษใหม่ในแอปพลิเคชันนี้
ส่งคำขอ
คำขอ HTTP
POST https://www.googleapis.com/games/v1configuration/applications/applicationId/achievements
พารามิเตอร์
ชื่อพารามิเตอร์ |
ค่า |
คำอธิบาย |
พารามิเตอร์เส้นทาง |
applicationId |
string |
รหัสแอปพลิเคชันจาก Google Play Console
|
การให้สิทธิ์
คำขอนี้ต้องได้รับการให้สิทธิ์ตามขอบเขตต่อไปนี้ (อ่านเพิ่มเติมเกี่ยวกับการตรวจสอบสิทธิ์และการให้สิทธิ์)
ขอบเขต |
https://www.googleapis.com/auth/androidpublisher |
เนื้อหาของคำขอ
ในเนื้อหาคำขอ ให้ระบุทรัพยากร AchievementConfigurations
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# AchievementConfigurations: insert\n\n**Requires [authorization](#auth)**\n\nInsert a new achievement configuration in this application.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST 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\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\nIn the request body, supply an [AchievementConfigurations resource](/games/services/publishing/api/achievementConfigurations#resource).\n\nResponse\n--------\n\nIf successful, this method returns an [AchievementConfigurations resource](/games/services/publishing/api/achievementConfigurations#resource) in the response body."]]