Google Tasks API
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Tasks API की मदद से, टास्क और टास्क की सूचियां मैनेज की जा सकती हैं.
सेवा: tasks.googleapis.com
हमारा सुझाव है कि इस सेवा को कॉल करने के लिए, Google की दी गई क्लाइंट लाइब्रेरी का इस्तेमाल करें. अगर आपके ऐप्लिकेशन को इस सेवा को कॉल करने के लिए, अपनी लाइब्रेरी का इस्तेमाल करना है, तो एपीआई अनुरोध करते समय यहां दी गई जानकारी का इस्तेमाल करें.
डिस्कवरी दस्तावेज़
डिस्कवरी दस्तावेज़, मशीन से पढ़ा जा सकने वाला एक दस्तावेज़ होता है. इसमें REST API के बारे में जानकारी दी जाती है और उन्हें इस्तेमाल करने का तरीका बताया जाता है. इसका इस्तेमाल, Google API के साथ इंटरैक्ट करने वाली क्लाइंट लाइब्रेरी, आईडीई प्लग इन, और अन्य टूल बनाने के लिए किया जाता है. एक सेवा, कई डिस्कवरी दस्तावेज़ उपलब्ध करा सकती है. यह सेवा, एपीआई के बारे में ज़रूरी जानकारी देने वाला यह दस्तावेज़ उपलब्ध कराती है:
सेवा का एंडपॉइंट
सेवा एंडपॉइंट एक बेस यूआरएल होता है, जो किसी एपीआई सेवा का नेटवर्क पता बताता है. किसी सेवा में कई सेवा एंडपॉइंट हो सकते हैं. इस सेवा का सेवा एंडपॉइंट यहां दिया गया है. यहां दिए गए सभी यूआरआई, इस सेवा एंडपॉइंट से जुड़े हैं:
https://tasks.googleapis.com
तरीके |
delete |
DELETE /tasks/v1/users/@me/lists/{tasklist}
पुष्टि किए गए उपयोगकर्ता की बताई गई टास्क सूची को मिटाता है. |
get |
GET /tasks/v1/users/@me/lists/{tasklist}
पुष्टि किए गए उपयोगकर्ता की तय की गई टास्क सूची दिखाता है. |
insert |
POST /tasks/v1/users/@me/lists
यह एक नई टास्क सूची बनाता है और उसे पुष्टि किए गए उपयोगकर्ता की टास्क सूचियों में जोड़ता है. |
list |
GET /tasks/v1/users/@me/lists
पुष्टि किए गए उपयोगकर्ता की सभी टास्क सूचियां दिखाता है. |
patch |
PATCH /tasks/v1/users/@me/lists/{tasklist}
पुष्टि किए गए उपयोगकर्ता की तय की गई टास्क सूची को अपडेट करता है. |
update |
PUT /tasks/v1/users/@me/lists/{tasklist}
पुष्टि किए गए उपयोगकर्ता की तय की गई टास्क सूची को अपडेट करता है. |
REST रिसॉर्स: tasks
तरीके |
clear |
POST /tasks/v1/lists/{tasklist}/clear
चुनी गई टास्क सूची से, पूरे हो चुके सभी टास्क मिटा देता है. |
delete |
DELETE /tasks/v1/lists/{tasklist}/tasks/{task}
यह टास्क की सूची से चुने गए टास्क को मिटा देता है. |
get |
GET /tasks/v1/lists/{tasklist}/tasks/{task}
यह फ़ंक्शन, चुना गया टास्क दिखाता है. |
insert |
POST /tasks/v1/lists/{tasklist}/tasks
यह, चुनी गई टास्क सूची में नया टास्क बनाता है. |
list |
GET /tasks/v1/lists/{tasklist}/tasks
यह किसी टास्क की सूची में मौजूद सभी टास्क दिखाता है. |
move |
POST /tasks/v1/lists/{tasklist}/tasks/{task}/move
चुने गए टास्क को डेस्टिनेशन टास्क की सूची में किसी दूसरी जगह पर ले जाता है. |
patch |
PATCH /tasks/v1/lists/{tasklist}/tasks/{task}
बताए गए टास्क को अपडेट करता है. |
update |
PUT /tasks/v1/lists/{tasklist}/tasks/{task}
बताए गए टास्क को अपडेट करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Google Tasks API\n\nThe Google Tasks API lets you manage your tasks and task lists.\n\n- [REST Resource: tasklists](#tasklists)\n- [REST Resource: tasks](#tasks)\n\nService: tasks.googleapis.com\n-----------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://www.googleapis.com/discovery/v1/apis/tasks/v1/rest\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://tasks.googleapis.com`\n\nREST Resource: [tasklists](/workspace/tasks/reference/rest/v1/tasklists)\n------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| [delete](/workspace/tasks/reference/rest/v1/tasklists/delete) | `DELETE /tasks/v1/users/@me/lists/{tasklist}` Deletes the authenticated user's specified task list. |\n| [get](/workspace/tasks/reference/rest/v1/tasklists/get) | `GET /tasks/v1/users/@me/lists/{tasklist}` Returns the authenticated user's specified task list. |\n| [insert](/workspace/tasks/reference/rest/v1/tasklists/insert) | `POST /tasks/v1/users/@me/lists` Creates a new task list and adds it to the authenticated user's task lists. |\n| [list](/workspace/tasks/reference/rest/v1/tasklists/list) | `GET /tasks/v1/users/@me/lists` Returns all the authenticated user's task lists. |\n| [patch](/workspace/tasks/reference/rest/v1/tasklists/patch) | `PATCH /tasks/v1/users/@me/lists/{tasklist}` Updates the authenticated user's specified task list. |\n| [update](/workspace/tasks/reference/rest/v1/tasklists/update) | `PUT /tasks/v1/users/@me/lists/{tasklist}` Updates the authenticated user's specified task list. |\n\nREST Resource: [tasks](/workspace/tasks/reference/rest/v1/tasks)\n----------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| [clear](/workspace/tasks/reference/rest/v1/tasks/clear) | `POST /tasks/v1/lists/{tasklist}/clear` Clears all completed tasks from the specified task list. |\n| [delete](/workspace/tasks/reference/rest/v1/tasks/delete) | `DELETE /tasks/v1/lists/{tasklist}/tasks/{task}` Deletes the specified task from the task list. |\n| [get](/workspace/tasks/reference/rest/v1/tasks/get) | `GET /tasks/v1/lists/{tasklist}/tasks/{task}` Returns the specified task. |\n| [insert](/workspace/tasks/reference/rest/v1/tasks/insert) | `POST /tasks/v1/lists/{tasklist}/tasks` Creates a new task on the specified task list. |\n| [list](/workspace/tasks/reference/rest/v1/tasks/list) | `GET /tasks/v1/lists/{tasklist}/tasks` Returns all tasks in the specified task list. |\n| [move](/workspace/tasks/reference/rest/v1/tasks/move) | `POST /tasks/v1/lists/{tasklist}/tasks/{task}/move` Moves the specified task to another position in the destination task list. |\n| [patch](/workspace/tasks/reference/rest/v1/tasks/patch) | `PATCH /tasks/v1/lists/{tasklist}/tasks/{task}` Updates the specified task. |\n| [update](/workspace/tasks/reference/rest/v1/tasks/update) | `PUT /tasks/v1/lists/{tasklist}/tasks/{task}` Updates the specified task. |"]]