Events: resetMultipleForAllPlayers
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
נדרשת הרשאה
איפוס אירועים עם המזהים הנתונים לכל השחקנים. השיטה הזו זמינה רק לחשבונות משתמשים ב-Developer Console. ניתן לאפס רק אירועי טיוטה.
בקשה
בקשת HTTP
POST https://www.googleapis.com/games/v1management/events/resetMultipleForAllPlayers
אישור
הבקשה הזו מחייבת הרשאה עם ההיקף הבא (מידע נוסף על אימות והרשאה).
היקף |
https://www.googleapis.com/auth/games |
גוף הבקשה
בגוף הבקשה, מספקים את הנתונים במבנה הבא:
{
"kind": "gamesManagement#eventsResetMultipleForAllRequest",
"event_ids": [
string
]
}
שם הנכס |
ערך |
תיאור |
הערות |
kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesManagement#eventsResetMultipleForAllRequest . |
|
event_ids[] |
list |
המזהים של האירועים שצריך לאפס. |
|
תשובה
אם הפעולה בוצעה ללא שגיאות, השיטה הזו תחזיר גוף תגובה ריק.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Events: resetMultipleForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets events with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft events may be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/events/resetMultipleForAllPlayers\n```\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\nIn the request body, supply data with the following structure:\n\n```scdoc\n{\n \"kind\": \"gamesManagement#eventsResetMultipleForAllRequest\",\n \"event_ids\": [\n string\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 `gamesManagement#eventsResetMultipleForAllRequest`. | |\n| `event_ids[]` | `list` | The IDs of events to reset. | |\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]