Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The API Connector plugin is a Process Tool used to select a template to consume data from an API. Builder allows app designer to use third party API service OAS document to make the integration easier by configuration through UI.  In the builder, app designer can just upload an OAS document and pick the API endpoints they want to use in app design/integration. Then, the created API connector can be use with following API connector plugins.
> API Connector Process Tool plugin
> API Connector Form Load plugin
> API Connector Form Store plugin
> API Connector Form Options plugin
> API Connector List Data plugin
> API Connector List Action plugin

Prerequisites 

  1. An OAS document from an API service provider. 
  2. An authenticator client such as an oauth2 client.
  3. Joget Enterprise/Community?Joget DX 8 Enterprise Edition.

How to install 

  1. Download the plugin JAR file from the Joget Marketplace. 
  2. Go to Settings > Manage Plugins > Upload Plugin. 
  3. Once uploaded, the plugin will be available in your Joget environment.

...

  1. In a new app or an existing app, navigate to the App Composer. 
  2. Under API Connector Builder, click the ADD NEW button to create a new API connector.

  3. Provide an IDName, and Description for the API connector, and click Save.

  4. For Select OAS document, upload the OAS document.

  5. Under API Server, for Select API Server, select the API server from the drop-down list.
  6. For Depending on the OAS document used, for region, select the SAP Subscription Billing Region from the drop-down list.
  7. Under Security, for Select Authentication method, select an authentication method from the drop-down list. In this example, it is oauth2.
  8. Configure the fields in the Authenticators section depending on the authentication method selected.

  9. Click the Design tab.
  10. In API Connector Builder, drag and drop an API request template to the canvas.

  11. Click the template to configure it. 
  12. Click SAVE.

...