All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| count_with_predicate10 | GET /api/tasks/count | |
| delete10 | DELETE /api/tasks/{id} | |
| delete_all10 | DELETE /api/tasks/all | |
| get21 | GET /api/tasks/{id} | |
| get22 | GET /api/tasks/name/{name} | |
| get_all10 | GET /api/tasks | |
| purge | DELETE /api/tasks/purge |
count_with_predicate10()
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.TaskApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.count_with_predicate10()
except ApiException as e:
print("Exception when calling TaskApi->count_with_predicate10: %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]
delete10(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.TaskApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.delete10(id)
except ApiException as e:
print("Exception when calling TaskApi->delete10: %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_all10()
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.TaskApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.delete_all10()
except ApiException as e:
print("Exception when calling TaskApi->delete_all10: %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]
get21(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.TaskApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.get21(id)
except ApiException as e:
print("Exception when calling TaskApi->get21: %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]
get22(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.TaskApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str |
try:
api_instance.get22(name)
except ApiException as e:
print("Exception when calling TaskApi->get22: %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_all10()
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.TaskApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.get_all10()
except ApiException as e:
print("Exception when calling TaskApi->get_all10: %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]
purge(older_than_in_days=older_than_in_days, limit=limit)
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.TaskApi(thirdeye_client.ApiClient(configuration))
older_than_in_days = 30 # int | Older than (number of days) (optional) (default to 30)
limit = 1000 # int | Max Entries to delete (optional) (default to 1000)
try:
api_instance.purge(older_than_in_days=older_than_in_days, limit=limit)
except ApiException as e:
print("Exception when calling TaskApi->purge: %s\n" % e)
| Name | Type | Description | Notes |
|---|---|---|---|
| older_than_in_days | int | Older than (number of days) | [optional] [default to 30] |
| limit | int | Max Entries to delete | [optional] [default to 1000] |
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]