Enable versioning for a scripted REST API to provide multiple versions of the API
while maintaining compatibility with existing integrations.
Avant de commencer
There must be a scripted REST API defined before you can enable versioning.Role
required: web_service_admin
Procédure
-
Navigate to .
-
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.
- Facultatif :
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.