Configure decision data API for any environment
- Navigate to Settings > Decision Data API.
- Select the required environment.
- Specify a structured URL pattern for generating URLs used to retrieve decision data, for example,
https://do-decision-data.s3.amazonaws.com/club-data-{{inputs.club}}.json
- This indicates that the URL for fetching decision data is structured with a base URL ("https://do-decision-data.s3.amazonaws.com/") and a placeholder ("{ {inputs.club} }"), which is dynamically replaced with the value of the "club" input when the URL is used. This allows the system to fetch decision data specific to the club specified by the user or application.
- Click Authorization to provide essential security and access control mechanisms for retrieving decision data from the specified URL. Enter the following details:
- Realm - The authentication realm or domain to which the request is directed. It helps identify the security context or set of resources the user must authenticate against to access the decision data. For example, it might specify a particular server area where the decision data is stored, ensuring that the user is authorised to access that specific realm.
- Username - The unique identification credentials required for authentication purposes.
- Password - The authentication key or password associated with the provided username.
- Click Add a Header to include additional headers in the request to fetch decision data. Specify a title and corresponding value to include additional headers.
Once added, the header appears in the Your Templates section. - Click Save to save the configurations.