Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng của bạn cần sử dụng thư viện của riêng mình để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn tạo yêu cầu API.
Tài liệu khám phá
Tài liệu khám phá là một bản đặc tả có thể đọc được bằng máy để mô tả và sử dụng các API REST. Thư viện này dùng để tạo thư viện ứng dụng, trình bổ trợ IDE và các công cụ khác tương tác với API của Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối của dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của một dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau và tất cả URI dưới đây đều liên quan đến điểm cuối dịch vụ này:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["The 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\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\nDiscovery 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\nService 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| 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| 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. |"]]