REST Datasource
This section details how to configure a REST datasource.
How to configure REST datasource
1. Log in to Horizon Administration Interface.
2. Access Datasources from the drawer or card: Datasources.
3. Click on .
4. Select REST Type
5. Fill in the mandatory fields.
Datasource specific configuration
General
-
Name* (string input):
Enter a meaningful datasource name, this setting will be the datasource identifier. It must be unique for each datasource. -
Description (string input):
Enter a description to describe this datasource usage.
REST Parameters
-
HTTP Method and URL*: (select & string input)
Choose the HTTP method and the destination URL for your notification. The URL is a template string and can contain keys for parametrization. -
Proxy: (select)
Define a proxy for this REST API call. -
Timeout* (finite duration):
Connection timeout when executing the REST API call. Must be a valid finite duration. -
Accepted response HTTP code* (multiselect | input):
Response codes meaning the REST call was a success. If another one is received, a failure will be logged. -
Authentication type and credentials* (select & select):
Choose the authentication type and the credentials to perform the authentication. Custom authentication allows the credentials values to be accessible in headers. -
Headers (input string & input string):
Choose the header name and value. Header values are template strings and can contain keys for parametrization. -
Body* (string input):
Enter the REST body. It is a template string and can contain keys for parametrization.