Skip to content

Latest commit

 

History

History
404 lines (275 loc) · 11 KB

EnumerationItemApi.md

File metadata and controls

404 lines (275 loc) · 11 KB

thirdeye_client.EnumerationItemApi

All URIs are relative to https://localhost

Method HTTP request Description
count_with_predicate5 GET /api/enumeration-items/count
create_multiple5 POST /api/enumeration-items
delete5 DELETE /api/enumeration-items/{id}
delete_all5 DELETE /api/enumeration-items/all
edit_multiple5 PUT /api/enumeration-items
get11 GET /api/enumeration-items/{id}
get12 GET /api/enumeration-items/name/{name}
get_all5 GET /api/enumeration-items

count_with_predicate5

count_with_predicate5()

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))

try:
    api_instance.count_with_predicate5()
except ApiException as e:
    print("Exception when calling EnumerationItemApi->count_with_predicate5: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_multiple5

create_multiple5(body=body)

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.EnumerationItemApiModel()] # list[EnumerationItemApiModel] |  (optional)

try:
    api_instance.create_multiple5(body=body)
except ApiException as e:
    print("Exception when calling EnumerationItemApi->create_multiple5: %s\n" % e)

Parameters

Name Type Description Notes
body list[EnumerationItemApiModel] [optional]

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete5

delete5(id)

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))
id = 789 # int | 

try:
    api_instance.delete5(id)
except ApiException as e:
    print("Exception when calling EnumerationItemApi->delete5: %s\n" % e)

Parameters

Name Type Description Notes
id int

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_all5

delete_all5()

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))

try:
    api_instance.delete_all5()
except ApiException as e:
    print("Exception when calling EnumerationItemApi->delete_all5: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

edit_multiple5

edit_multiple5(body=body)

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.EnumerationItemApiModel()] # list[EnumerationItemApiModel] |  (optional)

try:
    api_instance.edit_multiple5(body=body)
except ApiException as e:
    print("Exception when calling EnumerationItemApi->edit_multiple5: %s\n" % e)

Parameters

Name Type Description Notes
body list[EnumerationItemApiModel] [optional]

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get11

get11(id)

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))
id = 789 # int | 

try:
    api_instance.get11(id)
except ApiException as e:
    print("Exception when calling EnumerationItemApi->get11: %s\n" % e)

Parameters

Name Type Description Notes
id int

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get12

get12(name)

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str | 

try:
    api_instance.get12(name)
except ApiException as e:
    print("Exception when calling EnumerationItemApi->get12: %s\n" % e)

Parameters

Name Type Description Notes
name str

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_all5

get_all5()

Example

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.EnumerationItemApi(thirdeye_client.ApiClient(configuration))

try:
    api_instance.get_all5()
except ApiException as e:
    print("Exception when calling EnumerationItemApi->get_all5: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]