已淘汰: Sites API 已淘汰,並可能隨時停止運作。Sites API 只能存取
傳統版協作平台網站。Sites API 無法存取於 2016 年 11 月 22 日推出的
重建的協作平台網站。
常見問題
Google Data API 主要常見問題
下列問題是針對 Google Sites Data API 特別針對的。不過,還有許多 Google Data API 都適用的問題。請造訪
如果您找不到以下問題,可以參閱 Google Data API 常見問題。
踏出第一步
踏出第一步
您是否有任何常見問題的秘訣或簡短程式碼範例?
建議您瀏覽 Google Data API 提示網誌,取得用戶端程式庫及提出原始要求的說明。用戶端程式庫和程式碼範例網頁也列出一些其他資源。
Google 支援哪些用戶端程式庫?
Java、.NET、PHP、
Google 正式支援 Python 和 Objective-C 用戶端程式庫。
您可以利用這些程式庫建構 Google Data 要求、將要求傳送至服務,並處理伺服器回應。
哪裡可以找到每種語言的開發人員指南?
如需 HTTP XML 通訊協定和其他程式語言的開發人員指南,請前往 http://developers.google.com/workspace/sites/docs/developers_guide
什麼是 AuthSub/OAuth 範圍?
Sites Data API 會使用以下範圍:https://sites.google.com/feeds/
。
什麼是 ClientLogin 服務名稱?
jotspot
如何列出所有網站?
網站動態饋給可用於列出使用者擁有和/或可存取的網站。
我可以建立新的 Google 網站嗎?
可以。Google Workspace 使用者可以使用網站動態饋給,透過程式輔助功能建立新網站。我們希望
日後開放所有使用者使用
我可以刪除現有的 Google 網站嗎?
目前 API 不支援刪除現有網站。必須透過「Google 協作平台」控制台刪除網站。
如何複製網站?
如果你是擁有者,Google Workspace 使用者可以使用網站動態消息複製網站。
您也可以前往 Google 協作平台設定頁面手動複製網站。
如何設定/修改 ACL (共用權限)?
acl 動態饋給提供這項功能。
如何擷取 Sitemap?
在一般情況下,Sitemap 會是指 Sitemap.xml 檔案,用於協助搜尋引擎將網站編入索引。在 Google 協作平台中,
「Sitemap」是指樹狀目錄 ([更多動作] > [管理協作平台] > [網頁])。雖然 API 無法讓您直接
這個網頁階層,就可以透過檢查每個內容項目中的上層連結推論 Sitemap。
每個內容項目都是 Sitemap 樹狀結構的分葉或節點。
為什麼我無法存取修訂版本/活動動態消息?
您必須是協作平台的協作者、擁有者或管理員,才能查看其修訂版本和活動動態消息。
附件的檔案大小限制為何?
請參閱:http://www.google.com/support/sites/bin/answer.py?answer=96770
我有功能要求或錯誤報告。我應該在哪裡發布貼文?
如要回報錯誤,請在這裡張貼問題追蹤工具的詳細說明。
如要檢舉功能要求,請在這裡張貼詳細說明。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-02 (世界標準時間)。
[null,null,["上次更新時間:2024-09-02 (世界標準時間)。"],[[["This page serves as an FAQ for the Google Sites Data API, and refers users to the general Google Data APIs FAQ for broader questions."],["Google provides officially supported client libraries in Java, .NET, PHP, Python, and Objective-C to facilitate interaction with the Sites Data API."],["The Sites Data API supports actions like listing sites, creating new sites (for Google Workspace users), setting sharing permissions, and copying sites."],["While the API doesn't offer direct retrieval of the sitemap page hierarchy, it can be inferred from parent links within each content entry."],["Users need to be collaborators, owners, or admins of a site to view its revision and activity feeds, and API-based deletion of existing sites is not supported."]]],["The Google Sites Data API supports client libraries in Java, .NET, PHP, Python, and Objective-C. Key actions include listing sites via the site feed, creating new sites, copying sites, and modifying sharing permissions through the ACL feed. Retrieving the sitemap involves examining parent links in content entries. Deleting sites is not supported through the API. Access to revisions/activity feeds requires collaborator, owner, or admin status. Bug reports and feature requests can be submitted through their issue tracker.\n"]]