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]]" "https://192.168.1.123/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();
}
}
}
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)