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 Jan 5, 2024
1 parent 94e40fa commit ccc36c6
Showing 1 changed file with 39 additions and 9 deletions.
48 changes: 39 additions & 9 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24506,7 +24506,7 @@ <h3>Usage and SDK Samples</h3>
-H "X-API-KEY: [[apiKey]]" \
-H "Authorization: Bearer [[accessToken]]" \
-H "Accept: application/json" \
"https://localhost:16001/api/v1/devices?offset=56&limit=56&filter=filter_example&select=serial1,serial2,serial3&serialOnly=true&countOnly=false&deviceWithStatus=true&orderBy=serialNumber:a,created:d&orderSpec=true&connectionStatistics=true&health=true&lowLimit=56&highLimits=56"
"https://localhost:16001/api/v1/devices?offset=56&limit=56&filter=filter_example&select=serial1,serial2,serial3&serialOnly=true&countOnly=false&deviceWithStatus=true&orderBy=serialNumber:a,created:d&orderSpec=true&connectionStatistics=true&health=true&lowLimit=56&highLimits=56&platform=platform_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-Devices-getDeviceList-0-java">
Expand Down Expand Up @@ -24547,9 +24547,10 @@ <h3>Usage and SDK Samples</h3>
Boolean health = true; // Boolean | return devices with their health value in between lowLimit and highLimit
Integer lowLimit = 56; // Integer | lowLimit for the health selection criteria
Integer highLimits = 56; // Integer | highLimit for the health selection criteria
String platform = platform_example; // String | return only devices matching a certain platform of AP or SWITCH

try {
getDeviceList_200_response result = apiInstance.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits);
getDeviceList_200_response result = apiInstance.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits, platform);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DevicesApi#getDeviceList");
Expand Down Expand Up @@ -24579,9 +24580,10 @@ <h3>Usage and SDK Samples</h3>
Boolean health = true; // Boolean | return devices with their health value in between lowLimit and highLimit
Integer lowLimit = 56; // Integer | lowLimit for the health selection criteria
Integer highLimits = 56; // Integer | highLimit for the health selection criteria
String platform = platform_example; // String | return only devices matching a certain platform of AP or SWITCH

try {
getDeviceList_200_response result = apiInstance.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits);
getDeviceList_200_response result = apiInstance.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits, platform);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DevicesApi#getDeviceList");
Expand Down Expand Up @@ -24620,6 +24622,7 @@ <h3>Usage and SDK Samples</h3>
Boolean *health = true; // return devices with their health value in between lowLimit and highLimit (optional) (default to false)
Integer *lowLimit = 56; // lowLimit for the health selection criteria (optional) (default to 30)
Integer *highLimits = 56; // highLimit for the health selection criteria (optional) (default to 70)
String *platform = platform_example; // return only devices matching a certain platform of AP or SWITCH (optional) (default to null)

