All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
count_with_predicate1 | GET /api/datasets/count | |
create_multiple1 | POST /api/datasets | |
delete1 | DELETE /api/datasets/{id} | |
delete_all1 | DELETE /api/datasets/all | |
edit_multiple1 | PUT /api/datasets | |
get3 | GET /api/datasets/{id} | |
get4 | GET /api/datasets/name/{name} | |
get_all1 | GET /api/datasets |
count_with_predicate1()
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.DatasetApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.count_with_predicate1()
except ApiException as e:
print("Exception when calling DatasetApi->count_with_predicate1: %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_multiple1(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.DatasetApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.DatasetApiModel()] # list[DatasetApiModel] | (optional)
try:
api_instance.create_multiple1(body=body)
except ApiException as e:
print("Exception when calling DatasetApi->create_multiple1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | list[DatasetApiModel] | [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]
delete1(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.DatasetApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.delete1(id)
except ApiException as e:
print("Exception when calling DatasetApi->delete1: %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_all1()
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.DatasetApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.delete_all1()
except ApiException as e:
print("Exception when calling DatasetApi->delete_all1: %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_multiple1(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.DatasetApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.DatasetApiModel()] # list[DatasetApiModel] | (optional)
try:
api_instance.edit_multiple1(body=body)
except ApiException as e:
print("Exception when calling DatasetApi->edit_multiple1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | list[DatasetApiModel] | [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]
get3(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.DatasetApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.get3(id)
except ApiException as e:
print("Exception when calling DatasetApi->get3: %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]
get4(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.DatasetApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str |
try:
api_instance.get4(name)
except ApiException as e:
print("Exception when calling DatasetApi->get4: %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_all1()
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.DatasetApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.get_all1()
except ApiException as e:
print("Exception when calling DatasetApi->get_all1: %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]