Method: tasklists.insert
एक नई टास्क सूची बनाता है और उसे पुष्टि किए गए उपयोगकर्ता की टास्क सूचियों में जोड़ देता है. किसी उपयोगकर्ता के पास एक बार में 2000 सूचियां हो सकती हैं.
एचटीटीपी अनुरोध
POST https://tasks.googleapis.com/tasks/v1/users/@me/lists
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में TaskList
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में TaskList
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/tasks
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया."],[[["Creates a new task list and adds it to the authenticated user's task lists, with a limit of 2000 lists per user."],["The API utilizes an HTTP POST request to `https://tasks.googleapis.com/tasks/v1/users/@me/lists` to create the list."],["Request and response bodies utilize the `TaskList` object for data structure."],["Requires `https://www.googleapis.com/auth/tasks` OAuth scope for authorization."]]],["This content outlines how to create a new task list for an authenticated user via an API. The core action is to send a `POST` request to `https://tasks.googleapis.com/tasks/v1/users/@me/lists`. The request body must contain a `TaskList` instance, and a successful response will return a new `TaskList` instance. Authorization requires the `https://www.googleapis.com/auth/tasks` OAuth scope. Users can create a maximum of 2000 lists. The URL uses gRPC Transcoding syntax.\n"]]