Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Esta página se aplica a Apigee y Apigee Hybrid.
En esta página, se muestra cómo agregar una versión a un recurso de API.
Antes de comenzar
Antes de seguir los pasos de esta guía de inicio rápido, debes seguir los pasos en Registra una API.
Agrega una versión
Puedes pensar en una versión como el estado de una API en un momento determinado. Fundamentalmente,
las versiones te ayudan a agrupar y organizar tus APIs en función de conjuntos de operaciones,
implementaciones y otros atributos subyacentes. Para obtener más información, consulta Descripción general de las versiones.
Para agregar una versión a tu recurso de API, haz lo siguiente:
En la página APIs en el concentrador de APIs, ubica y selecciona el recurso de API que creaste en la guía de inicio rápido anterior
para ver su página de detalles.
En la página Detalles de la API, en la sección Versiones, haz clic en Agregar versión para mostrar
el formulario Agregar una versión nueva.
En el formulario, haz lo siguiente:
Ingresa un nombre. Puedes usar cualquier nombre que desees. El nombre aparecerá en la interfaz de usuario. El nombre es
un campo obligatorio.
De manera opcional, agrega una descripción y realiza otras selecciones, como Ciclo de vida, Cumplimiento y Acreditación, si lo deseas. Ten en cuenta que los valores de estas opciones de configuración de atributos del sistema se pueden personalizar
en Configuración. El campo Documentación te permite proporcionar un vínculo a la
documentación externa de la versión.
Omite los atributos restantes y haz clic en Crear.
Creaste y vinculaste una versión a un recurso de API.
Ver detalles de la versión
Después de crear una versión, podrás ver sus detalles.
En la consola de Google Cloud, ve a la página APIs en el Concentrador de APIs.
Las versiones están vinculadas a los recursos de API, así que busca el recurso de API que deseas inspeccionar. Si no la ves,
escribe el nombre de la API en el filtro.
Haz clic en el nombre de la API para ver sus detalles.
En la sección Versiones, busca y selecciona la versión que deseas inspeccionar.
Aparecerá la página de detalles de la versión. Para editar los atributos de la versión, haz clic en Editar versión.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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)"]]