รับป้ายกำกับที่ระบุ
คำขอ HTTP
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/labels/{id}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ | |
---|---|
userId |
อีเมลของผู้ใช้ ค่าพิเศษ |
id |
รหัสของป้ายกำกับที่จะดึงข้อมูล |
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Label
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://mail.google.com/
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.labels
https://www.googleapis.com/auth/gmail.metadata
ดูข้อมูลเพิ่มเติมได้ที่คู่มือการให้สิทธิ์