Method: tasklists.patch
อัปเดตรายการงานที่ระบุของผู้ใช้ที่ตรวจสอบสิทธิ์แล้ว เมธอดนี้รองรับความหมายของแพตช์
คำขอ HTTP
PATCH https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
tasklist |
string
ตัวระบุรายการงาน
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ TaskList
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ TaskList
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/tasks
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-05 UTC
[null,null,["อัปเดตล่าสุด 2024-09-05 UTC"],[[["Updates the authenticated user's specified task list using patch semantics."],["The request requires a `tasklist` path parameter to identify the task list."],["The request and response bodies both utilize the `TaskList` resource."],["Authorization necessitates the `https://www.googleapis.com/auth/tasks` OAuth scope."]]],["This document outlines the process for updating a user's task list via a PATCH request. The core action is to send a `PATCH` request to a specific URL: `https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}`, using a unique task list identifier. The request body requires an instance of `TaskList`. A successful operation returns an updated `TaskList` instance in the response body. This operation requires authorization via the OAuth scope: `https://www.googleapis.com/auth/tasks`.\n"]]