This page applies to Apigee and Apigee hybrid.
This page shows you how to add a version to an API resource.
Before you begin
Before you do the steps in this quickstart, you need to do the steps in Register an API.
Add a version
You can think of a version as the state of an API at a point in time. Fundamentally, versions help you group and organize your APIs based on underlying sets of operations, deployments, and other attributes.To learn more, see Versions overview.
To add a version to your API resource:
- In the APIs page in API hub, locate and select the API resource you created in the previous quickstart to view its details page.
- In the API details page, under the Versions section, click Add Version to display
the Add a new version form.
In the form:
- Enter a name. You can use any name you wish. The name will appear in the user interface. Name is a required field.
- 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. The Documentation field lets you supply a link to external documentation for the version.
- Skip the remaining attributes, and click Create.
You have created and linked a version to an API resource.
View version details
After you create a version, you can view its details.
In the Google Cloud console, go to the APIs page in API hub.
Go to API hub- 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.
- Click the API name to view its details.
- In the Versions section, locate and select the version you wish to inspect.
- The version details page appears. To edit the version's attributes, click Edit version.