Method: presentations.get
Pobiera najnowszą wersję określonej prezentacji.
Żądanie HTTP
GET https://slides.googleapis.com/v1/presentations/{presentationId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
presentationId |
string
Identyfikator prezentacji do pobrania.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Presentation
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów 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
Więcej informacji znajdziesz w przewodniku po autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-05 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]