All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
clear_data_source_cache | DELETE /api/data-sources/cache | |
count_with_predicate | GET /api/data-sources/count | |
create_multiple | POST /api/data-sources | |
delete | DELETE /api/data-sources/{id} | |
delete_all | DELETE /api/data-sources/all | |
edit_multiple | PUT /api/data-sources | |
get1 | GET /api/data-sources/{id} | |
get2 | GET /api/data-sources/name/{name} | |
get_all | GET /api/data-sources | |
get_datasets | GET /api/data-sources/name/{name}/datasets | |
offboard_all | DELETE /api/data-sources/offboard-all | |
onboard_all | POST /api/data-sources/onboard-all | |
onboard_dataset | POST /api/data-sources/onboard-dataset | |
validate | GET /api/data-sources/validate |
clear_data_source_cache()
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.DataSourceApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.clear_data_source_cache()
except ApiException as e:
print("Exception when calling DataSourceApi->clear_data_source_cache: %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]
count_with_predicate()
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.DataSourceApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.count_with_predicate()
except ApiException as e:
print("Exception when calling DataSourceApi->count_with_predicate: %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_multiple(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.DataSourceApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.DataSourceApiModel()] # list[DataSourceApiModel] | (optional)
try:
api_instance.create_multiple(body=body)
except ApiException as e:
print("Exception when calling DataSourceApi->create_multiple: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | list[DataSourceApiModel] | [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]
delete(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.DataSourceApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.delete(id)
except ApiException as e:
print("Exception when calling DataSourceApi->delete: %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_all()
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.DataSourceApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.delete_all()
except ApiException as e:
print("Exception when calling DataSourceApi->delete_all: %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_multiple(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.DataSourceApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.DataSourceApiModel()] # list[DataSourceApiModel] | (optional)
try:
api_instance.edit_multiple(body=body)
except ApiException as e:
print("Exception when calling DataSourceApi->edit_multiple: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | list[DataSourceApiModel] | [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]
get1(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.DataSourceApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.get1(id)
except ApiException as e:
print("Exception when calling DataSourceApi->get1: %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]
get2(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.DataSourceApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str |
try:
api_instance.get2(name)
except ApiException as e:
print("Exception when calling DataSourceApi->get2: %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_all()
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.DataSourceApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.get_all()
except ApiException as e:
print("Exception when calling DataSourceApi->get_all: %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]
get_datasets(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.DataSourceApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str |
try:
api_instance.get_datasets(name)
except ApiException as e:
print("Exception when calling DataSourceApi->get_datasets: %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]
offboard_all(name=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.DataSourceApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str | (optional)
try:
api_instance.offboard_all(name=name)
except ApiException as e:
print("Exception when calling DataSourceApi->offboard_all: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | [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]
onboard_all(name=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.DataSourceApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str | (optional)
try:
api_instance.onboard_all(name=name)
except ApiException as e:
print("Exception when calling DataSourceApi->onboard_all: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | [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]
onboard_dataset(data_source_name=data_source_name, dataset_name=dataset_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.DataSourceApi(thirdeye_client.ApiClient(configuration))
data_source_name = 'data_source_name_example' # str | (optional)
dataset_name = 'dataset_name_example' # str | (optional)
try:
api_instance.onboard_dataset(data_source_name=data_source_name, dataset_name=dataset_name)
except ApiException as e:
print("Exception when calling DataSourceApi->onboard_dataset: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
data_source_name | str | [optional] | |
dataset_name | str | [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]
validate(name=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.DataSourceApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str | (optional)
try:
api_instance.validate(name=name)
except ApiException as e:
print("Exception when calling DataSourceApi->validate: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | [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]