Method: achievements.setStepsAtLeast
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি কৃতিত্ব আনলক করার জন্য বর্তমানে প্রমাণীকৃত প্লেয়ারের জন্য পদক্ষেপগুলি সেট করে৷ যদি পদক্ষেপের প্যারামিটারটি খেলোয়াড় ইতিমধ্যেই কৃতিত্বের জন্য অর্জন করা পদক্ষেপের বর্তমান সংখ্যার চেয়ে কম হয়, তাহলে কৃতিত্ব পরিবর্তন করা হয় না।
HTTP অনুরোধ
POST https://games.googleapis.com/games/v1/achievements/{achievementId}/setStepsAtLeast
পাথ প্যারামিটার
পরামিতি |
---|
achievementId | string এই পদ্ধতি দ্বারা ব্যবহৃত অর্জনের আইডি। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
steps | integer প্রয়োজন। ধাপগুলি সেট করার জন্য সর্বনিম্ন মান৷ |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
একটি অর্জন সেট পদক্ষেপ অন্তত প্রতিক্রিয়া.
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"kind": string,
"currentSteps": integer,
"newlyUnlocked": boolean
} |
ক্ষেত্র |
---|
kind | string অনন্যভাবে এই সম্পদের ধরন সনাক্ত করে। মান সবসময় স্থির স্ট্রিং games#achievementSetStepsAtLeastResponse । |
currentSteps | integer এই ক্রমবর্ধমান অর্জনের জন্য বর্তমান পদক্ষেপগুলি রেকর্ড করা হয়েছে৷ |
newlyUnlocked | boolean কৃতিত্বের জন্য বর্তমান পদক্ষেপগুলি আনলক করার জন্য প্রয়োজনীয় পদক্ষেপের সংখ্যায় পৌঁছেছে কিনা৷ |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/games
-
https://www.googleapis.com/auth/games_lite
আরও তথ্যের জন্য, OAuth 2.0 ওভারভিউ দেখুন।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: achievements.setStepsAtLeast\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.SetAchievementStepsAtLeastResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nSets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.\n\n### HTTP request\n\n`POST https://games.googleapis.com/games/v1/achievements/{achievementId}/setStepsAtLeast`\n\n### Path parameters\n\n| Parameters ||\n|-----------------|---------------------------------------------------------|\n| `achievementId` | `string` The ID of the achievement used by this method. |\n\n### Query parameters\n\n| Parameters ||\n|---------|------------------------------------------------------------|\n| `steps` | `integer` Required. The minimum value to set the steps to. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nAn achievement set steps at least response.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"currentSteps\": integer, \"newlyUnlocked\": boolean } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementSetStepsAtLeastResponse`. |\n| `currentSteps` | `integer` The current steps recorded for this incremental achievement. |\n| `newlyUnlocked` | `boolean` Whether the current steps for the achievement has reached the number of steps required to unlock. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/games`\n- `\n https://www.googleapis.com/auth/games_lite`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]