Get the Current Configuration Settings

Gets the current configuration settings.

Note: For more information about this command, including descriptions of any path and request parameters, request body schema, response codes and schemas, and payload examples, refer to the online API reference for this command at the following web page:

Get the current configuration settings

URI

https://bartendercloud.com/api/librarian/configuration

Note: The bartendercloud.com domain that is referenced in the URI and in the code example that follows must be replaced with the contents of the DataCenterURI claim that is extracted from your access token. For more information, refer to Extracting the DataCenterURI Claim.

Path Parameters

None.

Query Parameters

None.

Example

Copy
HttpClient client = new HttpClient();
HttpResponseMessage msg = await client.GetAsync("https://bartendercloud.com/api/librarian/configuration");

if (msg.IsSuccessStatusCode)
{
   var response = await msg.Content.ReadAsStringAsync();
   return JsonConvert.DeserializeObject<ConfigurationSettings>(response);
}