Provides APIs for tenant maintenance
This Python package is automatically generated by the Swagger Codegen project:
- API version: 0.1.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com//.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com//.git
)
Then import the package:
import cvtool_cli_client
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import cvtool_cli_client
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import cvtool_cli_client
from cvtool_cli_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: google_id_token
cvtool_cli_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = cvtool_cli_client.AuthApi()
try:
api_response = api_instance.token()
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthApi->token: %s\n" % e)
All URIs are relative to https://kingpick-admin-api.endpoints.ciandt-cognitive-sandbox.cloud.goog/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AuthApi | token | GET /auth/token | |
ImageApi | add | POST /images | |
ImageApi | export | POST /images/{tenant_id}/export | |
ImageApi | list_all | GET /images | |
JobApi | add_step | POST /jobs/{job_id}/steps | |
JobApi | create | POST /jobs | |
JobApi | end_job | POST /jobs/{job_id}/end | |
JobApi | get | GET /jobs/{job_id} | |
JobApi | start_job | POST /jobs/{job_id}/start | |
ProjectApi | create_project | POST /projects | Creates a new project |
ProjectApi | get_project | GET /projects/{project_id} | |
ProjectApi | list_projects | GET /projects | |
ProjectApi | put_project | PUT /projects/{project_id} | |
TenantApi | get_tenant | GET /tenants/{tenant_id} | |
TenantApi | get_tenants | GET /tenants | |
TenantApi | post_tenant | POST /tenants | |
TenantApi | put_tenant | PUT /tenants/{tenant_id} |
- Annotations
- Error
- ImageListResponse
- ImageRequest
- ImageResponse
- Job
- JobInputParameters
- JobStep
- MetaListResponse
- NewJobRequest
- Project
- Projects
- Settings
- Tenant
- Tenants
- VisionAnnotations
- Type: OAuth
- Flow: implicit
- Authorization URL:
- Scopes: N/A
- Type: OAuth
- Flow: implicit
- Authorization URL:
- Scopes: N/A
- Type: OAuth
- Flow: implicit
- Authorization URL:
- Scopes: N/A