acmeDnsAuthenticatorAuthenticatorSchemasGet
Get the schemas for all DNS providers we support for ACME DNS Challenge and the respective attributes required for connecting to them while validating a DNS Challenge
/acme/dns/authenticator/authenticator_schemas
Usage and SDK Samples
curl -X GET -H "Authorization: Basic [[basicHash]]" "http://realmini.tn.ixsystems.com/api/v2.0/acme/dns/authenticator/authenticator_schemas"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AcmeDnsAuthenticatorApi;
import java.io.File;
import java.util.*;
public class AcmeDnsAuthenticatorApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
AcmeDnsAuthenticatorApi apiInstance = new AcmeDnsAuthenticatorApi();
try {
apiInstance.acmeDnsAuthenticatorAuthenticatorSchemasGet();
} catch (ApiException e) {
System.err.println("Exception when calling AcmeDnsAuthenticatorApi#acmeDnsAuthenticatorAuthenticatorSchemasGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AcmeDnsAuthenticatorApi;
public class AcmeDnsAuthenticatorApiExample {
public static void main(String[] args) {
AcmeDnsAuthenticatorApi apiInstance = new AcmeDnsAuthenticatorApi();
try {
apiInstance.acmeDnsAuthenticatorAuthenticatorSchemasGet();
} catch (ApiException e) {
System.err.println("Exception when calling AcmeDnsAuthenticatorApi#acmeDnsAuthenticatorAuthenticatorSchemasGet");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basic)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
AcmeDnsAuthenticatorApi *apiInstance = [[AcmeDnsAuthenticatorApi alloc] init];
[apiInstance acmeDnsAuthenticatorAuthenticatorSchemasGetWithCompletionHandler:
^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var TrueNasResTfulApi = require('true_nas_res_tful_api');
var defaultClient = TrueNasResTfulApi.ApiClient.instance;
// Configure HTTP basic authorization: basic
var basic = defaultClient.authentications['basic'];
basic.username = 'YOUR USERNAME'
basic.password = 'YOUR PASSWORD'
var api = new TrueNasResTfulApi.AcmeDnsAuthenticatorApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.acmeDnsAuthenticatorAuthenticatorSchemasGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class acmeDnsAuthenticatorAuthenticatorSchemasGetExample
{
public void main()
{
// Configure HTTP basic authorization: basic
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AcmeDnsAuthenticatorApi();
try
{
apiInstance.acmeDnsAuthenticatorAuthenticatorSchemasGet();
}
catch (Exception e)
{
Debug.Print("Exception when calling AcmeDnsAuthenticatorApi.acmeDnsAuthenticatorAuthenticatorSchemasGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Swagger\Client\Api\AcmeDnsAuthenticatorApi();
try {
$api_instance->acmeDnsAuthenticatorAuthenticatorSchemasGet();
} catch (Exception $e) {
echo 'Exception when calling AcmeDnsAuthenticatorApi->acmeDnsAuthenticatorAuthenticatorSchemasGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AcmeDnsAuthenticatorApi;
# Configure HTTP basic authorization: basic
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
my $api_instance = WWW::SwaggerClient::AcmeDnsAuthenticatorApi->new();
eval {
$api_instance->acmeDnsAuthenticatorAuthenticatorSchemasGet();
};
if ($@) {
warn "Exception when calling AcmeDnsAuthenticatorApi->acmeDnsAuthenticatorAuthenticatorSchemasGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.AcmeDnsAuthenticatorApi()
try:
api_instance.acme_dns_authenticator_authenticator_schemas_get()
except ApiException as e:
print("Exception when calling AcmeDnsAuthenticatorApi->acmeDnsAuthenticatorAuthenticatorSchemasGet: %s\n" % e)