Method: presentations.get
Lấy phiên bản mới nhất của bản trình bày được chỉ định.
Yêu cầu HTTP
GET https://slides.googleapis.com/v1/presentations/{presentationId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
presentationId |
string
Mã của bản trình bày cần truy xuất.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Presentation
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau đây:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/presentations
https://www.googleapis.com/auth/presentations.readonly
Để biết thêm thông tin, hãy xem bài viết Hướng dẫn uỷ quyền.
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: 2024-09-05 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-09-05 UTC."],[[["Retrieves the most recent version of a presentation using its ID."],["Requires an empty request body and returns a Presentation object if successful."],["Needs authorization with one of the specified OAuth scopes (e.g., `drive`, `presentations`)."],["Utilizes a `GET` request with the presentation ID as a path parameter."]]],["This describes retrieving a presentation's latest version using a `GET` request to `https://slides.googleapis.com/v1/presentations/{presentationId}`. The `presentationId` in the URL path specifies the desired presentation. The request body must be empty. A successful response returns a `Presentation` instance. Authorization requires one of five OAuth scopes, including `drive`, `drive.file`, `drive.readonly`, `presentations`, or `presentations.readonly`. Further details on authorization can be found in the provided guide.\n"]]