Create a new version of an existing API definition.
Before you begin
You are an owner of the API or an editor of at least
one version of the API.
Procedure
-
On the homepage, go to the API for which you want to create a
new version.
You can filter the list by name or owner if needed.
-
Click the
button next to the version that
you want to copy and click Create a new version from
<version>
.
-
Enter the new version in the Version field.
- Optional:
Clear the Copy sharing settings check box to reset the
sharing settings.
By default, if the source version is shared with other users or groups, the same
settings are copied to the new version. If you clear this check box, the new version
will inherit the sharing settings at the API level. For more information, see
Sharing a specific version of an API.
- Optional:
Edit your GitHub settings.
By default, if the source version is linked to GitHub, the same settings
are copied to the new version. You can change the branch and the path, or you
can clear the
Copy GitHub settings check
box to disable the GitHub integration for the new version. You can then enable
and configure it as needed. For more information, see
Pushing an API version to GitHub.
-
Click Create.
Results
A new version of your API is created with
the same content as the source version. The mock and documentation are disabled by
default.