Skip to content

Commit

Permalink
Update OpenAPI docs for GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
tip-automation committed Feb 20, 2024
1 parent 41eb4ec commit 46a5d59
Showing 1 changed file with 84 additions and 16 deletions.
100 changes: 84 additions & 16 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20170,7 +20170,7 @@ <h3>Usage and SDK Samples</h3>
-H "X-API-KEY: [[apiKey]]" \
-H "Authorization: Bearer [[accessToken]]" \
-H "Content-Type: application/json" \
"https://localhost:16001/api/v1/default_configuration/{name}" \
"https://localhost:16001/api/v1/default_configuration/{name}?deviceType=deviceType_example" \
-d '{
&quot;configuration&quot; : &quot;configuration&quot;,
&quot;modelIds&quot; : [ &quot;modelIds&quot;, &quot;modelIds&quot; ],
Expand Down Expand Up @@ -20207,10 +20207,11 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
ConfigurationsApi apiInstance = new ConfigurationsApi();
String name = name_example; // String |
String deviceType = deviceType_example; // String |
DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration |

try {
apiInstance.createDefaultConfiguration(name, defaultConfiguration);
apiInstance.createDefaultConfiguration(name, deviceType, defaultConfiguration);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigurationsApi#createDefaultConfiguration");
e.printStackTrace();
Expand All @@ -20227,10 +20228,11 @@ <h3>Usage and SDK Samples</h3>
public static void main(String[] args) {
ConfigurationsApi apiInstance = new ConfigurationsApi();
String name = name_example; // String |
String deviceType = deviceType_example; // String |
DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration |

try {
apiInstance.createDefaultConfiguration(name, defaultConfiguration);
apiInstance.createDefaultConfiguration(name, deviceType, defaultConfiguration);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigurationsApi#createDefaultConfiguration");
e.printStackTrace();
Expand All @@ -20256,10 +20258,12 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
ConfigurationsApi *apiInstance = [[ConfigurationsApi alloc] init];
String *name = name_example; // (default to null)
String *deviceType = deviceType_example; // (optional) (default to null)
DefaultConfiguration *defaultConfiguration = ; // (optional)

// Create a default configuration.
[apiInstance createDefaultConfigurationWith:name
deviceType:deviceType
defaultConfiguration:defaultConfiguration
completionHandler: ^(NSError* error) {
if (error) {
Expand Down Expand Up @@ -20287,6 +20291,7 @@ <h3>Usage and SDK Samples</h3>
var api = new UCentralGatewayApi.ConfigurationsApi()
var name = name_example; // {String}
var opts = {
'deviceType': deviceType_example, // {String}
'defaultConfiguration': // {DefaultConfiguration}
};

Expand Down Expand Up @@ -20327,11 +20332,12 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
var apiInstance = new ConfigurationsApi();
var name = name_example; // String | (default to null)
var deviceType = deviceType_example; // String | (optional) (default to null)
var defaultConfiguration = new DefaultConfiguration(); // DefaultConfiguration | (optional)

try {
// Create a default configuration.
apiInstance.createDefaultConfiguration(name, defaultConfiguration);
apiInstance.createDefaultConfiguration(name, deviceType, defaultConfiguration);
} catch (Exception e) {
Debug.Print("Exception when calling ConfigurationsApi.createDefaultConfiguration: " + e.Message );
}
Expand All @@ -20356,10 +20362,11 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ConfigurationsApi();
$name = name_example; // String |
$deviceType = deviceType_example; // String |
$defaultConfiguration = ; // DefaultConfiguration |

try {
$api_instance->createDefaultConfiguration($name, $defaultConfiguration);
$api_instance->createDefaultConfiguration($name, $deviceType, $defaultConfiguration);
} catch (Exception $e) {
echo 'Exception when calling ConfigurationsApi->createDefaultConfiguration: ', $e->getMessage(), PHP_EOL;
}
Expand All @@ -20382,10 +20389,11 @@ <h3>Usage and SDK Samples</h3>
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ConfigurationsApi->new();
my $name = name_example; # String |
my $deviceType = deviceType_example; # String |
my $defaultConfiguration = WWW::OPenAPIClient::Object::DefaultConfiguration->new(); # DefaultConfiguration |

eval {
$api_instance->createDefaultConfiguration(name => $name, defaultConfiguration => $defaultConfiguration);
$api_instance->createDefaultConfiguration(name => $name, deviceType => $deviceType, defaultConfiguration => $defaultConfiguration);
};
if ($@) {
warn "Exception when calling ConfigurationsApi->createDefaultConfiguration: $@\n";
Expand All @@ -20410,11 +20418,12 @@ <h3>Usage and SDK Samples</h3>
# Create an instance of the API class
api_instance = openapi_client.ConfigurationsApi()
name = name_example # String | (default to null)
deviceType = deviceType_example # String | (optional) (default to null)
defaultConfiguration = # DefaultConfiguration | (optional)

try:
# Create a default configuration.
api_instance.create_default_configuration(name, defaultConfiguration=defaultConfiguration)
api_instance.create_default_configuration(name, deviceType=deviceType, defaultConfiguration=defaultConfiguration)
except ApiException as e:
print("Exception when calling ConfigurationsApi->createDefaultConfiguration: %s\n" % e)</code></pre>
</div>
Expand All @@ -20424,10 +20433,11 @@ <h3>Usage and SDK Samples</h3>

pub fn main() {
let name = name_example; // String
let deviceType = deviceType_example; // String
let defaultConfiguration = ; // DefaultConfiguration

let mut context = ConfigurationsApi::Context::default();
let result = client.createDefaultConfiguration(name, defaultConfiguration, &context).wait();
let result = client.createDefaultConfiguration(name, deviceType, defaultConfiguration, &context).wait();

println!("{:?}", result);
}
Expand Down Expand Up @@ -20519,6 +20529,30 @@ <h2>Parameters</h2>
</table>


<div class="methodsubtabletitle">Query parameters</div>
<table id="methodsubtable">
<tr>
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">deviceType</td>
<td>


<div id="d2e199_createDefaultConfiguration_deviceType">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
String
</span>

</div>
</div>
</div>
</td>
</tr>

</table>

<h2>Responses</h2>
<h3 id="examples-Configurations-createDefaultConfiguration-title-200"></h3>
Expand Down Expand Up @@ -21860,7 +21894,7 @@ <h3>Usage and SDK Samples</h3>
-H "X-API-KEY: [[apiKey]]" \
-H "Authorization: Bearer [[accessToken]]" \
-H "Content-Type: application/json" \
"https://localhost:16001/api/v1/default_configuration/{name}" \
"https://localhost:16001/api/v1/default_configuration/{name}?deviceType=deviceType_example" \
-d '{
&quot;configuration&quot; : &quot;configuration&quot;,
&quot;modelIds&quot; : [ &quot;modelIds&quot;, &quot;modelIds&quot; ],
Expand Down Expand Up @@ -21897,10 +21931,11 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
ConfigurationsApi apiInstance = new ConfigurationsApi();
String name = name_example; // String |
String deviceType = deviceType_example; // String |
DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration |

try {
apiInstance.updateDefaultConfiguration(name, defaultConfiguration);
apiInstance.updateDefaultConfiguration(name, deviceType, defaultConfiguration);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigurationsApi#updateDefaultConfiguration");
e.printStackTrace();
Expand All @@ -21917,10 +21952,11 @@ <h3>Usage and SDK Samples</h3>
public static void main(String[] args) {
ConfigurationsApi apiInstance = new ConfigurationsApi();
String name = name_example; // String |
String deviceType = deviceType_example; // String |
DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration |

try {
apiInstance.updateDefaultConfiguration(name, defaultConfiguration);
apiInstance.updateDefaultConfiguration(name, deviceType, defaultConfiguration);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigurationsApi#updateDefaultConfiguration");
e.printStackTrace();
Expand All @@ -21946,10 +21982,12 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
ConfigurationsApi *apiInstance = [[ConfigurationsApi alloc] init];
String *name = name_example; // (default to null)
String *deviceType = deviceType_example; // (optional) (default to null)
DefaultConfiguration *defaultConfiguration = ; // (optional)

// Update a default configuration
[apiInstance updateDefaultConfigurationWith:name
deviceType:deviceType
defaultConfiguration:defaultConfiguration
completionHandler: ^(NSError* error) {
if (error) {
Expand Down Expand Up @@ -21977,6 +22015,7 @@ <h3>Usage and SDK Samples</h3>
var api = new UCentralGatewayApi.ConfigurationsApi()
var name = name_example; // {String}
var opts = {
'deviceType': deviceType_example, // {String}
'defaultConfiguration': // {DefaultConfiguration}
};

Expand Down Expand Up @@ -22017,11 +22056,12 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
var apiInstance = new ConfigurationsApi();
var name = name_example; // String | (default to null)
var deviceType = deviceType_example; // String | (optional) (default to null)
var defaultConfiguration = new DefaultConfiguration(); // DefaultConfiguration | (optional)

try {
// Update a default configuration
apiInstance.updateDefaultConfiguration(name, defaultConfiguration);
apiInstance.updateDefaultConfiguration(name, deviceType, defaultConfiguration);
} catch (Exception e) {
Debug.Print("Exception when calling ConfigurationsApi.updateDefaultConfiguration: " + e.Message );
}
Expand All @@ -22046,10 +22086,11 @@ <h3>Usage and SDK Samples</h3>
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ConfigurationsApi();
$name = name_example; // String |
$deviceType = deviceType_example; // String |
$defaultConfiguration = ; // DefaultConfiguration |

try {
$api_instance->updateDefaultConfiguration($name, $defaultConfiguration);
$api_instance->updateDefaultConfiguration($name, $deviceType, $defaultConfiguration);
} catch (Exception $e) {
echo 'Exception when calling ConfigurationsApi->updateDefaultConfiguration: ', $e->getMessage(), PHP_EOL;
}
Expand All @@ -22072,10 +22113,11 @@ <h3>Usage and SDK Samples</h3>
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ConfigurationsApi->new();
my $name = name_example; # String |
my $deviceType = deviceType_example; # String |
my $defaultConfiguration = WWW::OPenAPIClient::Object::DefaultConfiguration->new(); # DefaultConfiguration |

eval {
$api_instance->updateDefaultConfiguration(name => $name, defaultConfiguration => $defaultConfiguration);
$api_instance->updateDefaultConfiguration(name => $name, deviceType => $deviceType, defaultConfiguration => $defaultConfiguration);
};
if ($@) {
warn "Exception when calling ConfigurationsApi->updateDefaultConfiguration: $@\n";
Expand All @@ -22100,11 +22142,12 @@ <h3>Usage and SDK Samples</h3>
# Create an instance of the API class
api_instance = openapi_client.ConfigurationsApi()
name = name_example # String | (default to null)
deviceType = deviceType_example # String | (optional) (default to null)
defaultConfiguration = # DefaultConfiguration | (optional)

try:
# Update a default configuration
api_instance.update_default_configuration(name, defaultConfiguration=defaultConfiguration)
api_instance.update_default_configuration(name, deviceType=deviceType, defaultConfiguration=defaultConfiguration)
except ApiException as e:
print("Exception when calling ConfigurationsApi->updateDefaultConfiguration: %s\n" % e)</code></pre>
</div>
Expand All @@ -22114,10 +22157,11 @@ <h3>Usage and SDK Samples</h3>

pub fn main() {
let name = name_example; // String
let deviceType = deviceType_example; // String
let defaultConfiguration = ; // DefaultConfiguration

let mut context = ConfigurationsApi::Context::default();
let result = client.updateDefaultConfiguration(name, defaultConfiguration, &context).wait();
let result = client.updateDefaultConfiguration(name, deviceType, defaultConfiguration, &context).wait();

println!("{:?}", result);
}
Expand Down Expand Up @@ -22209,6 +22253,30 @@ <h2>Parameters</h2>
</table>


<div class="methodsubtabletitle">Query parameters</div>
<table id="methodsubtable">
<tr>
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">deviceType</td>
<td>


<div id="d2e199_updateDefaultConfiguration_deviceType">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
String
</span>

</div>
</div>
</div>
</td>
</tr>

</table>

<h2>Responses</h2>
<h3 id="examples-Configurations-updateDefaultConfiguration-title-200"></h3>
Expand Down

0 comments on commit 46a5d59

Please sign in to comment.