Importing an API Model into your Workspace
The APIs that are discovered from local and remote servers are displayed in the API Explorer tab of the TIBCO Business Studio. You can use these APIs in your project by importing them into the Service Descriptors folder of the project. The .json file for the API gets copied into the application module.
- Right-click on one or more API names in the API Explorer and select Import.
- Select the Import to project radio button to import the API into an existing project and browse to the project using the Browse button. To create a new project and import the API into that project select the Create a new project and import API to the new project radio button. This option walks you through the new project wizard, and after you go through the wizard will create a new project and import the API into its Service Descriptors folder.
- Select the API or the appropriate version of the API should there be multiple versions of the API available in the API list to import box.
You should see the API(s) under the Service Descriptors folder of the project. You can create sub-folders under the Service Descriptors folder and drag-and-drop APIs into them if you prefer to organize the APIs into a meaningful folder structure.
As an alternative to the above procedure, you can also drag and drop the API from the API Explorer into the project's Service Descriptors folder.