Mit Sammlungen den Überblick behalten Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Mit der Google Apps Script API können Sie Apps Script-Projekte programmatisch erstellen, ändern und bereitstellen. Andernfalls müssten Sie dazu den Apps Script-Editor verwenden. Ihre Apps können die API verwenden, um Ihre Skriptprojekte zu verwalten, neue Skriptversionen zu erstellen und bereitzustellen und die Ausführung von Skripts zu überwachen.
Die Apps Script API ersetzt und erweitert auch die Apps Script Execution API. Mit der Apps Script API können Sie Apps Script-Funktionen remote ausführen, genau wie mit der Execution API.
Übersicht über die API
Die Apps Script API ist in mehrere Ressourcen unterteilt, die jeweils einen bestimmten Zweck und eine Reihe von Anfragen haben, die Sie stellen können. Dazu gehören:
projects: Eine Darstellung eines Skriptprojekts. Die API bietet Methoden zum Erstellen, Lesen, Überwachen und Ändern von Projekten.
projects.deployments: Eine Darstellung einer Skriptbereitstellung. Die API bietet Methoden zum Erstellen, Auflisten, Aktualisieren und Löschen von Bereitstellungen von Skriptprojekten.
projects.versions: Eine Darstellung einer Version eines Skriptprojekts. Die API bietet Methoden zum Erstellen und Lesen von Projektversionen.
processes: Eine Darstellung der Ausführung einer Skriptfunktion. Die API bietet Methoden zum Auflisten vorhandener Prozesse und zum Abrufen von Informationen zu diesen Prozessen, z. B. Typ und aktueller Status.
scripts: Der Endpunkt, der Methoden zum Remote-Ausführen von Apps Script-Funktionen bereitstellt.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-04 (UTC)."],[[["\u003cp\u003eThe Google Apps Script API allows programmatic management of Apps Script projects, including creation, modification, and deployment.\u003c/p\u003e\n"],["\u003cp\u003eThis API enables remote execution of Apps Script functions and extends the capabilities of the Apps Script Execution API.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the API to manage script projects, deploy versions, and monitor script executions.\u003c/p\u003e\n"],["\u003cp\u003eKey resources within the API include projects, deployments, versions, processes, and scripts for comprehensive control.\u003c/p\u003e\n"],["\u003cp\u003eIt's crucial to enable the API and grant access for third-party app management of your scripts.\u003c/p\u003e\n"]]],[],null,["The Google Apps Script API lets you programmatically create, modify, and\ndeploy Apps Script projects---actions that otherwise require you to\nuse the Apps Script editor. Your apps can use the API to manage your\nscript projects, create and deploy new script versions, and monitor script\nexecutions.\n| **Warning:** The Apps Script API does not work with [service accounts](https://developers.google.com/identity/protocols/OAuth2ServiceAccount).\n\nThe Apps Script API also replaces and extends the Apps Script Execution API.\nYou can use the Apps Script API to execute Apps Script functions remotely,\njust as you could with the Execution API.\n| **Note:** In order to use this API in your apps, you must [enable it for use](/apps-script/api/how-tos/enable#using_the_apps_script_api_in_your_app). To allow other apps to manage your scripts, you must [grant them access](/apps-script/api/how-tos/enable#granting_third-party_applications_access_to_your_script_projects%22).\n\nOverview of the API\n\nThe Apps Script API is divided into several resources, each with a specific\npurpose and set of requests you can make. These resources are the following:\n\n- [`projects`](/apps-script/api/reference/rest/v1/projects) --- A representation of a script project. The API provides methods to create, read, monitor, and modify projects.\n- [`projects.deployments`](/apps-script/api/reference/rest/v1/projects.deployments) --- A representation of a script deployment. The API provides methods to create, list, update, and delete script project deployments.\n- [`projects.versions`](/apps-script/api/reference/rest/v1/projects.versions) --- A representation of a script project version. The API provides methods to create and read project versions.\n- [`processes`](/apps-script/api/reference/rest/v1/processes) --- A representation of a script function execution. The API provides methods to list existing processes and gather information about them, such as type and current status.\n- [`scripts`](/apps-script/api/reference/rest/v1/scripts) --- The endpoint that provides methods to remotely execute Apps Script functions."]]