Azure API Management, versioning
Azure API Management allows for versioning. This can be intended in three ways:
- Versions and revisions
- Control over the API version scheme
- Git configuration
Versions and Revisions
Azure API management allows for versioning and revisioning. Versions are created from revisions. Each version can have more revisions. One revision for each version may be online at one time.
Control over scheme
When creation a version from a revision, it is possible to choose the versioning scheme that might fit better.
The options available are:
- Header
- Path
- Query String
Git Configuration
It is possible to configure API Management from GIT as described in (feature not available on consumption plan):
First, I stored the API configuration on GIT using the portal:
I then cloned the repository:
Configure the API From Git
I will try now to add some policies from by fiddling the configs.
I will add a reference to a global policy XML from inside the API global config:
I will edit the file and add some CORS policy:
I will push the new configuration:
From the portal I will deploy:
The new policy will be in place:
Summary
API management empowers developers to do more with less and at the same time providing them with tools they are familiar with