AchievementConfigurations: insert
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Cần phải uỷ quyền
Chèn một cấu hình thành tích mới vào ứng dụng này.
Yêu cầu
Yêu cầu HTTP
POST https://www.googleapis.com/games/v1configuration/applications/applicationId/achievements
Tham số
Tên thông số |
Giá trị |
Mô tả |
Tham số đường dẫn |
applicationId |
string |
Mã ứng dụng trên Google Play Console.
|
Ủy quyền
Yêu cầu này cần có sự cho phép có phạm vi sau (đọc thêm về quy trình xác thực và uỷ quyền).
Phạm vi |
https://www.googleapis.com/auth/androidpublisher |
Nội dung yêu cầu
Trong nội dung yêu cầu, hãy cung cấp tài nguyên AchievementConfigurations.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]