...
- Log in to the API Publisher.
- Click the Browse menu and selectSelect the API that you want to create a version of (e.g.,
PhoneVerification 1.0.0
). - The API opens. Click the Click Create New Version button that appears in its Overview tab.
Give a version number, check select the default version option and click Done.
Tip Tip: The Default Version option means that you make this version the default in a group of different versions of the API. A default API can be invoked without specifying the version number in the URL. For example, if you mark http://host:port/youtube/2.0 as the default version when the API has 1.0 and 3.0 versions as well, requests made to http://host:port/youtube/ get automatically routed to version 2.0.
If you mark any version of an API as the default, you get two API URLs are listed in its Overview page tab in the API Store. One URL is with the version and the other is without. You can invoke a default version using both URLs.
If you mark an unpublished API as the default, the previous default , published API will still be is used as the default until the new default API is published (or prototyped).
The All APIsThe APIs page opens. Click on the Edit icon of the new API version to open edit it.
- Click the Edit link next to the API's name.
- Do the required modifications to the API. For example, assuming that the POST method is redundant, let's delete it from the resource that we added to the API at the time it was created.
- Click Save once the edits are done.
...