【发布时间】:2018-06-09 23:34:01
【问题描述】:
我想使用 historyID 和 history.list Gmail-API 在一次 API 调用中获取所有 INBOX 邮件和所有 SENT 邮件的结果。 参考: https://developers.google.com/gmail/api/v1/reference/users/history/list
当我点击以下 GET 请求时:
https://www.googleapis.com/gmail/v1/users/{userID}/history?startHistoryId={historyID}&labelId=SENT&labelId=INBOX
我只收到 SENT 标签消息。 似乎 API 只接受 labelId 的单个和第一个查询参数。
有没有办法在单个 API 调用中获得多个 labelId 的响应?
【问题讨论】:
标签: api email google-api gmail-api