configTest
/assets/assets/testConfig
Usage and SDK Samples
curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//assets/assets/testConfig"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetRESTApi;
import java.io.File;
import java.util.*;
public class AssetRESTApiExample {
public static void main(String[] args) {
AssetRESTApi apiInstance = new AssetRESTApi();
VXAsset body = ; // VXAsset |
try {
VXResponse result = apiInstance.configTest(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AssetRESTApi#configTest");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AssetRESTApi;
public class AssetRESTApiExample {
public static void main(String[] args) {
AssetRESTApi apiInstance = new AssetRESTApi();
VXAsset body = ; // VXAsset |
try {
VXResponse result = apiInstance.configTest(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AssetRESTApi#configTest");
e.printStackTrace();
}
}
}
VXAsset *body = ; // (optional)
AssetRESTApi *apiInstance = [[AssetRESTApi alloc] init];
[apiInstance configTestWith:body
completionHandler: ^(VXResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var RangerRestApi = require('ranger_rest_api');
var api = new RangerRestApi.AssetRESTApi()
var opts = {
'body': // {{VXAsset}}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.configTest(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class configTestExample
{
public void main()
{
var apiInstance = new AssetRESTApi();
var body = new VXAsset(); // VXAsset | (optional)
try
{
VXResponse result = apiInstance.configTest(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AssetRESTApi.configTest: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiAssetRESTApi();
$body = ; // VXAsset |
try {
$result = $api_instance->configTest($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AssetRESTApi->configTest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AssetRESTApi;
my $api_instance = WWW::SwaggerClient::AssetRESTApi->new();
my $body = WWW::SwaggerClient::Object::VXAsset->new(); # VXAsset |
eval {
my $result = $api_instance->configTest(body => $body);
print Dumper($result);
};
if ($@) {
warn "Exception when calling AssetRESTApi->configTest: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.AssetRESTApi()
body = # VXAsset | (optional)
try:
api_response = api_instance.config_test(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling AssetRESTApi->configTest: %s\n" % e)
Parameters
Name | Description |
---|---|
body |