כדי לקרוא לשירות הזה, מומלץ להשתמש בספריות הלקוח ש-Google מספקת. אם האפליקציה שלכם צריכה להשתמש בספריות משלכם כדי לקרוא לשירות הזה, צריך להשתמש במידע הבא כששולחים את בקשות ה-API.
מסמך Discovery
מסמך Discovery הוא מפרט שקריא למכונות, שמתאר ממשקי API ל-REST ומאפשר להשתמש בהם. הוא משמש ליצירת ספריות לקוח, יישומי פלאגין ל-IDE וכלים אחרים שמקיימים אינטראקציה עם Google APIs. שירות אחד יכול לספק כמה מסמכי Discovery. השירות הזה מספק את מסמך הגילוי הבא:
נקודת קצה של שירות היא כתובת URL בסיסית שצוינה בה כתובת הרשת של שירות API. לשירות אחד יכולות להיות כמה נקודות קצה של שירות. לשירות הזה יש את נקודת הקצה הבאה, וכל מזהי ה-URI שבהמשך הם יחסיים לנקודת הקצה הזו:
[[["התוכן קל להבנה","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-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. |"]]