All URIs are relative to https://YOUR_INSTANCE.wavefront.com
Method | HTTP request | Description |
---|---|---|
create_saved_traces_search | POST /api/v2/savedtracessearch | Create a search |
default_app_map_search | POST /api/v2/savedtracessearch/defaultTracesSearch | Set default traces search at user level |
default_customer_traces_search | POST /api/v2/savedtracessearch/defaultCustomerTracesSearch | Set default traces search at customer level |
default_traces_search | GET /api/v2/savedtracessearch/defaultTracesSearch | Get default traces search for a user |
delete_saved_traces_search | DELETE /api/v2/savedtracessearch/{id} | Delete a search |
delete_saved_traces_search_for_user | DELETE /api/v2/savedtracessearch/owned/{id} | Delete a search belonging to the user |
get_all_saved_traces_searches | GET /api/v2/savedtracessearch | Get all searches for a customer |
get_all_saved_traces_searches_for_user | GET /api/v2/savedtracessearch/owned | Get all searches for a user |
get_saved_traces_search | GET /api/v2/savedtracessearch/{id} | Get a specific search |
update_saved_traces_search | PUT /api/v2/savedtracessearch/{id} | Update a search |
update_saved_traces_search_for_user | PUT /api/v2/savedtracessearch/owned/{id} | Update a search belonging to the user |
ResponseContainerSavedTracesSearch create_saved_traces_search(body=body)
Create a search
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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
body = wavefront_api_client.SavedTracesSearch() # SavedTracesSearch | Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping.\", \"'*\" ] ] } } ] } }</pre> (optional)
try:
# Create a search
api_response = api_instance.create_saved_traces_search(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->create_saved_traces_search: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | SavedTracesSearch | Example Body: <pre>{ "name": "beachshirts shopping", "searchFilters": { "filters": [ { "filterType": "OPERATION", "values": { "logicalValue": [ [ "beachshirts.", "shopping.", "'*" ] ] } } ] } }</pre> | [optional] |
ResponseContainerSavedTracesSearch
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerString default_app_map_search(default_traces_search=default_traces_search)
Set default traces search at user level
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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
default_traces_search = 'default_traces_search_example' # str | (optional)
try:
# Set default traces search at user level
api_response = api_instance.default_app_map_search(default_traces_search=default_traces_search)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->default_app_map_search: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
default_traces_search | str | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerString default_customer_traces_search(default_traces_search=default_traces_search)
Set default traces search at customer level
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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
default_traces_search = 'default_traces_search_example' # str | (optional)
try:
# Set default traces search at customer level
api_response = api_instance.default_customer_traces_search(default_traces_search=default_traces_search)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->default_customer_traces_search: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
default_traces_search | str | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerDefaultSavedTracesSearch default_traces_search()
Get default traces search 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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
try:
# Get default traces search for a user
api_response = api_instance.default_traces_search()
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->default_traces_search: %s\n" % e)
This endpoint does not need any parameter.
ResponseContainerDefaultSavedTracesSearch
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedTracesSearch delete_saved_traces_search(id)
Delete a search
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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Delete a search
api_response = api_instance.delete_saved_traces_search(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->delete_saved_traces_search: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerSavedTracesSearch
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedTracesSearch delete_saved_traces_search_for_user(id)
Delete a search belonging to the 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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Delete a search belonging to the user
api_response = api_instance.delete_saved_traces_search_for_user(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->delete_saved_traces_search_for_user: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerSavedTracesSearch
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerPagedSavedTracesSearch get_all_saved_traces_searches(offset=offset, limit=limit)
Get all searches for a customer
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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
offset = 0 # int | (optional) (default to 0)
limit = 100 # int | (optional) (default to 100)
try:
# Get all searches for a customer
api_response = api_instance.get_all_saved_traces_searches(offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->get_all_saved_traces_searches: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
offset | int | [optional] [default to 0] | |
limit | int | [optional] [default to 100] |
ResponseContainerPagedSavedTracesSearch
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerPagedSavedTracesSearch get_all_saved_traces_searches_for_user(offset=offset, limit=limit)
Get all searches 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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
offset = 0 # int | (optional) (default to 0)
limit = 100 # int | (optional) (default to 100)
try:
# Get all searches for a user
api_response = api_instance.get_all_saved_traces_searches_for_user(offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->get_all_saved_traces_searches_for_user: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
offset | int | [optional] [default to 0] | |
limit | int | [optional] [default to 100] |
ResponseContainerPagedSavedTracesSearch
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedTracesSearch get_saved_traces_search(id)
Get a specific search
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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
try:
# Get a specific search
api_response = api_instance.get_saved_traces_search(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->get_saved_traces_search: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
ResponseContainerSavedTracesSearch
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedTracesSearch update_saved_traces_search(id, body=body)
Update a search
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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
body = wavefront_api_client.SavedTracesSearch() # SavedTracesSearch | Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping.\", \"'*\" ] ] } } ] } }</pre> (optional)
try:
# Update a search
api_response = api_instance.update_saved_traces_search(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->update_saved_traces_search: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
body | SavedTracesSearch | Example Body: <pre>{ "name": "beachshirts shopping", "searchFilters": { "filters": [ { "filterType": "OPERATION", "values": { "logicalValue": [ [ "beachshirts.", "shopping.", "'*" ] ] } } ] } }</pre> | [optional] |
ResponseContainerSavedTracesSearch
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseContainerSavedTracesSearch update_saved_traces_search_for_user(id, body=body)
Update a search belonging to the 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.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
body = wavefront_api_client.SavedTracesSearch() # SavedTracesSearch | Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping.\", \"'*\" ] ] } } ] } }</pre> (optional)
try:
# Update a search belonging to the user
api_response = api_instance.update_saved_traces_search_for_user(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SavedTracesSearchApi->update_saved_traces_search_for_user: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
body | SavedTracesSearch | Example Body: <pre>{ "name": "beachshirts shopping", "searchFilters": { "filters": [ { "filterType": "OPERATION", "values": { "logicalValue": [ [ "beachshirts.", "shopping.", "'*" ] ] } } ] } }</pre> | [optional] |
ResponseContainerSavedTracesSearch
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]