Accelerated Mobile Pages (AMP) URL API
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Позволяет получить список URL для AMP (и соответствующих URL контента в AMP Cache) по списку общедоступных URL.
Сервис: acceleratedmobilepageurl.googleapis.com
Все URI ниже относятся к https://acceleratedmobilepageurl.googleapis.com
.
Сервис предоставляет следующий документ для обнаружения:
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-04 UTC.
[null,null,["Последнее обновление: 2025-08-04 UTC."],[[["\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). |"]]