নির্দিষ্ট টাস্কটিকে গন্তব্য টাস্ক তালিকার অন্য অবস্থানে নিয়ে যায়। যদি গন্তব্য তালিকা নির্দিষ্ট করা না থাকে, টাস্কটি তার বর্তমান তালিকার মধ্যে সরানো হয়। এটি একটি নতুন পিতামাতার অধীনে একটি শিশুর কাজ হিসাবে রাখা এবং/অথবা এটিকে তার ভাইবোনের কাজগুলির মধ্যে একটি ভিন্ন অবস্থানে নিয়ে যাওয়া অন্তর্ভুক্ত করতে পারে। একজন ব্যবহারকারীর প্রতি টাস্কে 2,000টি সাবটাস্ক থাকতে পারে।
HTTP অনুরোধ
POST https://tasks.googleapis.com/tasks/v1/lists/{tasklist}/tasks/{task}/move
নতুন অভিভাবক টাস্ক শনাক্তকারী৷ যদি টাস্কটি উপরের স্তরে সরানো হয়, তাহলে এই প্যারামিটারটি বাদ দেওয়া হবে। অভিভাবক হিসাবে টাস্ক সেট টাস্ক তালিকায় থাকা আবশ্যক এবং লুকানো যাবে না। অ্যাসাইন করা টাস্কগুলিকে প্যারেন্ট টাস্ক হিসেবে সেট করা যাবে না (সাবটাস্ক আছে) বা প্যারেন্ট টাস্কের অধীনে সরানো যাবে না (সাবটাস্ক হয়ে যাবে)। ঐচ্ছিক।
previous
string
নতুন পূর্ববর্তী ভাইবোন টাস্ক শনাক্তকারী। যদি টাস্কটি তার ভাইবোনদের মধ্যে প্রথম অবস্থানে স্থানান্তরিত হয় তবে এই প্যারামিটারটি বাদ দেওয়া হয়। পূর্ববর্তী হিসাবে টাস্ক সেট অবশ্যই টাস্ক তালিকায় উপস্থিত থাকতে হবে এবং লুকানো যাবে না। ঐচ্ছিক।
destination Tasklist
string
ঐচ্ছিক। গন্তব্য টাস্ক তালিকা শনাক্তকারী। সেট করা থাকলে, টাস্কটি টাস্কলিস্ট থেকে গন্তব্য টাস্কলিস্ট তালিকায় সরানো হয়। অন্যথায় টাস্কটি তার বর্তমান তালিকার মধ্যে সরানো হয়। পুনরাবৃত্ত কাজগুলি বর্তমানে তালিকার মধ্যে সরানো যাবে না। ঐচ্ছিক।
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Task একটি উদাহরণ থাকে।
[[["সহজে বোঝা যায়","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"]],["2024-12-20 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Moves a specified task to a new location within a task list, potentially changing its parent or sibling order."],["Requires providing the task and task list identifiers in the request path."],["Optionally allows specifying a new parent, previous sibling, or destination task list using query parameters."],["Utilizes an empty request body and returns the updated task details in the response."],["Needs authorization with the `https://www.googleapis.com/auth/tasks` scope."]]],["This document outlines the process for moving a task within or between task lists using the Tasks API. Key actions include making a `POST` request to the specified URL, providing the `tasklist` and `task` identifiers as path parameters. Optional query parameters like `parent`, `previous`, and `destinationTasklist` allow for specifying the task's new position and list. The request body must be empty. A successful operation returns a `Task` object. Authorization requires the `https://www.googleapis.com/auth/tasks` scope.\n"]]