Hi, my name is Ashish. And in this video we will see how to import and publish an API in Azure API Management instance. You remember, we created an Azure API Management instance in the last video. Now we will see how to import and publish an API in that. So let me just quickly log on to the portal in the form there. I am logged on to the Azure portal, I'm in my test assert API Management Services.
In this video, we will see how to import an open API specification residing at the demo portal. Once the backend API is important into API Management, portal, which is API M. ap, the API Management becomes a packet for the back end API. So the prerequisite as you know that you have the API Management instance created, so we are at the API Management screen and you will select the API's under the API Management option on the left hand side and you will They're going to come up and you select Open API here, add a new API, you select Open API, click on it, click on full. You see the other options here as well. So in the open, we will set the values, the API values during the creation or later by go to the Settings tab. Now if you will see the open API specification here, we will add the values here for the open API specification.
So in the first day, you are l would be it's HTTPS. It's already written. Knowledge nest. Yes. colon slash slash conference API. God as your website's got net No problem.
We'll see how it can do it. Format equal to JSON. Display Name. Display main would be demo. Conference API. name would be demo conference API description.
It depends upon you optional. You can use it anything URL scheme, you're going to go with HTTPS. API URLs fix I'm going to mention as conference. This would be my base URL, this suffix is appended to the base URL for the API Management Service. API Management distinguishes API's by the suffix and therefore, the suffix must be unique for every API for a given publisher. products.
Not gonna go with tags for ducks. not creating it would be unlimited. Here version, this API for more information, we're not going to use usage with the product, you can do it from the settings page, click on query, you will not create option if I called down. I'm going to do it again. I come back and pause the video. And you click on Create.
We'll take it sweet. It's sweet time. Let's see how it goes. I'm going to pause the video and come back. As soon as it is done. This is how it looks.
The front end the inbound processing your back end See here, a few will click on test, please select an operation. I'm going to click on Get speakers record here. We're gonna send Select the operation you get the automatically created, you see? replies, okay. See that by default features are enabled in the back end API. So operations can be called directly from the Azure portal, which provides a convenient way.
So you have to just select the VPN that you created, click on the test app. And then you have to click on Get speakers, the page displays field for query parameters, you click on Send, and the back end response with 200. Okay, and some data. So these are the, this is the data that the packet backend responded to the base URL that you typed. So this is the data. And if you would see the change log, the changes is the history of changes you have deployed to your production API.
They are shown on the developer portal as well. So this is how we imported the first API into the Azure API management services. We tested it and I hope you guys like this video. If you have time, please join me in the next lecture. Thank you Have a good day.