Google Slides API
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Membaca dan menulis presentasi Google Slide.
Layanan: slides.googleapis.com
Untuk memanggil layanan ini, sebaiknya gunakan library klien yang disediakan Google. Jika aplikasi Anda perlu menggunakan library Anda sendiri untuk memanggil layanan ini, gunakan informasi berikut saat Anda membuat permintaan API.
Dokumen discovery
Dokumen Discovery adalah spesifikasi yang dapat dibaca komputer untuk mendeskripsikan dan menggunakan REST API. Dokumen ini digunakan untuk membuat library klien, plugin IDE, dan alat lainnya yang berinteraksi dengan Google API. Satu layanan dapat menyediakan beberapa dokumen discovery. Layanan ini menyediakan dokumen discovery berikut:
Endpoint layanan
Endpoint layanan adalah URL dasar yang menentukan alamat jaringan layanan API. Satu layanan dapat memiliki beberapa endpoint layanan. Layanan ini memiliki endpoint layanan berikut dan semua URI di bawah berhubungan dengan endpoint layanan ini:
https://slides.googleapis.com
Metode |
batchUpdate |
POST /v1/presentations/{presentationId}:batchUpdate
Menerapkan satu atau beberapa pembaruan pada presentasi. |
create |
POST /v1/presentations
Membuat presentasi kosong menggunakan judul yang diberikan dalam permintaan. |
get |
GET /v1/presentations/{presentationId}
Mendapatkan versi terbaru presentasi yang ditentukan. |
Metode |
get |
GET /v1/presentations/{presentationId}/pages/{pageObjectId}
Mendapatkan versi terbaru halaman yang ditentukan dalam presentasi. |
getThumbnail |
GET /v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail
Membuat thumbnail versi terbaru halaman yang ditentukan dalam presentasi dan menampilkan URL ke gambar thumbnail. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]