Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina si applica ad Apigee e Apigee hybrid.
Questa pagina mostra come aggiungere una versione a una risorsa API.
Prima di iniziare
Prima di svolgere i passaggi descritti in questa guida rapida, devi completare quelli descritti in Registrare un'API.
Aggiungere una versione
Puoi pensare a una versione come allo stato di un'API in un determinato momento. Fondamentalmente,
le versioni ti aiutano a raggruppare e organizzare le API in base a insiemi di operazioni,
implementazioni e altri attributi sottostanti.Per saperne di più, consulta la Panoramica delle versioni.
Per aggiungere una versione alla risorsa API:
Nella pagina API in API Hub, individua e seleziona la risorsa API che hai creato nel precedente quickstart per visualizzarne la pagina dei dettagli.
Nella pagina Dettagli API, fai clic su Aggiungi versione nella sezione Versioni per visualizzare il modulo Aggiungi una nuova versione.
Nel modulo:
Inserisci un nome. Puoi utilizzare il nome che preferisci. Il nome verrà visualizzato nell'interfaccia utente. Il nome è un campo obbligatorio.
Se vuoi, aggiungi una descrizione ed esegui altre selezioni, ad esempio Ciclo di vita, Conformità e Accreditamento. Tieni presente che i valori di queste impostazioni degli attributi di sistema possono essere personalizzati
in Impostazioni. Il campo Documentazione ti consente di fornire un link alla documentazione esterna della versione.
Salta gli altri attributi e fai clic su Crea.
Hai creato e collegato una versione a una risorsa API.
Visualizzare i dettagli della versione
Dopo aver creato una versione, puoi visualizzarne i dettagli.
Nella console Google Cloud, vai alla pagina API in API Hub.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 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)"]]