Accelerated Mobile Pages (AMP) URL API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
針對指定的公開網址清單擷取 AMP 網址清單 (以及對等的 AMP 快取網址)。
服務:Acceleratedmobilepageurl.googleapis.com
以下皆為與 https://acceleratedmobilepageurl.googleapis.com
相對的 URI
這項服務提供下列探索文件:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-08-30 (世界標準時間)。
[null,null,["上次更新時間:2023-08-30 (世界標準時間)。"],[[["\u003cp\u003eRetrieves a list of AMP URLs and their corresponding AMP Cache URLs for given public URLs.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eacceleratedmobilepageurl.googleapis.com\u003c/code\u003e service and the \u003ccode\u003ev1.ampUrls\u003c/code\u003e collection.\u003c/p\u003e\n"],["\u003cp\u003eOffers a \u003ccode\u003ebatchGet\u003c/code\u003e method to retrieve AMP URLs and AMP Cache URLs via a POST request.\u003c/p\u003e\n"],["\u003cp\u003eProvides a discovery document for service details at \u003ccode\u003ehttps://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core functionality involves retrieving AMP URLs and their corresponding AMP Cache URLs for a set of public URLs. This is achieved via the `batchGet` method, which is accessed through a POST request to `/v1/ampUrls:batchGet`. The service, `acceleratedmobilepageurl.googleapis.com`, provides this functionality, and the discovery document is available at a specified URL. All URIs are relative to `https://acceleratedmobilepageurl.googleapis.com`.\n"],null,["# Accelerated Mobile Pages (AMP) URL API\n\nRetrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list of public URL(s).\n\n- [Collection: v1.ampUrls](#v1.ampUrls)\n\nService: acceleratedmobilepageurl.googleapis.com\n------------------------------------------------\n\nAll URIs below are relative to `https://acceleratedmobilepageurl.googleapis.com`\n\nThis service provides the following discovery document:\n\n- \u003chttps://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1\u003e\n\nCollection: [v1.ampUrls](/amp/cache/reference/acceleratedmobilepageurl/rest/v1/ampUrls)\n---------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| [batchGet](/amp/cache/reference/acceleratedmobilepageurl/rest/v1/ampUrls/batchGet) | `POST /v1/ampUrls:batchGet` Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format). |"]]