All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| count_with_predicate7 | GET /api/anomalies/count | |
| create_multiple7 | POST /api/anomalies | |
| delete7 | DELETE /api/anomalies/{id} | |
| delete_all7 | DELETE /api/anomalies/all | |
| edit_multiple7 | PUT /api/anomalies | |
| get15 | GET /api/anomalies/{id} | |
| get16 | GET /api/anomalies/name/{name} | |
| get_all7 | GET /api/anomalies | |
| set_feedback | POST /api/anomalies/{id}/feedback |
count_with_predicate7()
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.count_with_predicate7()
except ApiException as e:
print("Exception when calling AnomalyApi->count_with_predicate7: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create_multiple7(body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.AnomalyApiModel()] # list[AnomalyApiModel] | (optional)
try:
api_instance.create_multiple7(body=body)
except ApiException as e:
print("Exception when calling AnomalyApi->create_multiple7: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | list[AnomalyApiModel] | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete7(id)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.delete7(id)
except ApiException as e:
print("Exception when calling AnomalyApi->delete7: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_all7()
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.delete_all7()
except ApiException as e:
print("Exception when calling AnomalyApi->delete_all7: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
edit_multiple7(body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.AnomalyApiModel()] # list[AnomalyApiModel] | (optional)
try:
api_instance.edit_multiple7(body=body)
except ApiException as e:
print("Exception when calling AnomalyApi->edit_multiple7: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | list[AnomalyApiModel] | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get15(id)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.get15(id)
except ApiException as e:
print("Exception when calling AnomalyApi->get15: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get16(name)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str |
try:
api_instance.get16(name)
except ApiException as e:
print("Exception when calling AnomalyApi->get16: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| name | str |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_all7()
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.get_all7()
except ApiException as e:
print("Exception when calling AnomalyApi->get_all7: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_feedback(id, body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AnomalyApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
body = thirdeye_client.AnomalyFeedbackApiModel() # AnomalyFeedbackApiModel | (optional)
try:
api_instance.set_feedback(id, body=body)
except ApiException as e:
print("Exception when calling AnomalyApi->set_feedback: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | ||
| body | AnomalyFeedbackApiModel | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]