GET api/Lookups/Configuration

Returns a set of configuration values suitable for client consumption

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ClientConfigurationModel
NameDescriptionTypeAdditional information
BaseUrl

Base URL for the Website (e.g. my.caringvillage.com)

string

None.

ApiUrl

Base URL for the API (e.g. api.caringvillage.com)

string

None.

GoogleSignInEnabled

Whether or not to allow the user to sign in with Google

boolean

None.

GoogleApiKey

Google API Key

string

None.

GoogleClientId

Google Client ID

string

None.

IntercomId

Intercom Client ID

string

None.

IntercomChat

Intercom Chat enabled?

IntercomChatMode

None.

OpenAIUrl

OpenAI API Endpoint URL

string

None.

OpenAIKey

OpenAI API Key

string

None.

AppleSignInEnabled

Whether or not to allow the user to sign in with Apple

boolean

None.

AppleClientId

Apple Client ID

string

None.

Response Formats

application/json, text/json

Sample:
{
  "BaseUrl": "sample string 1",
  "ApiUrl": "sample string 2",
  "GoogleSignInEnabled": true,
  "GoogleApiKey": "sample string 4",
  "GoogleClientId": "sample string 5",
  "IntercomId": "sample string 6",
  "IntercomChat": 0,
  "OpenAIUrl": "sample string 7",
  "OpenAIKey": "sample string 8",
  "AppleSignInEnabled": true,
  "AppleClientId": "sample string 10"
}

application/xml, text/xml

Sample:
<ClientConfigurationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <ApiUrl>sample string 2</ApiUrl>
  <AppleClientId>sample string 10</AppleClientId>
  <AppleSignInEnabled>true</AppleSignInEnabled>
  <BaseUrl>sample string 1</BaseUrl>
  <GoogleApiKey>sample string 4</GoogleApiKey>
  <GoogleClientId>sample string 5</GoogleClientId>
  <GoogleSignInEnabled>true</GoogleSignInEnabled>
  <IntercomChat>Off</IntercomChat>
  <IntercomId>sample string 6</IntercomId>
  <OpenAIKey>sample string 8</OpenAIKey>
  <OpenAIUrl>sample string 7</OpenAIUrl>
</ClientConfigurationModel>