Events: resetForAllPlayers
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
נדרשת הרשאה
איפוס האירוע עם המזהה הנתון לכל השחקנים. השיטה הזו זמינה רק לחשבונות משתמשים ב-Developer Console. ניתן לאפס רק אירועי טיוטה.
בקשה
בקשת HTTP
POST https://www.googleapis.com/games/v1management/events/eventId/resetForAllPlayers
פרמטרים
שם הפרמטר |
ערך |
תיאור |
פרמטרים של נתיב |
eventId |
string |
מזהה האירוע.
|
אישור
הבקשה הזו מחייבת הרשאה עם ההיקף הבא (מידע נוסף על אימות והרשאה).
היקף |
https://www.googleapis.com/auth/games |
גוף הבקשה
אל תספקו גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, השיטה הזו תחזיר גוף תגובה ריק.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Events: resetForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/events/eventId/resetForAllPlayers\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|----------------------|\n| **Path parameters** |||\n| `eventId` | `string` | The ID of the event. |\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."]]