Google员工API中的联系人群组不能像宣传的那样工作。记录

时间:2017-07-18 15:41:15

标签: google-api google-people

伙计们,我不确定您是否了解这一点,但people.contactGroups.get端点根本不起作用。即使在API Explorer ...

以下是我查询people.contactGroups.list组列表的示例: enter image description here

现在,让我们翻转表格并使用下面的响应中的people.contactGroups.get切换到resourceName端点呼叫:

enter image description here

eek ......哎呀...你需要格式为contactGroups/xyz吗?已经,接受:

enter image description here

哎呀,那也不起作用......

很好,继续并切换到people.contactGroups.members.modify端点并尝试修改我们的联系人组:

enter image description here enter image description here 哎呀,好吧,这是你想要的contactGroups/xyz格式: enter image description here enter image description here

事实证明,这些端点表现出的行为既不符合文档也不符合内部实施。

然而,在Google Contacts中以某种方式优雅地工作......你们是否会为某种内部API消费?

我正在做的事情有什么问题,还是API中的错误?

  • UPD:事实证明只有people.contactGroups.batchGet端点可以像宣传和记录的那样工作。所有其他people.contactGroups.*端点都容易出现同样的问题。

1 个答案:

答案 0 :(得分:1)

资源名称的配置存在错误。现在已经解决了,不便之处。