APIServerConfig Element - Author-it On-Premises - Author-it

Author-it Development Documentation

The APIServerConfig element is the root element in the APIServer.config file.

Attributes

  • Version - a required attribute that always has a value of 1.0

Child Elements

Example

Below is an example of the APIServerConfig element.

<APIServerConfig Version="1.0">

<Libraries>

<Library Alias="Sample1" Type="SqlServer" Server="SqlServer1" Database="Ait_Sample1" TrustedConnection="False" LoginID="ait1" Password="ait" />

<Library Alias="Sample2" Type="SqlServer" Server="SqlServer2" Database="Ait_Sample2" TrustedConnection="False" LoginID="ait2" Password="ait" />

</Libraries>

<TokenEncryption Key="123abcDEF_@@456;" />

<Endpoints>

<Endpoint Type="SOAP" Enabled="True" Secure="True" />

<Endpoint Type="JSON" Enabled="True" Secure="True" />

<Endpoint Type="ASP" Enabled="False" Secure="True" />

<Endpoint Type="TCP" Enabled="False" Secure="True" />

</Endpoints>

<RequiresApiToken />

</APIServerConfig>