Links

Connect to Rest Swagger API

Learn Datasources: Rest Swagger API with Kuika.
You can use various data sources when developing applications with Kuika. One of the data sources you can use is the Rest Swagger API. You can quickly connect a Rest Swagger API you have as a data source to an application you have developed in Kuika.
This training content consists of the following topics:
  1. 1.
    Data Source Connection with Rest Swagger API

1. Data Source Connection with Rest Swagger API

To make a data source connection with the Rest Swagger API, go to the Datasources view mode in the project you are working on in Kuika.
 Datasources Ekranı
Screenshot of Datasources view mode
You can see datasources, actions and tables in the application you developed through the left menu in the datasources view mode, and you can add a new data source, a new action, and a new table.
“Create Datasource” Butonu
Datasources view mode Create Datasource button screenshot
+ icon opposite the Datasources heading to add a new data source to your application.
 Rest Swagger Seçimi Ekranı
Screenshot of Datasources view mode Rest Swagger API Selection
To add Rest Swagger API as a data source to the application you are developing, select and name Rest Swagger API as the Datasource type on the screen that opens. After completing the naming process, click the CREATE button.
Rest Swagger API Connection Ekranı
Rest Swagger API screenshot
Swagger URL information and Service Base URL on the screen that opens. enter your information.
Then select one of the authentication types No Auth, Kuika Auth and API Key in the drop-down menu titled Authentication Type.
Rest Swagger API Authentication Türü seçimi ekranı
Screenshot of Rest Swagger API Authentication Type selection
If you choose No Auth as the authentication type, you do not need to do any configuration.
If you choose Kuika Auth as the authentication type, you must add parameters.
Rest Swagger API Authentication Türü olarak Kuika Auth seçimi ekranı
Screenshot of Kuika Auth selection as Rest Swagger API Authentication Type
During the parameter-adding process, Kuika creates the value of the Username parameter for you by default. To add custom parameters, enter the parameter information as key and value pairs using the Custom option.
API Key as the authentication type, you must add some information.
Rest Swagger API Authentication Türü olarak API Key seçimi ekranı
Screenshot of API Key selection as Rest Swagger API Authentication Type
To use the API Key authentication type, enter the following information:
  • Client ID Key Name,
  • Client ID
  • Client Secret Key Name
  • Client Secret
After providing the information entry, add parameters. During the parameter-adding process, Kuika creates the value of the Username parameter for you by default. To add custom parameters, enter the parameter information as key and value pairs using the Custom option.
After providing the information entered for the verification type you have chosen, click the CREATE button to create the Datasources link.
Last modified 7mo ago