"docs/meep-sandbox-ctrl/D2dConfig.md" did not exist on "5789a9e50032ed018c8034bfe77bd7a176a59c75"
Newer
Older
Kevin Di Lallo
committed
All URIs are relative to *https://localhost/ctrl-engine/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getStates**](PodStatesApi.md#getStates) | **GET** /states | Get pods states
<a name="getStates"></a>
# **getStates**
> PodsStatus getStates(opts)
Get status information of Core micro-services pods and Scenario pods
### Example
```javascript
var AdvantEdgePlatformControllerRestApi = require('advant_edge_platform_controller_rest_api');
var apiInstance = new AdvantEdgePlatformControllerRestApi.PodStatesApi();
var opts = {
'_long': "_long_example", // String | Enables detailed stats if true
'type': "type_example" // String | Pod type
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getStates(opts, callback);
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**_long** | **String**| Enables detailed stats if true | [optional]
**type** | **String**| Pod type | [optional]
### Return type
[**PodsStatus**](PodsStatus.md)
### Authorization
No authorization required
### HTTP request headers
- **Accept**: application/json