Domain Shared Contacts API 支持以下标准 Google Data API 查询参数:
名称 |
说明 |
alt |
要返回的 Feed 类型,例如 atom (默认值)、rss 或 json 。 |
max-results |
要返回的条目的最大数量。如果您想接收所有联系人(而不仅仅是默认上限),可以为 max-results 指定一个较大的数字。 |
start-index
| 要检索的第一个结果的索引(从 1 开始,用于分页)。 |
updated-min |
条目更新日期的下限。 |
如需详细了解标准参数,请参阅 Google Data API 协议参考文档。
除了标准查询参数之外,Domain Shared Contacts API 还支持以下参数:
名称 |
说明 |
orderby |
排序条件。唯一支持的值是 lastmodified 。 |
showdeleted |
在返回的联系人 Feed 中包含已删除的联系人。有效值为 true 或 false 。已删除的共享联系人显示为仅包含 <atom:id> 元素和 <gd:deleted> 元素的条目。
删除共享联系人后,Google 会将其占位符保留 30 天。在此期间,您可以使用 showdeleted 查询参数请求占位符。
|
sortorder |
排序顺序方向。可以是 ascending 或 descending 。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-22。
[null,null,["最后更新时间 (UTC):2024-11-22。"],[[["The Domain Shared Contacts API uses standard Google Data API query parameters like `alt`, `max-results`, `start-index`, and `updated-min` to filter results."],["Developers can retrieve all contacts by specifying a large number for the `max-results` parameter."],["This API also supports specific parameters including `orderby`, `showdeleted`, and `sortorder` for further customization."],["`showdeleted` allows retrieval of deleted contact placeholders, which Google retains for 30 days, by setting it to `true`."],["While supporting both `ascending` and `descending` orders, the API only allows sorting by `lastmodified` when using the `orderby` parameter."]]],[]]