This topic describes how to view, clone, delete, and move an API.

View an API

  1. On the Service Development page, click the business process to which the API that you want to manage belongs.
  2. Right-click the API that you want to manage and select View Details.
    View Details
    Note The View Details option appears only in the shortcut menu of an API that has been published. If an API has not been published, double-click the API to go to the configuration tab of the API. Then, click Properties in the right-side navigation pane to view its basic information.

Clone an API

You can clone an API to a specified folder in the directory tree.

  1. On the Service Development page, click the business process to which the API that you want to manage belongs.
  2. Right-click the API that you want to clone and select Clone.
  3. In the Clone API dialog box, configure the parameters.
    Clone API dialog box
    ParameterDescription
    API NameThe name of the cloned API. The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (_). It must start with a letter.
    API PathThe path of the cloned API. Example: /user.

    The path can be up to 200 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a forward slash (/).

    Destination FolderThe folder in which the cloned API is stored.
  4. Click Determine.

Delete an API

You can delete only APIs that have not been published. To delete APIs that have been published, you must unpublish them first.

  1. Unpublish the API that you want to delete.
    If the API that you want to delete is in the Unpublished state, skip this step.
    1. On the Service Development page, click Service Management in the upper-right corner. The Manage APIs page appears by default.
      Service Management tab
    2. On the APIs of Published tab, find the API that you want to delete and click Unpublish in the Actions column.
    3. In the Unpublish API message, click OK.
    4. Click Service Development in the upper-right corner to return to the Service Development page.
  2. On the Service Development page, click the business process to which the API that you want to manage belongs.
  3. Right-click the API that you want to delete and select Delete.
  4. In the Delete API message, click Determine.
    Note Deleted APIs cannot be recovered. Exercise caution when you delete an API.

Move an API to another folder

You can move only APIs that have not been published. To move APIs that have been published, you must unpublish them first.

  1. Unpublish the API that you want to delete.
    If the API that you want to delete is in the Unpublished state, skip this step.
    1. On the Service Development page, click Service Management in the upper-right corner. The Manage APIs page appears by default.
      Service Management tab
    2. On the APIs of Published tab, find the API that you want to delete and click Unpublish in the Actions column.
    3. In the Unpublish API message, click OK.
    4. Click Service Development in the upper-right corner to return to the Service Development page.
  2. On the Service Development page, click the business process to which the API that you want to manage belongs.
  3. Right-click the API that you want to move to another folder and select Mobile.
  4. In the Modify file path dialog box, set the Destination Folder parameter.
  5. Click OK.
    Important After you move an API, the group to which the API belongs may change. The endpoint for calling this API after it is published may also change. Exercise caution when you move an API to another folder.