Configuration Endpoint

Get

This method returns a GeminiConfiguration object.

Get/api/admin/configuration

It returns a GeminiConfiguration object.

Microsoft.NET example:

Countersoft.Gemini.Commons.GeminiConfiguration config = serviceManager.Admin.GetConfiguration();

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/admin/configuration;
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    type: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});