Method: tasklists.get
แสดงผลรายการงานที่ระบุของผู้ใช้ที่ตรวจสอบสิทธิ์แล้ว
คำขอ HTTP
GET https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
tasklist |
string
ตัวระบุรายการงาน
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ TaskList
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/tasks
https://www.googleapis.com/auth/tasks.readonly
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-05 UTC
[null,null,["อัปเดตล่าสุด 2024-09-05 UTC"],[[["Retrieves the authenticated user's specified task list using a GET request."],["Requires a task list identifier as a path parameter."],["Returns a TaskList object if successful, providing details of the requested task list."],["Needs authorization with specific OAuth scopes for accessing and/or modifying task lists."]]],["This document details retrieving a specific task list for an authenticated user. The core action is a `GET` request to `https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}`. The `tasklist` parameter, a string, is required in the URL path. The request body must be empty. A successful response returns a `TaskList` object. Authorization requires either the `https://www.googleapis.com/auth/tasks` or `https://www.googleapis.com/auth/tasks.readonly` OAuth scope.\n"]]