You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/api-management-get-started-publish-versions.md
+24-15Lines changed: 24 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: Tutorial - Publish versions of an API using Azure API Management
2
+
title: "Tutorial: Publish Multiple Versions of your API"
3
3
description: Learn how to publish multiple API versions in API Management.
4
4
author: dlepow
5
5
6
6
ms.service: azure-api-management
7
7
ms.custom: mvc, devx-track-azurecli
8
8
ms.topic: tutorial
9
-
ms.date: 03/26/2025
9
+
ms.date: 03/04/2026
10
10
ms.author: danlep
11
11
12
12
#customer intent: As a developer, I want to publish multiple versions of an API so that all callers to the API don't need to use the same version.
@@ -18,7 +18,7 @@ ms.author: danlep
18
18
19
19
There are situations where it's impractical for all API consumers to use the same version. When consumers are ready to upgrade to a newer version, they prefer a simple and understandable approach. As demonstrated in this tutorial, Azure API Management supports exposing multiple API versions to meet this need.
20
20
21
-
For background, see [Versions](api-management-versions.md) and [Revisions](api-management-revisions.md).
21
+
For background information, see [Versions](api-management-versions.md) and [Revisions](api-management-revisions.md).
@@ -34,17 +34,19 @@ In this tutorial, you learn how to:
34
34
35
35
## Prerequisites
36
36
37
-
+ Learn [Azure API Management terminology](api-management-terminology.md).
37
+
+ Learn [Azure API Management terminology](api-management-terminology.md).
38
38
+ Complete the quickstart [Create an Azure API Management instance](get-started-create-service-instance.md).
39
39
+ Complete the tutorial [Import and publish your first API](import-and-publish.md).
40
40
41
41
## Add a new version
42
42
43
43
1. In the [Azure portal](https://portal.azure.com), navigate to your API Management instance.
44
-
1. In the left menu, in the **APIs** section, select **APIs**.
44
+
45
+
1. Under **APIs** in the sidebar menu, select **APIs**.
46
+
45
47
1. Locate **Swagger Petstore - OpenAPI 3.0** in the API list. Select the ellipsis (**...**) next to **Swagger Petstore - OpenAPI 3.0** and then select **Add version**. You'll add values to the resulting window in the next section.
46
48
47
-
:::image type="content" source="media/api-management-get-started-publish-versions/add-version-menu.png" alt-text="Screenshot showing the steps for adding a version." lightbox="media/api-management-get-started-publish-versions/add-version-menu.png":::
49
+
:::image type="content" source="media/api-management-get-started-publish-versions/add-version-menu.png" alt-text="Screenshot showing the steps to add a version." lightbox="media/api-management-get-started-publish-versions/add-version-menu.png":::
48
50
49
51
> [!TIP]
50
52
> You can also enable versions when you create a new API. On the **Add API** screen, select **Version this API?**.
@@ -82,13 +84,18 @@ For callers to see the new version, it must be added to a *product*. If you didn
82
84
To add the version to a product:
83
85
84
86
1. In the Azure portal, navigate to your API Management instance.
85
-
1. Under **APIs** in the left pane, select **Products**.
86
-
1. Select the product, and then select **APIs** in the left pane.
87
+
88
+
1. Under **APIs** in the sidebar menu, select **Products**.
89
+
90
+
1. Select the product, and then select **APIs**.
91
+
87
92
1. Select **+ Add**.
93
+
88
94
1. Select the API.
89
-
1. Click **Select**.
90
95
91
-
:::image type="content" source="media/api-management-get-started-publish-versions/08-add-multiple-versions-03-add-version-product.png" alt-text="Screenshot that shows the APIs - Product window." lightbox="media/api-management-get-started-publish-versions/08-add-multiple-versions-03-add-version-product.png":::
96
+
1. Choose **Select**.
97
+
98
+
:::image type="content" source="media/api-management-get-started-publish-versions/08-add-multiple-versions-03-add-version-product.png" alt-text="Screenshot that shows the APIs Product window." lightbox="media/api-management-get-started-publish-versions/08-add-multiple-versions-03-add-version-product.png":::
92
99
93
100
## Use version sets
94
101
@@ -102,7 +109,7 @@ To see all your version sets, run the [az apim api versionset list](/cli/azure/a
102
109
103
110
```azurecli
104
111
az apim api versionset list --resource-group <resource-group-name> \
When the Azure portal creates a version set for you, it assigns an alphanumeric name, which appears in the **Name** column of the list. Use this name in other Azure CLI commands.
@@ -111,7 +118,7 @@ To see details about a version set, run the [az apim api versionset show](/cli/a
111
118
112
119
```azurecli
113
120
az apim api versionset show --resource-group <resource-group-name> \
114
-
--service-name <API-Management-service-name> --version-set-id <IDfromthe Name column>
0 commit comments