Google Slides 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.
Đọc và ghi bản trình bày trên Google Trang trình bày.
Dịch vụ: slides.googleapis.com
Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng của bạn cần sử dụng thư viện của riêng mình để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn tạo các yêu cầu API.
Tài liệu khám phá
Tài liệu khám phá là một bản đặc tả có thể đọc được bằng máy để mô tả và sử dụng các API REST. Thư viện này dùng để tạo thư viện ứng dụng, trình bổ trợ IDE và các công cụ khác tương tác với API của Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối dịch vụ
Điểm cuối của dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của một dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau và tất cả URI dưới đây đều liên quan đến điểm cuối dịch vụ này:
https://slides.googleapis.com
Phương thức |
batchUpdate |
POST /v1/presentations/{presentationId}:batchUpdate
Áp dụng một hoặc nhiều nội dung cập nhật cho bản trình bày. |
create |
POST /v1/presentations
Tạo một bản trình bày trống bằng cách sử dụng tiêu đề được cung cấp trong yêu cầu. |
get |
GET /v1/presentations/{presentationId}
Lấy phiên bản mới nhất của bản trình bày đã chỉ định. |
Phương thức |
get |
GET /v1/presentations/{presentationId}/pages/{pageObjectId}
Lấy phiên bản mới nhất của trang đã chỉ định trong bản trình bày. |
getThumbnail |
GET /v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail
Tạo hình thu nhỏ của phiên bản mới nhất của trang được chỉ định trong bản trình bày và trả về URL của hình thu nhỏ. |
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: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# Google Slides API\n\nReads and writes Google Slides presentations.\n\n- [REST Resource: v1.presentations](#v1.presentations)\n- [REST Resource: v1.presentations.pages](#v1.presentations.pages)\n\nService: slides.googleapis.com\n------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://slides.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://slides.googleapis.com`\n\nREST Resource: [v1.presentations](/workspace/slides/api/reference/rest/v1/presentations)\n----------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|\n| [batchUpdate](/workspace/slides/api/reference/rest/v1/presentations/batchUpdate) | `POST /v1/presentations/{presentationId}:batchUpdate` Applies one or more updates to the presentation. |\n| [create](/workspace/slides/api/reference/rest/v1/presentations/create) | `POST /v1/presentations` Creates a blank presentation using the title given in the request. |\n| [get](/workspace/slides/api/reference/rest/v1/presentations/get) | `GET /v1/presentations/{presentationId}` Gets the latest version of the specified presentation. |\n\nREST Resource: [v1.presentations.pages](/workspace/slides/api/reference/rest/v1/presentations.pages)\n----------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/workspace/slides/api/reference/rest/v1/presentations.pages/get) | `GET /v1/presentations/{presentationId}/pages/{pageObjectId}` Gets the latest version of the specified page in the presentation. |\n| [getThumbnail](/workspace/slides/api/reference/rest/v1/presentations.pages/getThumbnail) | `GET /v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail` Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. |"]]