版本資訊
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁包含 Google Fit REST API 版本的相關資訊。變更記錄會按日期列出版本,且包含任何新功能、錯誤修正或重大效能改善項目。
2021 年 8 月 2 日
現已正式發布:寫入健康資料類型。健康資料類型的存取權授權與其他資料類型一致。詳情請參閱本文。
2021 年 4 月 27 日
在 2020 年 10 月 10 日公布的授權變更中,我們已稍微延遲。授權變更現在將於 2021 年 5 月 4 日強制執行。
Google Fit 開發人員和使用者資料政策也將於 2021 年 5 月 4 日開始強制執行。應用程式驗證是 Google Fit 開發人員政策的強制執行過程中的一部分,首先會以相對課程開始。
2020 年 10 月 19 日
我們一直致力為開發人員和使用者加強 Google Fit 的安全性和隱私權,因此針對 Google Fit 政策和 API 做了一些變更:
- 我們推出了新的 Google Fit 開發人員和使用者資料政策。
請詳閱政策,並視需要修正您的應用程式和服務。
- 寫入存取權現在只會允許應用程式讀取其寫入的資料。如要繼續從 Google Fit 平台讀取其他應用程式寫入的資料,請更新您的程式碼,要求相關資料類型的讀取存取權範圍。
- 心率資料有專屬的範圍。
- 睡眠資料有專屬的範圍和新的資料類型。
這些 API 異動將從 2020 年 10 月 19 日起開放使用,並於 2021 年 4 月 27 日生效。
如需這些變更的詳細資訊與操作說明,請參閱這篇文章。
2019 年 12 月 10 日
由於這項功能的使用率偏低,自 2020 年 2 月起,Google Fit REST API 將停止發出或處理 ETag HTTP 標頭。
2019 年 3 月 21 日
Google Fit 應用程式現在會顯示寫入 REST API 的睡眠時段。進一步瞭解如何寫入及讀取睡眠資料。
2019 年 3 月 18 日
我們已對 Google Fit REST API 進行以下變更:
- 現在,針對 2019 年 3 月後建立的所有新 Google Cloud 專案,針對受限資料類型的讀取和寫入權限,應用程式必須通過 Google 驗證。瞭解詳情。
2019 年 3 月 15 日
我們已對 Google Fit REST API 進行以下變更:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eThe Google Fit REST API changelog lists releases by date with details on new features, bug fixes, and performance improvements.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Fit API introduced changes to authorization scopes, data access, and security policies, including a new developer policy effective May 4, 2021.\u003c/p\u003e\n"],["\u003cp\u003eHeart rate and sleep data now have dedicated scopes for improved data privacy and control.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Fit REST API no longer processes ETag HTTP headers due to low usage.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Fit app displays sleep sessions written to the REST API, and access to restricted data types for new Google Cloud projects requires app verification.\u003c/p\u003e\n"]]],[],null,["# Release Notes\n\nThis page contains information about Google Fit REST API releases.\nThe changelog lists releases by date and includes any new\nfeatures, bug fixes or significant performance improvements.\n\nAugust 2, 2021\n--------------\n\nWriting to [Health data types](/fit/datatypes/health) is now generally available\nto developers. Authorization to access Health data types is consistent with all\nother data types. More details [here](/fit/datatypes#authorization_scopes).\n\nApril 27, 2021\n--------------\n\nThere has been a small delay to enforcement of the [authorization changes](/fit/improvements#what_are_the_authorization_changes)\nannounced on October 10, 2020. The authorization changes will now be enforced\nfrom May 4, 2021.\n\nThe [Google Fit Developer and User Data Policy](/fit/policy) will also become\nenforceable on May 4, 2021. [App verification](/fit/improvements#strengthening_the_review_system_for_apps_using_google_fit)\n, as part of enforcement of the Fit developer policy, will start start in due\ncourse.\n\nOctober 19, 2020\n----------------\n\nAs part of our ongoing efforts to enhance the security and privacy of Google Fit\nfor developers and users, we've made some changes to the Google Fit policies and\nAPIs:\n\n- There is a new [Google Fit Developer and User Data Policy](/fit/policy). Please review the policy, and if relevant, make appropriate changes to your apps and services.\n- Write-access will now only let our app read data it has written. To continue reading data written by other apps from the Google Fit platform, update your code to request read-access scopes for the relevant data types.\n- Heart rate data has its own scopes.\n- Sleep data has its own scopes and a new data type.\n\nThese changes to the API will be available for developers to use from 19 October\n2020 and become enforceable on 27 April 2021.\n\nSee [here](/fit/improvements) for more details and instructions on these\nchanges.\n\nDecember 10, 2019\n-----------------\n\nDue to low usage of this feature, the Google Fit REST API will stop issuing\nor processing ETag HTTP headers from February 2020 onwards.\n\nMarch 21, 2019\n--------------\n\nThe Google Fit app now displays sleep sessions written to the REST API.\nLearn more about [writing](/fit/scenarios/write-sleep-data) and [reading](/fit/scenarios/read-sleep-data) sleep data.\n\nMarch 18, 2019\n--------------\n\nThe following changes have been made to the Google Fit REST API:\n\n- For all new Google Cloud projects created from March 2019, read and write access to restricted data types now require your app to be verified by Google. [Learn more](/fit/rest/v1/data-types#restricted_data_types).\n\nMarch 15, 2019\n--------------\n\nThe following changes have been made to the Google Fit REST API:\n\n- If none of start time, end time and pageToken are specified in a [User.sessions: list request](https://developers.google.com/fit/rest/v1/reference/users/sessions/list), sessions modified in the last 30 days are now returned. (Previously, only sessions modified in the last 7 days were returned)."]]