Scores: resetAll
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অনুমোদন প্রয়োজন
বর্তমানে প্রমাণীকৃত খেলোয়াড়দের জন্য সমস্ত লিডারবোর্ডের জন্য সমস্ত স্কোর পুনরায় সেট করে৷ এই পদ্ধতিটি শুধুমাত্র আপনার আবেদনের জন্য সাদা তালিকাভুক্ত পরীক্ষক অ্যাকাউন্টগুলিতে অ্যাক্সেসযোগ্য।
অনুরোধ
HTTP অনুরোধ
POST https://www.googleapis.com/games/v1management/scores/reset
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত সুযোগের সাথে অনুমোদনের প্রয়োজন ( প্রমাণিকরণ এবং অনুমোদন সম্পর্কে আরও পড়ুন )।
ব্যাপ্তি |
---|
https://www.googleapis.com/auth/games |
শরীরের অনুরোধ
এই পদ্ধতির সাথে একটি অনুরোধ সংস্থা সরবরাহ করবেন না।
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি নিম্নলিখিত কাঠামো সহ একটি প্রতিক্রিয়া বডি প্রদান করে:
{
"kind": "gamesManagement#playerScoreResetAllResponse",
"results": [
{
"kind": "gamesManagement#playerScoreResetResponse",
"definitionId": string,
"resetScoreTimeSpans": [
string
]
}
]
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
kind | string | অনন্যভাবে এই সম্পদের ধরন সনাক্ত করে। মান সবসময় স্থির স্ট্রিং gamesManagement#playerScoreResetResponse । | |
results[] | list | লিডারবোর্ড রিসেট ফলাফল. | |
results[]. kind | string | অনন্যভাবে এই সম্পদের ধরন সনাক্ত করে। মান সবসময় স্থির স্ট্রিং gamesManagement#playerScoreResetResponse । | |
results[]. definitionId | string | লিডারবোর্ডের আইডি যার জন্য প্লেয়ার স্টেট আপডেট করা হয়েছে। | |
results[]. resetScoreTimeSpans[] | list | আপডেট করা স্কোরের সময়কাল। সম্ভাব্য মান হল:- "
ALL_TIME " - স্কোর হল একটি সর্বকালীন স্কোর৷ - "
WEEKLY " - স্কোর হল একটি সাপ্তাহিক স্কোর। - "
DAILY " - স্কোর হল একটি দৈনিক স্কোর৷
| |
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Scores: resetAll\n\n**Requires [authorization](#auth)**\n\nResets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your application.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/scores/reset\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\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"kind\": \"gamesManagement#playerScoreResetAllResponse\",\n \"results\": [\n {\n \"kind\": \"gamesManagement#playerScoreResetResponse\",\n \"definitionId\": string,\n \"resetScoreTimeSpans\": [\n string\n ]\n }\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#playerScoreResetResponse`. | |\n| `results[]` | `list` | The leaderboard reset results. | |\n| results[].`kind` | `string` | Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#playerScoreResetResponse`. | |\n| results[].`definitionId` | `string` | The ID of an leaderboard for which player state has been updated. | |\n| results[].`resetScoreTimeSpans[]` | `list` | The time spans of the updated score. Possible values are: - \"`ALL_TIME`\" - The score is an all-time score. - \"`WEEKLY`\" - The score is a weekly score. - \"`DAILY`\" - The score is a daily score. | |"]]