Accelerated Mobile Pages (AMP) URL API
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Truy xuất danh sách URL AMP (và URL bộ nhớ đệm AMP tương đương) cho danh sách(các) URL công khai đã cho.
Dịch vụ: Acceleratedmobilepageurl.googleapis.com
Tất cả URI dưới đây đều liên quan đến https://acceleratedmobilepageurl.googleapis.com
Dịch vụ này cung cấp tài liệu khám phá sau:
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2023-08-30 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2023-08-30 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). |"]]