Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Diese Seite gilt für Apigee und Apigee Hybrid.
Auf dieser Seite erfahren Sie, wie Sie einer API-Ressource eine Version hinzufügen.
Hinweise
Bevor Sie die Schritte in diesem Schnellstart ausführen, müssen Sie die Schritte unter API registrieren ausführen.
Version hinzufügen
Sie können sich eine Version als den Zustand einer API zu einem bestimmten Zeitpunkt vorstellen. Mit Versionen können Sie Ihre APIs anhand der zugrunde liegenden Gruppen von Vorgängen, Deployments und anderen Attributen gruppieren und organisieren.Weitere Informationen finden Sie unter Versionsübersicht.
So fügen Sie Ihrer API-Ressource eine Version hinzu:
Suchen Sie auf der Seite APIs im API-Hub die API-Ressource, die Sie in der vorherigen Kurzanleitung erstellt haben, und wählen Sie sie aus, um die Detailseite aufzurufen.
Klicken Sie auf der Seite API-Details im Abschnitt Versionen auf Version hinzufügen, um das Formular Neue Version hinzufügen aufzurufen.
Füllen Sie das Formular aus:
Geben Sie einen Namen ein. Sie können einen beliebigen Namen verwenden. Der Name wird auf der Benutzeroberfläche angezeigt. Das Feld „Name“ ist ein Pflichtfeld.
Optional können Sie eine Beschreibung hinzufügen und andere Auswahlen wie „Lebenszyklus“, „Compliance“ und „Akkreditierung“ treffen. Die Werte für diese Systemattributeinstellungen können in den Einstellungen angepasst werden. Im Feld Dokumentation können Sie einen Link zur externen Dokumentation für die Version angeben.
Überspringen Sie die verbleibenden Attribute und klicken Sie auf Erstellen.
Sie haben eine Version erstellt und mit einer API-Ressource verknüpft.
Versionsdetails ansehen
Nachdem Sie eine Version erstellt haben, können Sie sich die Details ansehen.
Rufen Sie in der Google Cloud Console im Apigee API-Hub die Seite APIs auf.
Versionen sind mit API-Ressourcen verknüpft. Suchen Sie daher nach der API-Ressource, die Sie prüfen möchten. Wenn Sie sie nicht sehen, geben Sie den Namen der API in den Filter ein.
Klicken Sie auf den API-Namen, um die Details aufzurufen.
Suchen Sie im Abschnitt Versionen die Version, die Sie prüfen möchten.
Die Seite mit den Versionsdetails wird angezeigt. Klicken Sie auf Version bearbeiten, um die Attribute der Version zu bearbeiten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-28 (UTC)."],[[["\u003cp\u003eThis guide applies to both Apigee and Apigee hybrid platforms, focusing on managing API resources.\u003c/p\u003e\n"],["\u003cp\u003eYou can add versions to an API resource, which helps organize APIs by grouping them based on operations and other factors.\u003c/p\u003e\n"],["\u003cp\u003eAdding a version involves navigating to the API details page, clicking "Add Version," entering a name, and optionally adding a description and setting other attributes.\u003c/p\u003e\n"],["\u003cp\u003eAfter creating a version, you can view its details by finding the API resource in the API hub and selecting the specific version.\u003c/p\u003e\n"],["\u003cp\u003eYou can access settings and customizations for attributes, version deployment, and API specifications for the resource in the API hub.\u003c/p\u003e\n"]]],[],null,["# Create an API version\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\nThis page shows you how to add a version to an API resource.\n\nBefore you begin\n----------------\n\nBefore you do the steps in this quickstart, you need to do the steps in [Register an API](./quickstart-api).\n\nAdd a version\n-------------\n\nYou can think of a version as the state of an API at a point in time. Fundamentally,\nversions help you group and organize your APIs based on underlying sets of operations,\ndeployments, and other attributes.To learn more, see [Versions overview](./versions-intro).\n\nTo add a version to your API resource:\n\n1. In the **APIs** page in API hub, locate and select the API resource you created in the previous quickstart to view its details page.\n2. In the **API details** page, under the **Versions** section, click **Add Version** to display the *Add a new version* form.\n\n In the form:\n 1. Enter a name. You can use any name you wish. The name will appear in the user interface. Name is a required field.\n 2. Optionally, add a description and make other selections such as Lifecycle, Compliance, and Accreditation if you wish. Note that values for these system attribute settings can be customized in [Settings](./manage-attributes). The **Documentation** field lets you supply a link to external documentation for the version.\n 3. Skip the remaining attributes, and click **Create**.\n\n| **Note:** You can also add deployments and API specifications to a version. For details, see [Introduction to deployments](./deployments-intro) and [Introduction to API specifications](./specs-intro).\n\nYou have created and linked a version to an API resource.\n\nView version details\n--------------------\n\nAfter you create a version, you can view its details.\n\n1. In the Google Cloud console, go to the **APIs** page in **API hub**.\n\n [Go to API hub](https://console.cloud.google.com/apigee/api-hub/apis)\n2. Versions are linked to API resources, so find the API resource you'd like to inspect. If you don't see it, type the name of the API in the **Filter**.\n3. Click the API name to view its details.\n4. In the **Versions** section, locate and select the version you wish to inspect.\n5. The version details page appears. To edit the version's attributes, click **Edit version**.\n\nNext step\n---------\n\n[Create and edit attributes](./quickstart-settings)"]]