Enable versioning for a scripted REST API
On this page
Enable versioning for a scripted REST API
Enable versioning for a scripted REST API to provide multiple versions of the API while maintaining compatibility with existing integrations.
Before you begin
There must be a scripted REST API defined before you can enable versioning.
Role required: web_service_admin
Procedure
-
Navigate to All > System Web Services > Scripted REST APIs.
-
Select a scripted REST API.
-
Under Related Links, click Enable versioning.
The Enable versioning pop up appears. The Make version v1 default check box is selected by default.
-
Clear the Make version v1 default check box to enable versioning without a default version.
Versioned APIs without a default version are accessible only by using the version-specific URI. Make version v1 default, or select a different version as default after you enable versioning.
-
Click OK.
The Versioning embedded list is added to the Scripted REST Service form. You can add new versions or control which version is default from this list.
-
Add a version to a scripted REST API
Add a new version to a versioned scripted REST API to define new API behavior without impacting older versions.
Parent Topic:Create a scripted REST API
Keep exploring.
Find another answer, or bring this documentation into your own tools.