-
Configuration *apiConfig = [Configuration sharedConfig];
-String *guid = guid_example; // filter for specified guid (optional)
+ String *filter = filter_example; // filter handles by text (optional)
AccountApi *apiInstance = [[AccountApi alloc] init];
-[apiInstance getAccountListingWith:guid
+[apiInstance getAccountListingWith:filter
completionHandler: ^(array[Profile] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -3798,12 +4285,10 @@ AccountApi *apiInstance = [[AccountApi alloc] init];
var DataBag = require('data_bag');
-var defaultClient = DataBag.ApiClient.instance;
-
var api = new DataBag.AccountApi()
var opts = {
- 'guid': guid_example // {{String}} filter for specified guid
+ 'filter': filter_example // {{String}} filter handles by text
};
var callback = function(error, data, response) {
if (error) {
@@ -3833,13 +4318,12 @@ namespace Example
public void main()
{
-
var apiInstance = new AccountApi();
- var guid = guid_example; // String | filter for specified guid (optional)
+ var filter = filter_example; // String | filter handles by text (optional)
try
{
- array[Profile] result = apiInstance.getAccountListing(guid);
+ array[Profile] result = apiInstance.getAccountListing(filter);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -3856,12 +4340,11 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-
$api_instance = new Swagger\Client\ApiAccountApi();
-$guid = guid_example; // String | filter for specified guid
+$filter = filter_example; // String | filter handles by text
try {
- $result = $api_instance->getAccountListing($guid);
+ $result = $api_instance->getAccountListing($filter);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->getAccountListing: ', $e->getMessage(), PHP_EOL;
@@ -3874,12 +4357,11 @@ try {
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;
-
my $api_instance = WWW::SwaggerClient::AccountApi->new();
-my $guid = guid_example; # String | filter for specified guid
+my $filter = filter_example; # String | filter handles by text
eval {
- my $result = $api_instance->getAccountListing(guid => $guid);
+ my $result = $api_instance->getAccountListing(filter => $filter);
print Dumper($result);
};
if ($@) {
@@ -3894,13 +4376,12 @@ import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
-
# create an instance of the API class
api_instance = swagger_client.AccountApi()
-guid = guid_example # String | filter for specified guid (optional)
+filter = filter_example # String | filter handles by text (optional)
try:
- api_response = api_instance.get_account_listing(guid=guid)
+ api_response = api_instance.get_account_listing(filter=filter)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->getAccountListing: %s\n" % e)
@@ -3919,11 +4400,11 @@ except ApiException as e:
Name
Description
- guid
+ filter
-
+
@@ -3931,7 +4412,7 @@ except ApiException as e:
- filter for specified guid
+ filter handles by text
@@ -3955,20 +4436,7 @@ except ApiException as e:
+
+
+
+
+
+ Status: 401 - permission denied
+
+
+
+
+
+
+ Status: 500 - internal server error
+
+
+
+
+
+
+
+
+
+
+
+
+
getAccountListingMessage
+
+
+
+
+
+ Get profile message of searchable account. Endpoint is publically accessible.
+
+
+ /account/listing/{guid}/message
+
+
Usage and SDK Samples
+
+
+
+
+
+
curl -X GET\
+-H "Accept: application/json"\
+"//account/listing/{guid}/message"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.AccountApi;
+
+import java.io.File;
+import java.util.*;
+
+public class AccountApiExample {
+
+ public static void main(String[] args) {
+
+ AccountApi apiInstance = new AccountApi();
+ String guid = guid_example; // String | filter for specified guid
+ try {
+ DataMessage result = apiInstance.getAccountListingMessage(guid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling AccountApi#getAccountListingMessage");
+ e.printStackTrace();
+ }
}
+}
+
+
+
+
import io.swagger.client.api.AccountApi;
+
+public class AccountApiExample {
+
+ public static void main(String[] args) {
+ AccountApi apiInstance = new AccountApi();
+ String guid = guid_example; // String | filter for specified guid
+ try {
+ DataMessage result = apiInstance.getAccountListingMessage(guid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling AccountApi#getAccountListingMessage");
+ e.printStackTrace();
+ }
+ }
+}
+
+
+
+
String *guid = guid_example; // filter for specified guid
+
+AccountApi *apiInstance = [[AccountApi alloc] init];
+
+[apiInstance getAccountListingMessageWith:guid
+ completionHandler: ^(DataMessage output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+
+
+
+
var DataBag = require('data_bag');
+
+var api = new DataBag.AccountApi()
+var guid = guid_example; // {{String}} filter for specified guid
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
}
};
+api.getAccountListingMessage(guid, callback);
+
+
+
+
+
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getAccountListingMessageExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new AccountApi();
+ var guid = guid_example; // String | filter for specified guid
+
+ try
+ {
+ DataMessage result = apiInstance.getAccountListingMessage(guid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling AccountApi.getAccountListingMessage: " + e.Message );
+ }
+ }
+ }
+}
+
+
+
+
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiAccountApi();
+$guid = guid_example; // String | filter for specified guid
+
+try {
+ $result = $api_instance->getAccountListingMessage($guid);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling AccountApi->getAccountListingMessage: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+
+
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::AccountApi;
+
+my $api_instance = WWW::SwaggerClient::AccountApi->new();
+my $guid = guid_example; # String | filter for specified guid
+
+eval {
+ my $result = $api_instance->getAccountListingMessage(guid => $guid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling AccountApi->getAccountListingMessage: $@\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.AccountApi()
+guid = guid_example # String | filter for specified guid
+
+try:
+ api_response = api_instance.get_account_listing_message(guid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling AccountApi->getAccountListingMessage: %s\n" % e)
+
+
+
+ Parameters
+
+ Path parameters
+
+
+ Name
+ Description
+
+ guid*
+
+
+
+
+
+
+
+ String
+
+
+
+ filter for specified guid
+
+
+
+ Required
+
+
+
+
+
+
+
+
+
+
+
+ Responses
+ Status: 200 - success
+
+
+
+
- Status: 401 - authentication error
+ Status: 401 - permission denied
@@ -4343,9 +5113,8 @@ except ApiException as e:
curl -X GET\
- -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/json"\
-"//account/status"
+"//account/status?agent="
import io.swagger.client.*;
@@ -4359,15 +5128,11 @@ import java.util.*;
public class AccountApiExample {
public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- // Configure HTTP basic authorization: basicAuth
- HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
- basicAuth.setUsername("YOUR USERNAME");
- basicAuth.setPassword("YOUR PASSWORD");
-
+
AccountApi apiInstance = new AccountApi();
+ String agent = agent_example; // String | agent token
try {
- AccountStatus result = apiInstance.getAccountStatus();
+ AccountStatus result = apiInstance.getAccountStatus(agent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#getAccountStatus");
@@ -4384,8 +5149,9 @@ public class AccountApiExample {
public static void main(String[] args) {
AccountApi apiInstance = new AccountApi();
+ String agent = agent_example; // String | agent token
try {
- AccountStatus result = apiInstance.getAccountStatus();
+ AccountStatus result = apiInstance.getAccountStatus(agent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#getAccountStatus");
@@ -4399,15 +5165,12 @@ public class AccountApiExample {
Coming Soon!
-->
-
Configuration *apiConfig = [Configuration sharedConfig];
-// Configure HTTP basic authorization (authentication scheme: basicAuth)
-[apiConfig setUsername:@"YOUR_USERNAME"];
-[apiConfig setPassword:@"YOUR_PASSWORD"];
+ String *agent = agent_example; // agent token (optional)
AccountApi *apiInstance = [[AccountApi alloc] init];
-[apiInstance getAccountStatusWithCompletionHandler:
- ^(AccountStatus output, NSError* error) {
+[apiInstance getAccountStatusWith:agent
+ completionHandler: ^(AccountStatus output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -4420,13 +5183,11 @@ AccountApi *apiInstance = [[AccountApi alloc] init];
var DataBag = require('data_bag');
-var defaultClient = DataBag.ApiClient.instance;
-// Configure HTTP basic authorization: basicAuth
-var basicAuth = defaultClient.authentications['basicAuth'];
-basicAuth.username = 'YOUR USERNAME'
-basicAuth.password = 'YOUR PASSWORD'
var api = new DataBag.AccountApi()
+var opts = {
+ 'agent': agent_example // {{String}} agent token
+};
var callback = function(error, data, response) {
if (error) {
console.error(error);
@@ -4434,7 +5195,7 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getAccountStatus(callback);
+api.getAccountStatus(opts, callback);
@@ -4454,15 +5215,13 @@ namespace Example
{
public void main()
{
- // Configure HTTP basic authorization: basicAuth
- Configuration.Default.Username = "YOUR_USERNAME";
- Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
+ var agent = agent_example; // String | agent token (optional)
try
{
- AccountStatus result = apiInstance.getAccountStatus();
+ AccountStatus result = apiInstance.getAccountStatus(agent);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -4478,14 +5237,12 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-// Configure HTTP basic authorization: basicAuth
-Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
-Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Swagger\Client\ApiAccountApi();
+$agent = agent_example; // String | agent token
try {
- $result = $api_instance->getAccountStatus();
+ $result = $api_instance->getAccountStatus($agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->getAccountStatus: ', $e->getMessage(), PHP_EOL;
@@ -4497,14 +5254,12 @@ try {
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;
-# Configure HTTP basic authorization: basicAuth
-$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
-$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
my $api_instance = WWW::SwaggerClient::AccountApi->new();
+my $agent = agent_example; # String | agent token
eval {
- my $result = $api_instance->getAccountStatus();
+ my $result = $api_instance->getAccountStatus(agent => $agent);
print Dumper($result);
};
if ($@) {
@@ -4518,15 +5273,13 @@ import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
-# Configure HTTP basic authorization: basicAuth
-swagger_client.configuration.username = 'YOUR_USERNAME'
-swagger_client.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.AccountApi()
+agent = agent_example # String | agent token (optional)
try:
- api_response = api_instance.get_account_status()
+ api_response = api_instance.get_account_status(agent=agent)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->getAccountStatus: %s\n" % e)
@@ -4539,6 +5292,32 @@ except ApiException as e:
+ Query parameters
+
+
+ Name
+ Description
+
+ agent
+
+
+
+
+
+
+
+ String
+
+
+
+ agent token
+
+
+
+
+
+
+
Responses
Status: 200 - successful operation
@@ -4555,16 +5334,7 @@ except ApiException as e:
-
-
-
-
-
- Responses
- Status: 201 - generated
-
-
-
-
-
- Status: 401 - invalid token
-
-
-
-
-
-
- Status: 406 - app limit reached
-
-
-
-
-
-
- Status: 410 - account disabled
-
-
-
-
-
-
- Status: 500 - internal server error
-
-
-
-
-
-
-
-
-
@@ -6610,6 +7009,303 @@ except ApiException as e:
+
+
+
+
+
+
+ Reset account login credentials
+
+
+ /account/login
+
+
Usage and SDK Samples
+
+
+
+
+
+
curl -X PUT\
+ -H "Authorization: Basic [[basicHash]]"\
+-H "Accept: application/json"\
+"//account/login"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.AccountApi;
+
+import java.io.File;
+import java.util.*;
+
+public class AccountApiExample {
+
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ // Configure HTTP basic authorization: basicAuth
+ HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
+ basicAuth.setUsername("YOUR USERNAME");
+ basicAuth.setPassword("YOUR PASSWORD");
+
+ AccountApi apiInstance = new AccountApi();
+ try {
+ 'String' result = apiInstance.setAccountLogin();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling AccountApi#setAccountLogin");
+ e.printStackTrace();
+ }
+ }
+}
+
+
+
+
import io.swagger.client.api.AccountApi;
+
+public class AccountApiExample {
+
+ public static void main(String[] args) {
+ AccountApi apiInstance = new AccountApi();
+ try {
+ 'String' result = apiInstance.setAccountLogin();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling AccountApi#setAccountLogin");
+ e.printStackTrace();
+ }
+ }
+}
+
+
+
+
Configuration *apiConfig = [Configuration sharedConfig];
+// Configure HTTP basic authorization (authentication scheme: basicAuth)
+[apiConfig setUsername:@"YOUR_USERNAME"];
+[apiConfig setPassword:@"YOUR_PASSWORD"];
+
+AccountApi *apiInstance = [[AccountApi alloc] init];
+
+[apiInstance setAccountLoginWithCompletionHandler:
+ ^('String' output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+
+
+
+
var DataBag = require('data_bag');
+var defaultClient = DataBag.ApiClient.instance;
+// Configure HTTP basic authorization: basicAuth
+var basicAuth = defaultClient.authentications['basicAuth'];
+basicAuth.username = 'YOUR USERNAME'
+basicAuth.password = 'YOUR PASSWORD'
+
+var api = new DataBag.AccountApi()
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.setAccountLogin(callback);
+
+
+
+
+
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class setAccountLoginExample
+ {
+ public void main()
+ {
+ // Configure HTTP basic authorization: basicAuth
+ Configuration.Default.Username = "YOUR_USERNAME";
+ Configuration.Default.Password = "YOUR_PASSWORD";
+
+ var apiInstance = new AccountApi();
+
+ try
+ {
+ 'String' result = apiInstance.setAccountLogin();
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling AccountApi.setAccountLogin: " + e.Message );
+ }
+ }
+ }
+}
+
+
+
+
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+// Configure HTTP basic authorization: basicAuth
+Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
+Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
+
+$api_instance = new Swagger\Client\ApiAccountApi();
+
+try {
+ $result = $api_instance->setAccountLogin();
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling AccountApi->setAccountLogin: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+
+
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::AccountApi;
+# Configure HTTP basic authorization: basicAuth
+$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
+$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
+
+my $api_instance = WWW::SwaggerClient::AccountApi->new();
+
+eval {
+ my $result = $api_instance->setAccountLogin();
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling AccountApi->setAccountLogin: $@\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: basicAuth
+swagger_client.configuration.username = 'YOUR_USERNAME'
+swagger_client.configuration.password = 'YOUR_PASSWORD'
+
+# create an instance of the API class
+api_instance = swagger_client.AccountApi()
+
+try:
+ api_response = api_instance.set_account_login()
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling AccountApi->setAccountLogin: %s\n" % e)
+
+
+
+ Parameters
+
+
+
+
+
+
+ Responses
+ Status: 201 - success
+
+
+
+
+
+ Status: 401 - invalid password
+
+
+
+
+
+
+ Status: 404 - unknown portal
+
+
+
+
+
+
+ Status: 500 - internal server error
+
+
+
+
+
+
+
+
+
@@ -6952,9 +7648,8 @@ except ApiException as e:
curl -X PUT\
- -H "Authorization: Basic [[basicHash]]"\
-H "Content-Type: application/json"\
-"//account/searchable"
+"//account/searchable?agent="
import io.swagger.client.*;
@@ -6968,16 +7663,12 @@ import java.util.*;
public class AccountApiExample {
public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- // Configure HTTP basic authorization: basicAuth
- HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
- basicAuth.setUsername("YOUR USERNAME");
- basicAuth.setPassword("YOUR PASSWORD");
-
+
AccountApi apiInstance = new AccountApi();
Boolean body = ; // Boolean |
+ String agent = agent_example; // String | agent token
try {
- apiInstance.setAccountSeachable(body);
+ apiInstance.setAccountSeachable(body, agent);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#setAccountSeachable");
e.printStackTrace();
@@ -6994,8 +7685,9 @@ public class AccountApiExample {
public static void main(String[] args) {
AccountApi apiInstance = new AccountApi();
Boolean body = ; // Boolean |
+ String agent = agent_example; // String | agent token
try {
- apiInstance.setAccountSeachable(body);
+ apiInstance.setAccountSeachable(body, agent);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#setAccountSeachable");
e.printStackTrace();
@@ -7008,15 +7700,13 @@ public class AccountApiExample {
Coming Soon!
-->
-
Configuration *apiConfig = [Configuration sharedConfig];
-// Configure HTTP basic authorization (authentication scheme: basicAuth)
-[apiConfig setUsername:@"YOUR_USERNAME"];
-[apiConfig setPassword:@"YOUR_PASSWORD"];
-Boolean *body = ; // (optional)
+ Boolean *body = ; // (optional)
+String *agent = agent_example; // agent token (optional)
AccountApi *apiInstance = [[AccountApi alloc] init];
[apiInstance setAccountSeachableWith:body
+ agent:agent
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
@@ -7027,15 +7717,11 @@ AccountApi *apiInstance = [[AccountApi alloc] init];
var DataBag = require('data_bag');
-var defaultClient = DataBag.ApiClient.instance;
-// Configure HTTP basic authorization: basicAuth
-var basicAuth = defaultClient.authentications['basicAuth'];
-basicAuth.username = 'YOUR USERNAME'
-basicAuth.password = 'YOUR PASSWORD'
var api = new DataBag.AccountApi()
var opts = {
'body': // {{Boolean}}
+ 'agent': agent_example // {{String}} agent token
};
var callback = function(error, data, response) {
if (error) {
@@ -7064,16 +7750,14 @@ namespace Example
{
public void main()
{
- // Configure HTTP basic authorization: basicAuth
- Configuration.Default.Username = "YOUR_USERNAME";
- Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
var body = new Boolean(); // Boolean | (optional)
+ var agent = agent_example; // String | agent token (optional)
try
{
- apiInstance.setAccountSeachable(body);
+ apiInstance.setAccountSeachable(body, agent);
}
catch (Exception e)
{
@@ -7088,15 +7772,13 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-// Configure HTTP basic authorization: basicAuth
-Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
-Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // Boolean |
+$agent = agent_example; // String | agent token
try {
- $api_instance->setAccountSeachable($body);
+ $api_instance->setAccountSeachable($body, $agent);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->setAccountSeachable: ', $e->getMessage(), PHP_EOL;
}
@@ -7107,15 +7789,13 @@ try {
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;
-# Configure HTTP basic authorization: basicAuth
-$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
-$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::Boolean->new(); # Boolean |
+my $agent = agent_example; # String | agent token
eval {
- $api_instance->setAccountSeachable(body => $body);
+ $api_instance->setAccountSeachable(body => $body, agent => $agent);
};
if ($@) {
warn "Exception when calling AccountApi->setAccountSeachable: $@\n";
@@ -7128,16 +7808,14 @@ import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
-# Configure HTTP basic authorization: basicAuth
-swagger_client.configuration.username = 'YOUR_USERNAME'
-swagger_client.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.AccountApi()
body = # Boolean | (optional)
+agent = agent_example # String | agent token (optional)
try:
- api_instance.set_account_seachable(body=body)
+ api_instance.set_account_seachable(body=body, agent=agent)
except ApiException as e:
print("Exception when calling AccountApi->setAccountSeachable: %s\n" % e)
@@ -7191,6 +7869,32 @@ except ApiException as e:
+ Query parameters
+
+
+ Name
+ Description
+
+ agent
+
+
+
+
+
+
+
+ String
+
+
+
+ agent token
+
+
+
+
+
+
+
Responses
Status: 201 - success
@@ -7264,9 +7968,8 @@ except ApiException as e:
curl -X POST\
- -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/json"\
-"//admin/accounts"
+"//admin/accounts?token="
import io.swagger.client.*;
@@ -7280,15 +7983,11 @@ import java.util.*;
public class AdminApiExample {
public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- // Configure HTTP basic authorization: basicAuth
- HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
- basicAuth.setUsername("YOUR USERNAME");
- basicAuth.setPassword("YOUR PASSWORD");
-
+
AdminApi apiInstance = new AdminApi();
+ String token = token_example; // String | token for admin access
try {
- 'String' result = apiInstance.addNodeAccount();
+ 'String' result = apiInstance.addNodeAccount(token);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#addNodeAccount");
@@ -7305,8 +8004,9 @@ public class AdminApiExample {
public static void main(String[] args) {
AdminApi apiInstance = new AdminApi();
+ String token = token_example; // String | token for admin access
try {
- 'String' result = apiInstance.addNodeAccount();
+ 'String' result = apiInstance.addNodeAccount(token);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#addNodeAccount");
@@ -7320,15 +8020,12 @@ public class AdminApiExample {
Coming Soon!
-->
-
Configuration *apiConfig = [Configuration sharedConfig];
-// Configure HTTP basic authorization (authentication scheme: basicAuth)
-[apiConfig setUsername:@"YOUR_USERNAME"];
-[apiConfig setPassword:@"YOUR_PASSWORD"];
+ String *token = token_example; // token for admin access
AdminApi *apiInstance = [[AdminApi alloc] init];
-[apiInstance addNodeAccountWithCompletionHandler:
- ^('String' output, NSError* error) {
+[apiInstance addNodeAccountWith:token
+ completionHandler: ^('String' output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -7341,13 +8038,10 @@ AdminApi *apiInstance = [[AdminApi alloc] init];
var DataBag = require('data_bag');
-var defaultClient = DataBag.ApiClient.instance;
-// Configure HTTP basic authorization: basicAuth
-var basicAuth = defaultClient.authentications['basicAuth'];
-basicAuth.username = 'YOUR USERNAME'
-basicAuth.password = 'YOUR PASSWORD'
var api = new DataBag.AdminApi()
+var token = token_example; // {{String}} token for admin access
+
var callback = function(error, data, response) {
if (error) {
console.error(error);
@@ -7355,7 +8049,7 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.addNodeAccount(callback);
+api.addNodeAccount(token, callback);
@@ -7375,15 +8069,13 @@ namespace Example
{
public void main()
{
- // Configure HTTP basic authorization: basicAuth
- Configuration.Default.Username = "YOUR_USERNAME";
- Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AdminApi();
+ var token = token_example; // String | token for admin access
try
{
- 'String' result = apiInstance.addNodeAccount();
+ 'String' result = apiInstance.addNodeAccount(token);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -7399,14 +8091,12 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-// Configure HTTP basic authorization: basicAuth
-Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
-Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Swagger\Client\ApiAdminApi();
+$token = token_example; // String | token for admin access
try {
- $result = $api_instance->addNodeAccount();
+ $result = $api_instance->addNodeAccount($token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AdminApi->addNodeAccount: ', $e->getMessage(), PHP_EOL;
@@ -7418,14 +8108,12 @@ try {
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AdminApi;
-# Configure HTTP basic authorization: basicAuth
-$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
-$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
my $api_instance = WWW::SwaggerClient::AdminApi->new();
+my $token = token_example; # String | token for admin access
eval {
- my $result = $api_instance->addNodeAccount();
+ my $result = $api_instance->addNodeAccount(token => $token);
print Dumper($result);
};
if ($@) {
@@ -7439,15 +8127,13 @@ import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
-# Configure HTTP basic authorization: basicAuth
-swagger_client.configuration.username = 'YOUR_USERNAME'
-swagger_client.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.AdminApi()
+token = token_example # String | token for admin access
try:
- api_response = api_instance.add_node_account()
+ api_response = api_instance.add_node_account(token)
pprint(api_response)
except ApiException as e:
print("Exception when calling AdminApi->addNodeAccount: %s\n" % e)
@@ -7460,6 +8146,35 @@ except ApiException as e:
+ Query parameters
+
+
+ Name
+ Description
+
+ token*
+
+
+
+
+
+
+
+ String
+
+
+
+ token for admin access
+
+
+
+ Required
+
+
+
+
+
+
Responses
Status: 201 - success
@@ -7476,17 +8191,7 @@ except ApiException as e:
-
+
-
Status: 401 - invalid password
+
Status: 401 - invalid authentication
@@ -9661,7 +10368,7 @@ except ApiException as e:
-
Status: 404 - unknown portal
+
Status: 404 - account not found
@@ -9713,8 +10420,7 @@ except ApiException as e:
curl -X PUT\
- -H "Authorization: Basic [[basicHash]]"\
-"//admin/config"
+"//admin/config?token="
import io.swagger.client.*;
@@ -9728,15 +10434,11 @@ import java.util.*;
public class AdminApiExample {
public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- // Configure HTTP basic authorization: basicAuth
- HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
- basicAuth.setUsername("YOUR USERNAME");
- basicAuth.setPassword("YOUR PASSWORD");
-
+
AdminApi apiInstance = new AdminApi();
+ String token = token_example; // String | token for admin access
try {
- apiInstance.setNodeConfig();
+ apiInstance.setNodeConfig(token);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#setNodeConfig");
e.printStackTrace();
@@ -9752,8 +10454,9 @@ public class AdminApiExample {
public static void main(String[] args) {
AdminApi apiInstance = new AdminApi();
+ String token = token_example; // String | token for admin access
try {
- apiInstance.setNodeConfig();
+ apiInstance.setNodeConfig(token);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#setNodeConfig");
e.printStackTrace();
@@ -9766,15 +10469,12 @@ public class AdminApiExample {
Coming Soon!
-->
-
Configuration *apiConfig = [Configuration sharedConfig];
-// Configure HTTP basic authorization (authentication scheme: basicAuth)
-[apiConfig setUsername:@"YOUR_USERNAME"];
-[apiConfig setPassword:@"YOUR_PASSWORD"];
+ String *token = token_example; // token for admin access
AdminApi *apiInstance = [[AdminApi alloc] init];
-[apiInstance setNodeConfigWithCompletionHandler:
- ^(NSError* error) {
+[apiInstance setNodeConfigWith:token
+ completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
@@ -9784,13 +10484,10 @@ AdminApi *apiInstance = [[AdminApi alloc] init];
var DataBag = require('data_bag');
-var defaultClient = DataBag.ApiClient.instance;
-// Configure HTTP basic authorization: basicAuth
-var basicAuth = defaultClient.authentications['basicAuth'];
-basicAuth.username = 'YOUR USERNAME'
-basicAuth.password = 'YOUR PASSWORD'
var api = new DataBag.AdminApi()
+var token = token_example; // {{String}} token for admin access
+
var callback = function(error, data, response) {
if (error) {
console.error(error);
@@ -9798,7 +10495,7 @@ var callback = function(error, data, response) {
console.log('API called successfully.');
}
};
-api.setNodeConfig(callback);
+api.setNodeConfig(token, callback);
@@ -9818,15 +10515,13 @@ namespace Example
{
public void main()
{
- // Configure HTTP basic authorization: basicAuth
- Configuration.Default.Username = "YOUR_USERNAME";
- Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AdminApi();
+ var token = token_example; // String | token for admin access
try
{
- apiInstance.setNodeConfig();
+ apiInstance.setNodeConfig(token);
}
catch (Exception e)
{
@@ -9841,14 +10536,12 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-// Configure HTTP basic authorization: basicAuth
-Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
-Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Swagger\Client\ApiAdminApi();
+$token = token_example; // String | token for admin access
try {
- $api_instance->setNodeConfig();
+ $api_instance->setNodeConfig($token);
} catch (Exception $e) {
echo 'Exception when calling AdminApi->setNodeConfig: ', $e->getMessage(), PHP_EOL;
}
@@ -9859,14 +10552,12 @@ try {
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AdminApi;
-# Configure HTTP basic authorization: basicAuth
-$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
-$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
my $api_instance = WWW::SwaggerClient::AdminApi->new();
+my $token = token_example; # String | token for admin access
eval {
- $api_instance->setNodeConfig();
+ $api_instance->setNodeConfig(token => $token);
};
if ($@) {
warn "Exception when calling AdminApi->setNodeConfig: $@\n";
@@ -9879,15 +10570,13 @@ import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
-# Configure HTTP basic authorization: basicAuth
-swagger_client.configuration.username = 'YOUR_USERNAME'
-swagger_client.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.AdminApi()
+token = token_example # String | token for admin access
try:
- api_instance.set_node_config()
+ api_instance.set_node_config(token)
except ApiException as e:
print("Exception when calling AdminApi->setNodeConfig: %s\n" % e)
@@ -9899,6 +10588,35 @@ except ApiException as e:
+ Query parameters
+
+
+ Name
+ Description
+
+ token*
+
+
+
+
+
+
+
+ String
+
+
+
+ token for admin access
+
+
+
+ Required
+
+
+
+
+
+
Responses
Status: 200 - success
@@ -10250,10 +10968,9 @@ except ApiException as e:
curl -X POST\
- -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
-"//alias/groups"
+"//alias/groups?agent="
import io.swagger.client.*;
@@ -10267,13 +10984,12 @@ import java.util.*;
public class AliasApiExample {
public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
-
-
+
AliasApi apiInstance = new AliasApi();
Subject body = ; // Subject |
+ String agent = agent_example; // String | agent token
try {
- Group result = apiInstance.addGroup(body);
+ Group result = apiInstance.addGroup(body, agent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AliasApi#addGroup");
@@ -10291,8 +11007,9 @@ public class AliasApiExample {
public static void main(String[] args) {
AliasApi apiInstance = new AliasApi();
Subject body = ; // Subject |
+ String agent = agent_example; // String | agent token
try {
- Group result = apiInstance.addGroup(body);
+ Group result = apiInstance.addGroup(body, agent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AliasApi#addGroup");
@@ -10306,12 +11023,13 @@ public class AliasApiExample {
Coming Soon!
-->
-
Configuration *apiConfig = [Configuration sharedConfig];
-Subject *body = ; // (optional)
+ Subject *body = ; // (optional)
+String *agent = agent_example; // agent token (optional)
AliasApi *apiInstance = [[AliasApi alloc] init];
[apiInstance addGroupWith:body
+ agent:agent
completionHandler: ^(Group output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -10325,12 +11043,11 @@ AliasApi *apiInstance = [[AliasApi alloc] init];
var DataBag = require('data_bag');
-var defaultClient = DataBag.ApiClient.instance;
-
var api = new DataBag.AliasApi()
var opts = {
'body': // {{Subject}}
+ 'agent': agent_example // {{String}} agent token
};
var callback = function(error, data, response) {
if (error) {
@@ -10360,13 +11077,13 @@ namespace Example
public void main()
{
-
var apiInstance = new AliasApi();
var body = new Subject(); // Subject | (optional)
+ var agent = agent_example; // String | agent token (optional)
try
{
- Group result = apiInstance.addGroup(body);
+ Group result = apiInstance.addGroup(body, agent);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -10383,12 +11100,12 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-
$api_instance = new Swagger\Client\ApiAliasApi();
$body = ; // Subject |
+$agent = agent_example; // String | agent token
try {
- $result = $api_instance->addGroup($body);
+ $result = $api_instance->addGroup($body, $agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AliasApi->addGroup: ', $e->getMessage(), PHP_EOL;
@@ -10401,12 +11118,12 @@ try {
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AliasApi;
-
my $api_instance = WWW::SwaggerClient::AliasApi->new();
my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject |
+my $agent = agent_example; # String | agent token
eval {
- my $result = $api_instance->addGroup(body => $body);
+ my $result = $api_instance->addGroup(body => $body, agent => $agent);
print Dumper($result);
};
if ($@) {
@@ -10421,13 +11138,13 @@ import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
-
# create an instance of the API class
api_instance = swagger_client.AliasApi()
body = # Subject | (optional)
+agent = agent_example # String | agent token (optional)
try:
- api_response = api_instance.add_group(body=body)
+ api_response = api_instance.add_group(body=body, agent=agent)
pprint(api_response)
except ApiException as e:
print("Exception when calling AliasApi->addGroup: %s\n" % e)
@@ -10482,6 +11199,32 @@ except ApiException as e:
+ Query parameters
+
+
+ Name
+ Description
+
+ agent
+
+
+
+
+
+
+
+ String
+
+
+
+ agent token
+
+
+
+
+
+
+
Responses
Status: 200 - success
@@ -10498,16 +11241,7 @@ except ApiException as e:
+
+
+
+
+
+
Status: 401 - permission denied
+
+
+
+
+
+
+
Status: 404 - card not found
+
+
+
+
+
+
+
Status: 410 - account disabled
+
+
+
+
+
+
+
Status: 500 - internal server error
+
+
+
+
+
+
+
+
+
@@ -25334,18 +26822,7 @@ except ApiException as e: