All URIs are relative to http://X.X.X.X/seldon-deploy/api/v1alpha1
Method | HTTP request | Description |
---|---|---|
read_cluster | GET /cluster | |
read_health_check | GET /healthcheck | |
read_user | GET /user | |
read_version | GET /version |
ClusterInfo read_cluster()
Read the cluster info
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = seldon_deploy_sdk.EnvironmentApi(seldon_deploy_sdk.ApiClient(configuration))
try:
api_response = api_instance.read_cluster()
pprint(api_response)
except ApiException as e:
print("Exception when calling EnvironmentApi->read_cluster: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HealthCheckInfo read_health_check()
Read the healthcheck
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = seldon_deploy_sdk.EnvironmentApi(seldon_deploy_sdk.ApiClient(configuration))
try:
api_response = api_instance.read_health_check()
pprint(api_response)
except ApiException as e:
print("Exception when calling EnvironmentApi->read_health_check: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserInfo read_user()
Read the request user
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = seldon_deploy_sdk.EnvironmentApi(seldon_deploy_sdk.ApiClient(configuration))
try:
api_response = api_instance.read_user()
pprint(api_response)
except ApiException as e:
print("Exception when calling EnvironmentApi->read_user: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VersionInfo read_version()
Read the version
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = seldon_deploy_sdk.EnvironmentApi(seldon_deploy_sdk.ApiClient(configuration))
try:
api_response = api_instance.read_version()
pprint(api_response)
except ApiException as e:
print("Exception when calling EnvironmentApi->read_version: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]