// Returns a list of devices.
[apiInstance getDeviceListWith:offset
Expand All @@ -24635,6 +24638,7 @@ <h3>Usage and SDK Samples</h3>
health:health
lowLimit:lowLimit
highLimits:highLimits
platform:platform
completionHandler: ^(getDeviceList_200_response output, NSError* error) {
if (output) {
NSLog(@"%@", output);
Expand Down Expand Up @@ -24675,7 +24679,8 @@ <h3>Usage and SDK Samples</h3>
'connectionStatistics': true, // {Boolean} return extended information
'health': true, // {Boolean} return devices with their health value in between lowLimit and highLimit
'lowLimit': 56, // {Integer} lowLimit for the health selection criteria
'highLimits': 56 // {Integer} highLimit for the health selection criteria
'highLimits': 56, // {Integer} highLimit for the health selection criteria
'platform': platform_example // {String} return only devices matching a certain platform of AP or SWITCH
};

var callback = function(error, data, response) {
Expand Down Expand Up @@ -24727,10 +24732,11 @@ <h3>Usage and SDK Samples</h3>
var health = true; // Boolean | return devices with their health value in between lowLimit and highLimit (optional) (default to false)
var lowLimit = 56; // Integer | lowLimit for the health selection criteria (optional) (default to 30)
var highLimits = 56; // Integer | highLimit for the health selection criteria (optional) (default to 70)
var platform = platform_example; // String | return only devices matching a certain platform of AP or SWITCH (optional) (default to null)

try {
// Returns a list of devices.
getDeviceList_200_response result = apiInstance.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits);
getDeviceList_200_response result = apiInstance.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits, platform);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling DevicesApi.getDeviceList: " + e.Message );
Expand Down Expand Up @@ -24768,9 +24774,10 @@ <h3>Usage and SDK Samples</h3>
$health = true; // Boolean | return devices with their health value in between lowLimit and highLimit
$lowLimit = 56; // Integer | lowLimit for the health selection criteria
$highLimits = 56; // Integer | highLimit for the health selection criteria
$platform = platform_example; // String | return only devices matching a certain platform of AP or SWITCH

try {
$result = $api_instance->getDeviceList($offset, $limit, $filter, $select, $serialOnly, $countOnly, $deviceWithStatus, $orderBy, $orderSpec, $connectionStatistics, $health, $lowLimit, $highLimits);
$result = $api_instance->getDeviceList($offset, $limit, $filter, $select, $serialOnly, $countOnly, $deviceWithStatus, $orderBy, $orderSpec, $connectionStatistics, $health, $lowLimit, $highLimits, $platform);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DevicesApi->getDeviceList: ', $e->getMessage(), PHP_EOL;
Expand Down Expand Up @@ -24806,9 +24813,10 @@ <h3>Usage and SDK Samples</h3>
my $health = true; # Boolean | return devices with their health value in between lowLimit and highLimit
my $lowLimit = 56; # Integer | lowLimit for the health selection criteria
my $highLimits = 56; # Integer | highLimit for the health selection criteria
my $platform = platform_example; # String | return only devices matching a certain platform of AP or SWITCH

eval {
my $result = $api_instance->getDeviceList(offset => $offset, limit => $limit, filter => $filter, select => $select, serialOnly => $serialOnly, countOnly => $countOnly, deviceWithStatus => $deviceWithStatus, orderBy => $orderBy, orderSpec => $orderSpec, connectionStatistics => $connectionStatistics, health => $health, lowLimit => $lowLimit, highLimits => $highLimits);
my $result = $api_instance->getDeviceList(offset => $offset, limit => $limit, filter => $filter, select => $select, serialOnly => $serialOnly, countOnly => $countOnly, deviceWithStatus => $deviceWithStatus, orderBy => $orderBy, orderSpec => $orderSpec, connectionStatistics => $connectionStatistics, health => $health, lowLimit => $lowLimit, highLimits => $highLimits, platform => $platform);
print Dumper($result);
};
if ($@) {
Expand Down Expand Up @@ -24846,10 +24854,11 @@ <h3>Usage and SDK Samples</h3>
health = true # Boolean | return devices with their health value in between lowLimit and highLimit (optional) (default to false)
lowLimit = 56 # Integer | lowLimit for the health selection criteria (optional) (default to 30)
highLimits = 56 # Integer | highLimit for the health selection criteria (optional) (default to 70)
platform = platform_example # String | return only devices matching a certain platform of AP or SWITCH (optional) (default to null)

try:
# Returns a list of devices.
api_response = api_instance.get_device_list(offset=offset, limit=limit, filter=filter, select=select, serialOnly=serialOnly, countOnly=countOnly, deviceWithStatus=deviceWithStatus, orderBy=orderBy, orderSpec=orderSpec, connectionStatistics=connectionStatistics, health=health, lowLimit=lowLimit, highLimits=highLimits)
api_response = api_instance.get_device_list(offset=offset, limit=limit, filter=filter, select=select, serialOnly=serialOnly, countOnly=countOnly, deviceWithStatus=deviceWithStatus, orderBy=orderBy, orderSpec=orderSpec, connectionStatistics=connectionStatistics, health=health, lowLimit=lowLimit, highLimits=highLimits, platform=platform)
pprint(api_response)
except ApiException as e:
print("Exception when calling DevicesApi->getDeviceList: %s\n" % e)</code></pre>
Expand All @@ -24872,9 +24881,10 @@ <h3>Usage and SDK Samples</h3>
let health = true; // Boolean
let lowLimit = 56; // Integer
let highLimits = 56; // Integer
let platform = platform_example; // String

let mut context = DevicesApi::Context::default();
let result = client.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits, &context).wait();
let result = client.getDeviceList(offset, limit, filter, select, serialOnly, countOnly, deviceWithStatus, orderBy, orderSpec, connectionStatistics, health, lowLimit, highLimits, platform, &context).wait();

println!("{:?}", result);
}
Expand Down Expand Up @@ -25157,6 +25167,26 @@ <h2>Parameters</h2>
</div>
</div>
</td>
</tr>

<tr><td style="width:150px;">platform</td>
<td>


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

<div class="inner description marked">
return only devices matching a certain platform of AP or SWITCH
</div>
</div>
</div>
</div>
</td>
</tr>

</table>
Expand Down

0 comments on commit ccc36c6

Please sign in to comment.