Method: presentations.get
HTTP 请求
GET https://slides.googleapis.com/v1/presentations/{presentationId}
网址采用 gRPC 转码语法。
路径参数
参数 |
presentationId |
string
要获取的演示文稿的 ID。
|
响应正文
如果成功,则响应正文包含一个 Presentation
实例。
授权范围
需要以下 OAuth 范围之一:
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
有关详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-05。
[null,null,["最后更新时间 (UTC):2024-09-05。"],[[["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"]]