Google Slides API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
קריאה וכתיבה של מצגות ב-Google Slides.
שירות: slides.googleapis.com
כדי לקרוא לשירות הזה, מומלץ להשתמש בספריות הלקוח ש-Google מספקת. אם האפליקציה שלכם צריכה להשתמש בספריות משלכם כדי לקרוא לשירות הזה, צריך להשתמש במידע הבא כששולחים את בקשות ה-API.
מסמך Discovery
מסמך Discovery הוא מפרט שקריא למכונות, שמתאר ממשקי API ל-REST ומאפשר להשתמש בהם. הוא משמש ליצירת ספריות לקוח, יישומי פלאגין ל-IDE וכלים אחרים שמקיימים אינטראקציה עם Google APIs. שירות אחד יכול לספק כמה מסמכי גילוי. השירות הזה מספק את מסמך הגילוי הבא:
נקודת קצה לשירות
נקודת קצה של שירות היא כתובת URL בסיסית שצוינה בה כתובת הרשת של שירות API. לשירות אחד יכולות להיות כמה נקודות קצה של שירות. לשירות הזה יש את נקודת הקצה הבאה, וכל מזהי ה-URI שבהמשך הם יחסיים לנקודת הקצה הזו:
https://slides.googleapis.com
Methods |
batchUpdate |
POST /v1/presentations/{presentationId}:batchUpdate
החלת עדכון אחד או יותר על המצגת. |
create |
POST /v1/presentations
יצירת מצגת ריקה לפי השם שצוין בבקשה. |
get |
GET /v1/presentations/{presentationId}
הצגת הגרסה האחרונה של המצגת שצוינה. |
Methods |
get |
GET /v1/presentations/{presentationId}/pages/{pageObjectId}
הצגת הגרסה האחרונה של הדף שצוין במצגת. |
getThumbnail |
GET /v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail
הפונקציה יוצרת תמונה ממוזערת של הגרסה האחרונה של הדף שצוין במצגת ומחזירה את כתובת ה-URL של התמונה הממוזערת. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]