Skip to content

Commit

Permalink
Autogenerated Update v2.214.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
wf-jenkins committed Dec 13, 2023
1 parent b6aaa65 commit 2625e6a
Show file tree
Hide file tree
Showing 13 changed files with 1,471 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .swagger-codegen/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"gitUserId": "wavefrontHQ",
"packageName": "wavefront_api_client",
"packageUrl": "https://github.com/wavefrontHQ/python-client",
"packageVersion": "2.213.0"
"packageVersion": "2.214.0"
}
2 changes: 1 addition & 1 deletion .swagger-codegen/config.jsone
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"gitUserId": "wavefrontHQ",
"packageName": "wavefront_api_client",
"packageUrl": "https://github.com/wavefrontHQ/python-client",
"packageVersion": "2.210.2"
"packageVersion": "2.213.0"
}
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: v2
- Package version: 2.213.0
- Package version: 2.214.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -128,6 +128,11 @@ Class | Method | HTTP request | Description
*AlertApi* | [**unhide_alert**](docs/AlertApi.md#unhide_alert) | **POST** /api/v2/alert/{id}/install | Unhide a specific integration alert
*AlertApi* | [**unsnooze_alert**](docs/AlertApi.md#unsnooze_alert) | **POST** /api/v2/alert/{id}/unsnooze | Unsnooze a specific alert
*AlertApi* | [**update_alert**](docs/AlertApi.md#update_alert) | **PUT** /api/v2/alert/{id} | Update a specific alert
*AlertAnalyticsApi* | [**get_active_no_target_alert_summary_details**](docs/AlertAnalyticsApi.md#get_active_no_target_alert_summary_details) | **GET** /api/v2/alert/analytics/summary/alerts/noTarget | Get Active No Target Alert Summary for a customer
*AlertAnalyticsApi* | [**get_alert_analytics_errors_summary**](docs/AlertAnalyticsApi.md#get_alert_analytics_errors_summary) | **GET** /api/v2/alert/analytics/summary/errors | Get Alert Analytics errors summary
*AlertAnalyticsApi* | [**get_alert_analytics_summary**](docs/AlertAnalyticsApi.md#get_alert_analytics_summary) | **GET** /api/v2/alert/analytics/summary | Get Alert Analytics Summary for a customer
*AlertAnalyticsApi* | [**get_failed_alert_summary_details**](docs/AlertAnalyticsApi.md#get_failed_alert_summary_details) | **GET** /api/v2/alert/analytics/summary/alerts/failed | Get Failed Alert Summary Details for a customer
*AlertAnalyticsApi* | [**get_no_data_alert_summary_details**](docs/AlertAnalyticsApi.md#get_no_data_alert_summary_details) | **GET** /api/v2/alert/analytics/summary/alerts/noData | Get No Data Alert Summary for a customer
*ApiTokenApi* | [**create_token**](docs/ApiTokenApi.md#create_token) | **POST** /api/v2/apitoken | Create new api token
*ApiTokenApi* | [**delete_customer_token**](docs/ApiTokenApi.md#delete_customer_token) | **PUT** /api/v2/apitoken/customertokens/revoke | Delete the specified api token for a customer
*ApiTokenApi* | [**delete_token**](docs/ApiTokenApi.md#delete_token) | **DELETE** /api/v2/apitoken/{id} | Delete the specified api token
Expand Down Expand Up @@ -315,6 +320,9 @@ Class | Method | HTTP request | Description
*SearchApi* | [**search_alert_deleted_for_facet**](docs/SearchApi.md#search_alert_deleted_for_facet) | **POST** /api/v2/search/alert/deleted/{facet} | Lists the values of a specific facet over the customer's deleted alerts
*SearchApi* | [**search_alert_deleted_for_facets**](docs/SearchApi.md#search_alert_deleted_for_facets) | **POST** /api/v2/search/alert/deleted/facets | Lists the values of one or more facets over the customer's deleted alerts
*SearchApi* | [**search_alert_entities**](docs/SearchApi.md#search_alert_entities) | **POST** /api/v2/search/alert | Search over a customer's non-deleted alerts
*SearchApi* | [**search_alert_execution_summary_entities**](docs/SearchApi.md#search_alert_execution_summary_entities) | **POST** /api/v2/search/alert-analytics-summary | Search over a customer's alert executions summaries
*SearchApi* | [**search_alert_execution_summary_for_facet**](docs/SearchApi.md#search_alert_execution_summary_for_facet) | **POST** /api/v2/search/alert-analytics-summary/{facet} | Lists the values of a specific facet over the customer's alert executions summaries
*SearchApi* | [**search_alert_execution_summary_for_facets**](docs/SearchApi.md#search_alert_execution_summary_for_facets) | **POST** /api/v2/search/alert-analytics-summary/facets | Lists the values of one or more facets over the customer's alert executions summaries
*SearchApi* | [**search_alert_for_facet**](docs/SearchApi.md#search_alert_for_facet) | **POST** /api/v2/search/alert/{facet} | Lists the values of a specific facet over the customer's non-deleted alerts
*SearchApi* | [**search_alert_for_facets**](docs/SearchApi.md#search_alert_for_facets) | **POST** /api/v2/search/alert/facets | Lists the values of one or more facets over the customer's non-deleted alerts
*SearchApi* | [**search_cloud_integration_deleted_entities**](docs/SearchApi.md#search_cloud_integration_deleted_entities) | **POST** /api/v2/search/cloudintegration/deleted | Search over a customer's deleted cloud integrations
Expand Down
305 changes: 305 additions & 0 deletions docs/AlertAnalyticsApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@
# wavefront_api_client.AlertAnalyticsApi

All URIs are relative to *https://YOUR_INSTANCE.wavefront.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_active_no_target_alert_summary_details**](AlertAnalyticsApi.md#get_active_no_target_alert_summary_details) | **GET** /api/v2/alert/analytics/summary/alerts/noTarget | Get Active No Target Alert Summary for a customer
[**get_alert_analytics_errors_summary**](AlertAnalyticsApi.md#get_alert_analytics_errors_summary) | **GET** /api/v2/alert/analytics/summary/errors | Get Alert Analytics errors summary
[**get_alert_analytics_summary**](AlertAnalyticsApi.md#get_alert_analytics_summary) | **GET** /api/v2/alert/analytics/summary | Get Alert Analytics Summary for a customer
[**get_failed_alert_summary_details**](AlertAnalyticsApi.md#get_failed_alert_summary_details) | **GET** /api/v2/alert/analytics/summary/alerts/failed | Get Failed Alert Summary Details for a customer
[**get_no_data_alert_summary_details**](AlertAnalyticsApi.md#get_no_data_alert_summary_details) | **GET** /api/v2/alert/analytics/summary/alerts/noData | Get No Data Alert Summary for a customer


# **get_active_no_target_alert_summary_details**
> ResponseContainerPagedAlertAnalyticsSummaryDetail get_active_no_target_alert_summary_details(start, end=end, offset=offset, limit=limit)
Get Active No Target Alert Summary for a customer



### Example
```python
from __future__ import print_function
import time
import wavefront_api_client
from wavefront_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
configuration = wavefront_api_client.Configuration()
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = wavefront_api_client.AlertAnalyticsApi(wavefront_api_client.ApiClient(configuration))
start = 789 # int | Start time in epoch seconds
end = 789 # int | End time in epoch seconds, null to use now (optional)
offset = 0 # int | offset for records (optional) (default to 0)
limit = 50 # int | Number of records (optional) (default to 50)

try:
# Get Active No Target Alert Summary for a customer
api_response = api_instance.get_active_no_target_alert_summary_details(start, end=end, offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling AlertAnalyticsApi->get_active_no_target_alert_summary_details: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **int**| Start time in epoch seconds |
**end** | **int**| End time in epoch seconds, null to use now | [optional]
**offset** | **int**| offset for records | [optional] [default to 0]
**limit** | **int**| Number of records | [optional] [default to 50]

### Return type

[**ResponseContainerPagedAlertAnalyticsSummaryDetail**](ResponseContainerPagedAlertAnalyticsSummaryDetail.md)

### Authorization

[api_key](../README.md#api_key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_alert_analytics_errors_summary**
> ResponseContainerListAlertErrorGroupInfo get_alert_analytics_errors_summary(start, end=end)
Get Alert Analytics errors summary



### Example
```python
from __future__ import print_function
import time
import wavefront_api_client
from wavefront_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
configuration = wavefront_api_client.Configuration()
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = wavefront_api_client.AlertAnalyticsApi(wavefront_api_client.ApiClient(configuration))
start = 789 # int | Start time in epoch seconds
end = 789 # int | End time in epoch seconds, null to use now (optional)

try:
# Get Alert Analytics errors summary
api_response = api_instance.get_alert_analytics_errors_summary(start, end=end)
pprint(api_response)
except ApiException as e:
print("Exception when calling AlertAnalyticsApi->get_alert_analytics_errors_summary: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **int**| Start time in epoch seconds |
**end** | **int**| End time in epoch seconds, null to use now | [optional]

### Return type

[**ResponseContainerListAlertErrorGroupInfo**](ResponseContainerListAlertErrorGroupInfo.md)

### Authorization

[api_key](../README.md#api_key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_alert_analytics_summary**
> ResponseContainerAlertAnalyticsSummary get_alert_analytics_summary(start, end=end)
Get Alert Analytics Summary for a customer



### Example
```python
from __future__ import print_function
import time
import wavefront_api_client
from wavefront_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
configuration = wavefront_api_client.Configuration()
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = wavefront_api_client.AlertAnalyticsApi(wavefront_api_client.ApiClient(configuration))
start = 789 # int | Start time in epoch seconds
end = 789 # int | End time in epoch seconds, null to use now (optional)

try:
# Get Alert Analytics Summary for a customer
api_response = api_instance.get_alert_analytics_summary(start, end=end)
pprint(api_response)
except ApiException as e:
print("Exception when calling AlertAnalyticsApi->get_alert_analytics_summary: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **int**| Start time in epoch seconds |
**end** | **int**| End time in epoch seconds, null to use now | [optional]

### Return type

[**ResponseContainerAlertAnalyticsSummary**](ResponseContainerAlertAnalyticsSummary.md)

### Authorization

[api_key](../README.md#api_key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_failed_alert_summary_details**
> ResponseContainerPagedAlertAnalyticsSummaryDetail get_failed_alert_summary_details(start, end=end, offset=offset, limit=limit)
Get Failed Alert Summary Details for a customer



### Example
```python
from __future__ import print_function
import time
import wavefront_api_client
from wavefront_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
configuration = wavefront_api_client.Configuration()
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = wavefront_api_client.AlertAnalyticsApi(wavefront_api_client.ApiClient(configuration))
start = 789 # int | Start time in epoch seconds
end = 789 # int | End time in epoch seconds, null to use now (optional)
offset = 0 # int | offset for records (optional) (default to 0)
limit = 50 # int | Number of records (optional) (default to 50)

try:
# Get Failed Alert Summary Details for a customer
api_response = api_instance.get_failed_alert_summary_details(start, end=end, offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling AlertAnalyticsApi->get_failed_alert_summary_details: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **int**| Start time in epoch seconds |
**end** | **int**| End time in epoch seconds, null to use now | [optional]
**offset** | **int**| offset for records | [optional] [default to 0]
**limit** | **int**| Number of records | [optional] [default to 50]

### Return type

[**ResponseContainerPagedAlertAnalyticsSummaryDetail**](ResponseContainerPagedAlertAnalyticsSummaryDetail.md)

### Authorization

[api_key](../README.md#api_key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_no_data_alert_summary_details**
> ResponseContainerPagedAlertAnalyticsSummaryDetail get_no_data_alert_summary_details(start, end=end, offset=offset, limit=limit)
Get No Data Alert Summary for a customer



### Example
```python
from __future__ import print_function
import time
import wavefront_api_client
from wavefront_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
configuration = wavefront_api_client.Configuration()
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = wavefront_api_client.AlertAnalyticsApi(wavefront_api_client.ApiClient(configuration))
start = 789 # int | Start time in epoch seconds
end = 789 # int | End time in epoch seconds, null to use now (optional)
offset = 0 # int | offset for records (optional) (default to 0)
limit = 50 # int | Number of records (optional) (default to 50)

try:
# Get No Data Alert Summary for a customer
api_response = api_instance.get_no_data_alert_summary_details(start, end=end, offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling AlertAnalyticsApi->get_no_data_alert_summary_details: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **int**| Start time in epoch seconds |
**end** | **int**| End time in epoch seconds, null to use now | [optional]
**offset** | **int**| offset for records | [optional] [default to 0]
**limit** | **int**| Number of records | [optional] [default to 50]

### Return type

[**ResponseContainerPagedAlertAnalyticsSummaryDetail**](ResponseContainerPagedAlertAnalyticsSummaryDetail.md)

### Authorization

[api_key](../README.md#api_key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

Loading

0 comments on commit 2625e6a

Please sign in to comment.