No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Python package is automatically generated by the OpenAPI Generator project:
- API version: prod
- Package version: 1.3.0
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python 3.9+
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import nuvolos_client_apiInstall 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 nuvolos_client_apiExecute pytest to run the tests.
Please follow the installation procedure and then run the following:
import nuvolos_client_api
from nuvolos_client_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.nuvolos.cloud
# See configuration.py for a list of all supported configuration parameters.
configuration = nuvolos_client_api.Configuration(
host = "https://api.nuvolos.cloud/"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with nuvolos_client_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = nuvolos_client_api.AppsV1Api(api_client)
org_slug = 'org_slug_example' # str |
space_slug = 'space_slug_example' # str |
instance_slug = 'instance_slug_example' # str |
snapshot_slug = 'snapshot_slug_example' # str |
try:
api_response = api_instance.get_apps(org_slug, space_slug, instance_slug, snapshot_slug)
print("The response of AppsV1Api->get_apps:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AppsV1Api->get_apps: %s\n" % e)All URIs are relative to https://api.nuvolos.cloud
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AppsV1Api | get_apps | GET /apps/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug} | |
| DistributionV1Api | distribute_content | POST /distribution/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug} | |
| FilesV1Api | get_files_in_files_area | GET /files/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/files | |
| FilesV1Api | get_files_in_files_area_0 | GET /files/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/files/{local_path} | |
| FilesV1Api | get_files_in_home_area | GET /files/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/home | |
| FilesV1Api | get_files_in_home_area_0 | GET /files/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/home/{local_path} | |
| InstancesV1Api | create_snapshot | POST /instances/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshots | |
| InstancesV1Api | get_instances | GET /instances/v1/org/{org_slug}/space/{space_slug} | |
| OrganizationsV1Api | get_orgs | GET /orgs/v1 | |
| SnapshotsV1Api | delete_snapshot | DELETE /snapshots/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug} | |
| SnapshotsV1Api | get_snapshots | GET /snapshots/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug} | |
| SpacesV1Api | get_spaces | GET /spaces/v1/org/{slug} | |
| TablesV1Api | delete_table | DELETE /tables/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/table/{table_slug} | |
| TablesV1Api | get_schema_ddl | GET /tables/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/get_ddl | |
| TablesV1Api | get_table_columns | GET /tables/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/table/{table_slug}/columns | |
| TablesV1Api | get_table_ddl | GET /tables/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/table/{table_slug}/get_ddl | |
| TablesV1Api | get_tables | GET /tables/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug} | |
| TablesV1Api | rename_table | PATCH /tables/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}/table/{table_slug} | |
| TasksV1Api | get_task | GET /tasks/v1/{tkid} | |
| WorkloadsV1Api | create_workload | POST /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug} | |
| WorkloadsV1Api | delete_workload | DELETE /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug} | |
| WorkloadsV1Api | execute_command | POST /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}/execute | |
| WorkloadsV1Api | get_nodepools | GET /workloads/v1/nodepools | |
| WorkloadsV1Api | get_workloads | GET /workloads/v1 | |
| WorkloadsV1Api | get_workloads_for_app | GET /workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug} |
- APINodePool
- Application
- ClientApiError
- ColumnPublic
- DDL
- DistributionRequest
- ExecuteCommand
- ExecuteCommandResponse
- FilePublic
- Instance
- Org
- Snapshot
- SnapshotCreateRequest
- Space
- StartApp
- Table
- TableUpdate
- Task
- Task1
- WorkloadDetailed
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header