Return links to the top-level resources and operations in this API.
/
Usage and SDK Samples
curl --insecure -X GET `
-H "Accept: application/hal+json" `
"https://127.0.0.1:8081/api/"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AClusterApi;
import java.io.File;
import java.util.*;
public class AClusterApiExample {
public static void main(String[] args) {
// Create an instance of the API class
AClusterApi apiInstance = new AClusterApi();
try {
inline_response_200 result = apiInstance.01Root();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AClusterApi#01Root");
e.printStackTrace();
}
}
}
import org.openapitools.client.api.AClusterApi;
public class AClusterApiExample {
public static void main(String[] args) {
AClusterApi apiInstance = new AClusterApi();
try {
inline_response_200 result = apiInstance.01Root();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AClusterApi#01Root");
e.printStackTrace();
}
}
}
// Create an instance of the API class
AClusterApi *apiInstance = [[AClusterApi alloc] init];
// Home
[apiInstance 01RootWithCompletionHandler:
^(inline_response_200 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ElecardCodecWorksApi = require('elecard_codec_works_api');
// Create an instance of the API class
var api = new ElecardCodecWorksApi.AClusterApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.01Root(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class 01RootExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new AClusterApi();
try {
// Home
inline_response_200 result = apiInstance.01Root();
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling AClusterApi.01Root: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AClusterApi();
try {
$result = $api_instance->01Root();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AClusterApi->01Root: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AClusterApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AClusterApi->new();
eval {
my $result = $api_instance->01Root();
print Dumper($result);
};
if ($@) {
warn "Exception when calling AClusterApi->01Root: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = openapi_client.AClusterApi()
try:
# Home
api_response = api_instance.01_root()
pprint(api_response)
except ApiException as e:
print("Exception when calling AClusterApi->01Root: %s\n" % e)
extern crate AClusterApi;
pub fn main() {
let mut context = AClusterApi::Context::default();
let result = client.01Root(&context).wait();
println!("{:?}", result);
}