Import an API for a server script

Prerequisites

For Planet 9 files: you must have previously exported a Planet 9 file of an API for a server script from the API Designer for the API Designer to recognize the Planet 9 file during import.

Procedure

  1. In the Cockpit, go to Connectivity and select API Designer.

  2. In the API Designer, select Add.

    Result: The API configuration dialog opens. You start in the General tab.

  3. In Type, select Server Script.

  4. Select Import and select Planet 9 File.

    Result: Your local editor opens.

  5. Go to the directory of the file, select the file, and select Open.

    Result: API Designer enters a name, operations, and definitions for the API. You still can add, change and delete settings that were made by the API Designer.

  6. Select Save.

Result

  • You have imported an API for a server script.