All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
get_all_integration | GET /api/v2/integration | Gets a flat list of all Wavefront integrations available, along with their status |
get_all_integration_in_manifests | GET /api/v2/integration/manifests | Gets all Wavefront integrations as structured in their integration manifests, along with their status |
get_all_integration_statuses | GET /api/v2/integration/status | Gets the status of all Wavefront integrations |
get_integration | GET /api/v2/integration/{id} | Gets a single Wavefront integration by its id, along with its status |
get_integration_status | GET /api/v2/integration/{id}/status | Gets the status of a single Wavefront integration |
install_integration | POST /api/v2/integration/{id}/install | Installs a Wavefront integration |
uninstall_integration | POST /api/v2/integration/{id}/uninstall | Uninstalls a Wavefront integration |
ResponseContainerPagedIntegration get_all_integration(offset=offset, limit=limit)
Gets a flat list of all Wavefront integrations available, along with their status
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.IntegrationApi(wavefront_api_client.ApiClient(configuration))
offset = 0 # int | (optional) (default to 0)
limit = 100 # int | (optional) (default to 100)
try:
# Gets a flat list of all Wavefront integrations available, along with their status
api_response = api_instance.get_all_integration(offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling IntegrationApi->get_all_integration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
offset | int | [optional] [default to 0] | |
limit | int | [optional] [default to 100] |
ResponseContainerPagedIntegration
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerListIntegrationManifestGroup get_all_integration_in_manifests()
Gets all Wavefront integrations as structured in their integration manifests, along with their status
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.IntegrationApi(wavefront_api_client.ApiClient(configuration))
try:
# Gets all Wavefront integrations as structured in their integration manifests, along with their status
api_response = api_instance.get_all_integration_in_manifests()
pprint(api_response)
except ApiException as e:
print("Exception when calling IntegrationApi->get_all_integration_in_manifests: %s\n" % e)
This endpoint does not need any parameter.
ResponseContainerListIntegrationManifestGroup
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerMapStringIntegrationStatus get_all_integration_statuses()
Gets the status of all Wavefront integrations
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.IntegrationApi(wavefront_api_client.ApiClient(configuration))
try:
# Gets the status of all Wavefront integrations
api_response = api_instance.get_all_integration_statuses()
pprint(api_response)
except ApiException as e:
print("Exception when calling IntegrationApi->get_all_integration_statuses: %s\n" % e)
This endpoint does not need any parameter.
ResponseContainerMapStringIntegrationStatus
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerIntegration get_integration(id)
Gets a single Wavefront integration by its id, along with its status
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.IntegrationApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Gets a single Wavefront integration by its id, along with its status
api_response = api_instance.get_integration(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling IntegrationApi->get_integration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerIntegrationStatus get_integration_status(id)
Gets the status of a single Wavefront integration
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.IntegrationApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Gets the status of a single Wavefront integration
api_response = api_instance.get_integration_status(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling IntegrationApi->get_integration_status: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerIntegrationStatus
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerIntegrationStatus install_integration(id)
Installs a Wavefront integration
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.IntegrationApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Installs a Wavefront integration
api_response = api_instance.install_integration(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling IntegrationApi->install_integration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerIntegrationStatus
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerIntegrationStatus uninstall_integration(id)
Uninstalls a Wavefront integration
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.IntegrationApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Uninstalls a Wavefront integration
api_response = api_instance.uninstall_integration(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling IntegrationApi->uninstall_integration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerIntegrationStatus
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]