Scores: resetMultipleForAllPlayers
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wymaga autoryzacji
Resetuje wyniki wszystkich graczy na tabelach wyników o podanym identyfikatorze. Ta metoda jest dostępna tylko na kontach użytkowników konsoli programisty. Można zresetować tylko robocze tabele wyników.
Żądanie
Żądanie HTTP
POST https://www.googleapis.com/games/v1management/scores/resetMultipleForAllPlayers
Autoryzacja
To żądanie wymaga autoryzacji w ramach tego zakresu (więcej informacji o uwierzytelnianiu i autoryzacji).
Zakres |
https://www.googleapis.com/auth/games |
Treść żądania
Dane w treści żądania podaj w następującej strukturze:
{
"kind": "gamesManagement#scoresResetMultipleForAllRequest",
"leaderboard_ids": [
string
]
}
Nazwa usługi |
Wartość |
Opis |
Uwagi |
kind |
string |
Jednoznacznie identyfikuje typ tego zasobu. Wartością jest zawsze stały ciąg znaków gamesManagement#scoresResetMultipleForAllRequest . |
|
leaderboard_ids[] |
list |
Identyfikatory tabel wyników do zresetowania. |
|
Odpowiedź
Jeśli operacja się uda, ta metoda zwróci pustą treść odpowiedzi.
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Scores: resetMultipleForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft leaderboards may be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/scores/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#scoresResetMultipleForAllRequest\",\n \"leaderboard_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#scoresResetMultipleForAllRequest`. | |\n| `leaderboard_ids[]` | `list` | The IDs of leaderboards to reset. | |\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]