All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| count_with_predicate9 | GET /api/events/count | |
| create_multiple9 | POST /api/events | |
| delete9 | DELETE /api/events/{id} | |
| delete_all9 | DELETE /api/events/all | |
| edit_multiple9 | PUT /api/events | |
| get19 | GET /api/events/{id} | |
| get20 | GET /api/events/name/{name} | |
| get_all9 | GET /api/events | |
| load_holidays | POST /api/events/create-from-anomaly | |
| load_holidays1 | POST /api/events/holidays/load |
count_with_predicate9()
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.EventApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.count_with_predicate9()
except ApiException as e:
print("Exception when calling EventApi->count_with_predicate9: %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_multiple9(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.EventApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.EventApiModel()] # list[EventApiModel] | (optional)
try:
api_instance.create_multiple9(body=body)
except ApiException as e:
print("Exception when calling EventApi->create_multiple9: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | list[EventApiModel] | [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]
delete9(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.EventApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.delete9(id)
except ApiException as e:
print("Exception when calling EventApi->delete9: %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_all9()
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.EventApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.delete_all9()
except ApiException as e:
print("Exception when calling EventApi->delete_all9: %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_multiple9(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.EventApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.EventApiModel()] # list[EventApiModel] | (optional)
try:
api_instance.edit_multiple9(body=body)
except ApiException as e:
print("Exception when calling EventApi->edit_multiple9: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | list[EventApiModel] | [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]
get19(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.EventApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.get19(id)
except ApiException as e:
print("Exception when calling EventApi->get19: %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]
get20(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.EventApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str |
try:
api_instance.get20(name)
except ApiException as e:
print("Exception when calling EventApi->get20: %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_all9()
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.EventApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.get_all9()
except ApiException as e:
print("Exception when calling EventApi->get_all9: %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]
load_holidays(anomaly_id=anomaly_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.EventApi(thirdeye_client.ApiClient(configuration))
anomaly_id = 789 # int | (optional)
try:
api_instance.load_holidays(anomaly_id=anomaly_id)
except ApiException as e:
print("Exception when calling EventApi->load_holidays: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| anomaly_id | int | [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]
load_holidays1(start_time=start_time, end_time=end_time)
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.EventApi(thirdeye_client.ApiClient(configuration))
start_time = 789 # int | (optional)
end_time = 789 # int | (optional)
try:
api_instance.load_holidays1(start_time=start_time, end_time=end_time)
except ApiException as e:
print("Exception when calling EventApi->load_holidays1: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| start_time | int | [optional] | |
| end_time | int | [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]