Method: spreadsheets.create
יצירת גיליון אלקטרוני והחזרת הגיליון האלקטרוני החדש שנוצר.
בקשת HTTP
POST https://sheets.googleapis.com/v4/spreadsheets
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
גוף הבקשה
גוף הבקשה מכיל מופע של Spreadsheet
.
גוף התשובה
אם הפעולה בוצעה בהצלחה, גוף התגובה מכיל מופע חדש של Spreadsheet
שנוצר.
היקפי הרשאות
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/spreadsheets
למידע נוסף, עיינו במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-05 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-05 (שעון UTC)."],[[["Creates a new Google Spreadsheet using the provided data."],["Sends an HTTP POST request to `https://sheets.googleapis.com/v4/spreadsheets`."],["Requires authorization with specific OAuth scopes like `https://www.googleapis.com/auth/spreadsheets` or similar."],["Returns the newly created spreadsheet data in the response."]]],["A `POST` request is sent to `https://sheets.googleapis.com/v4/spreadsheets` to create a new spreadsheet. The request body must contain a `Spreadsheet` instance. Upon success, the response body returns the newly created `Spreadsheet` instance. This action requires one of the following OAuth scopes for authorization: `drive`, `drive.file`, or `spreadsheets`. The URL follows gRPC Transcoding syntax.\n"]]