Domain Shared Contacts API 支援下列標準 Google Data API 查詢參數:
名稱 |
說明 |
alt |
要傳回的動態饋給類型,例如 atom (預設)、rss 或 json 。 |
max-results |
要傳回的項目數量上限。如果您想接收每個聯絡人,而非只接收預設上限,可以為 max-results 指定較大的數字。 |
start-index
| 要擷取的第一個結果的索引 (以 1 為起點) (用於分頁)。 |
updated-min |
項目更新日期的下限。 |
如要進一步瞭解標準參數,請參閱 Google Data API 通訊協定參考資料。
除了標準查詢參數外,Domain Shared Contacts API 也支援下列參數:
名稱 |
說明 |
orderby |
排序條件。唯一支援的值是 lastmodified 。 |
showdeleted |
在傳回的聯絡資訊動態饋給中加入已刪除的聯絡人。有效值為 true 或 false 。已刪除的共用聯絡人會顯示為只含 <atom:id> 元素和 <gd:deleted> 元素的項目。
Google 會在刪除後的 30 天內保留已刪除的共用聯絡人的預留位置。在此期間,您可以使用 showdeleted 查詢參數要求預留位置。
|
sortorder |
排序順序方向。可以是 ascending 或 descending 。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-22 (世界標準時間)。
[null,null,["上次更新時間: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."]]],["The Domain Shared Contacts API utilizes standard Google Data API query parameters like `alt` (feed type), `max-results` (entry count), `start-index` (paging), and `updated-min` (update date bound). It also supports specific parameters: `orderby` (sort by last modified), `showdeleted` (include deleted contacts, with placeholders for 30 days), and `sortorder` (ascending/descending). These parameters refine data retrieval.\n"]]