Google Docs API
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Liest und schreibt Google Docs-Dokumente.
Dienst: docs.googleapis.com
Wir empfehlen, diesen Dienst mit den von Google bereitgestellten Clientbibliotheken aufzurufen. Wenn Ihre Anwendung diesen Dienst mit Ihren eigenen Bibliotheken aufrufen muss, verwenden Sie die folgenden Informationen, wenn Sie die API-Anfragen senden.
Discovery-Dokument
Ein Discovery-Dokument ist eine maschinenlesbare Spezifikation zum Beschreiben und Nutzen von REST APIs. Sie wird verwendet, um Clientbibliotheken, IDE-Plug-ins und andere Tools zu erstellen, die mit Google APIs interagieren. Ein Dienst kann mehrere Discovery-Dokumente haben. Der Dienst bietet das folgende Discovery-Dokument:
Dienstendpunkt
Ein Dienstendpunkt ist eine Basis-URL, die die Netzwerkadresse eines API-Dienstes angibt. Ein Dienst kann mehrere Dienstendpunkte haben. Dieser Dienst hat den folgenden Dienstendpunkt und alle nachstehenden URIs beziehen sich auf ihn:
https://docs.googleapis.com
Methoden |
batchUpdate |
POST /v1/documents/{documentId}:batchUpdate
Wendet eine oder mehrere Änderungen auf das Dokument an. |
create |
POST /v1/documents
Erstellt ein leeres Dokument mit dem in der Anfrage angegebenen Titel. |
get |
GET /v1/documents/{documentId}
Ruft die neueste Version des angegebenen Dokuments ab. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["# Google Docs API\n\nReads and writes Google Docs documents.\n\n- [REST Resource: v1.documents](#v1.documents)\n\nService: docs.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://docs.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://docs.googleapis.com`\n\nREST Resource: [v1.documents](/workspace/docs/api/reference/rest/v1/documents)\n------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| [batchUpdate](/workspace/docs/api/reference/rest/v1/documents/batchUpdate) | `POST /v1/documents/{documentId}:batchUpdate` Applies one or more updates to the document. |\n| [create](/workspace/docs/api/reference/rest/v1/documents/create) | `POST /v1/documents` Creates a blank document using the title given in the request. |\n| [get](/workspace/docs/api/reference/rest/v1/documents/get) | `GET /v1/documents/{documentId}` Gets the latest version of the specified document. |"]]