Enable versioning for a scripted REST API

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:1分
  • Enable versioning for a scripted REST API to provide multiple versions of the API while maintaining compatibility with existing integrations.

    始める前に

    There must be a scripted REST API defined before you can enable versioning.

    Role required: web_service_admin

    手順

    1. Navigate to All > System Web Services > Scripted REST APIs.
    2. Select a scripted REST API.
    3. Under Related Links, click Enable versioning.
      The Enable versioning pop up appears. The Make version v1 default check box is selected by default.
    4. オプション: 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.
    5. 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.