All URIs are relative to https://YOUR_INSTANCE.wavefront.com
Method | HTTP request | Description |
---|---|---|
add_saved_app_map_search_to_group | POST /api/v2/savedappmapsearchgroup/{id}/addSearch/{searchId} | Add a search to a search group |
create_saved_app_map_search_group | POST /api/v2/savedappmapsearchgroup | Create a search group |
delete_saved_app_map_search_group | DELETE /api/v2/savedappmapsearchgroup/{id} | Delete a search group |
get_all_saved_app_map_search_group | GET /api/v2/savedappmapsearchgroup | Get all search groups for a user |
get_saved_app_map_search_group | GET /api/v2/savedappmapsearchgroup/{id} | Get a specific search group |
get_saved_app_map_searches_for_group | GET /api/v2/savedappmapsearchgroup/{id}/searches | Get all searches for a search group |
remove_saved_app_map_search_from_group | POST /api/v2/savedappmapsearchgroup/{id}/removeSearch/{searchId} | Remove a search from a search group |
update_saved_app_map_search_group | PUT /api/v2/savedappmapsearchgroup/{id} | Update a search group |
ResponseContainer add_saved_app_map_search_to_group(id, search_id)
Add a search to a search group
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
search_id = 'search_id_example' # str |
try:
# Add a search to a search group
api_response = api_instance.add_saved_app_map_search_to_group(id, search_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->add_saved_app_map_search_to_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
search_id | str |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedAppMapSearchGroup create_saved_app_map_search_group(body=body)
Create a search group
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
body = wavefront_api_client.SavedAppMapSearchGroup() # SavedAppMapSearchGroup | Example Body: <pre>{ \"name\": \"Search Group 1\" }</pre> (optional)
try:
# Create a search group
api_response = api_instance.create_saved_app_map_search_group(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->create_saved_app_map_search_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | SavedAppMapSearchGroup | Example Body: <pre>{ "name": "Search Group 1" }</pre> | [optional] |
ResponseContainerSavedAppMapSearchGroup
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedAppMapSearchGroup delete_saved_app_map_search_group(id)
Delete a search group
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Delete a search group
api_response = api_instance.delete_saved_app_map_search_group(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->delete_saved_app_map_search_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerSavedAppMapSearchGroup
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerPagedSavedAppMapSearchGroup get_all_saved_app_map_search_group(offset=offset, limit=limit)
Get all search groups for a user
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
offset = 0 # int | (optional) (default to 0)
limit = 100 # int | (optional) (default to 100)
try:
# Get all search groups for a user
api_response = api_instance.get_all_saved_app_map_search_group(offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->get_all_saved_app_map_search_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
offset | int | [optional] [default to 0] | |
limit | int | [optional] [default to 100] |
ResponseContainerPagedSavedAppMapSearchGroup
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedAppMapSearchGroup get_saved_app_map_search_group(id)
Get a specific search group
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Get a specific search group
api_response = api_instance.get_saved_app_map_search_group(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->get_saved_app_map_search_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerSavedAppMapSearchGroup
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerPagedSavedAppMapSearch get_saved_app_map_searches_for_group(id, offset=offset, limit=limit)
Get all searches for a search group
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
offset = 0 # int | (optional) (default to 0)
limit = 100 # int | (optional) (default to 100)
try:
# Get all searches for a search group
api_response = api_instance.get_saved_app_map_searches_for_group(id, offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->get_saved_app_map_searches_for_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
offset | int | [optional] [default to 0] | |
limit | int | [optional] [default to 100] |
ResponseContainerPagedSavedAppMapSearch
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainer remove_saved_app_map_search_from_group(id, search_id)
Remove a search from a search group
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
search_id = 'search_id_example' # str |
try:
# Remove a search from a search group
api_response = api_instance.remove_saved_app_map_search_from_group(id, search_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->remove_saved_app_map_search_from_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
search_id | str |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedAppMapSearchGroup update_saved_app_map_search_group(id, body=body)
Update a search group
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.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
body = wavefront_api_client.SavedAppMapSearchGroup() # SavedAppMapSearchGroup | Example Body: <pre>{ \"name\": \"Search Group 1\" }</pre> (optional)
try:
# Update a search group
api_response = api_instance.update_saved_app_map_search_group(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedAppMapSearchGroupApi->update_saved_app_map_search_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
body | SavedAppMapSearchGroup | Example Body: <pre>{ "name": "Search Group 1" }</pre> | [optional] |
ResponseContainerSavedAppMapSearchGroup
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]