Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# MeepControllerRestApi.PodStatesApi
All URIs are relative to *http://localhost/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getStates**](PodStatesApi.md#getStates) | **GET** /states | This operation returns status information for pods
<a name="getStates"></a>
# **getStates**
> PodsStatus getStates(opts)
This operation returns status information for pods
Returns pod status info for a list of pods
### Example
```javascript
var MeepControllerRestApi = require('meep_controller_rest_api');
var apiInstance = new MeepControllerRestApi.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
- **Content-Type**: Not defined
- **Accept**: application/json