Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cyberwave.com/llms.txt

Use this file to discover all available pages before exploring further.

cyberwave.rest.CloudNodeApi

All URIs are relative to http://localhost
MethodHTTP requestDescription
src_app_api_cloud_nodes_create_instancePOST /api/v1/cloud-nodeCreate Instance
src_app_api_cloud_nodes_get_instance_logsGET /api/v1/cloud-node/instances/{instance_uuid}/logsGet Instance Logs
src_app_api_cloud_nodes_get_instance_metadataGET /api/v1/cloud-node/instances/{instance_uuid}/metadataGet Instance Metadata
src_app_api_cloud_nodes_get_instance_statusGET /api/v1/cloud-node/instances/{instance_uuid}/statusGet Instance Status
src_app_api_cloud_nodes_list_instancesGET /api/v1/cloud-node/instancesList Instances
src_app_api_cloud_nodes_mark_instance_failedPOST /api/v1/cloud-node/{uuid}/failedMark Instance Failed
src_app_api_cloud_nodes_mark_instance_terminatedPOST /api/v1/cloud-node/{uuid}/terminatedMark Instance Terminated
src_app_api_cloud_nodes_record_heartbeatPOST /api/v1/cloud-node/{uuid}/heartbeatRecord Heartbeat
src_app_api_cloud_nodes_register_gpu_instancePOST /api/v1/cloud-node/{uuid}/registerRegister Gpu Instance
src_app_api_cloud_nodes_save_cloud_node_instance_logPOST /api/v1/cloud-node/{uuid}/logSave Cloud Node Instance Log

src_app_api_cloud_nodes_create_instance

CloudNodeInstanceSchema src_app_api_cloud_nodes_create_instance(cloud_node_instance_create_request)
Create Instance Create a new Cloud Node instance. The backend is the owner of the UUID and slug:
  • If slug is provided, it must be unique within the workspace
  • If slug is not provided, an auto-generated slug will be created

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_instance_create_request import CloudNodeInstanceCreateRequest
from cyberwave.rest.models.cloud_node_instance_schema import CloudNodeInstanceSchema
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    cloud_node_instance_create_request = cyberwave.rest.CloudNodeInstanceCreateRequest() # CloudNodeInstanceCreateRequest | 

    try:
        # Create Instance
        api_response = api_instance.src_app_api_cloud_nodes_create_instance(cloud_node_instance_create_request)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_create_instance:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_create_instance: %s\n" % e)

Parameters

NameTypeDescriptionNotes
cloud_node_instance_create_requestCloudNodeInstanceCreateRequest

Return type

CloudNodeInstanceSchema

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_get_instance_logs

CloudNodeInstanceLogsResponse src_app_api_cloud_nodes_get_instance_logs(instance_uuid, log_type=log_type, limit=limit)
Get Instance Logs Retrieve logs for a Cloud Node (GPU) instance. Returns log metadata and the combined content of the most recent log entries, limited to the last N lines (default 100). Args: instance_uuid: UUID of the Cloud Node instance log_type: Optional filter by log type (“stdout”, “stderr”, “system”, “app”) limit: Maximum number of lines to return (default 100, max 1000)

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_instance_logs_response import CloudNodeInstanceLogsResponse
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    instance_uuid = 'instance_uuid_example' # str | 
    log_type = 'log_type_example' # str |  (optional)
    limit = 100 # int |  (optional) (default to 100)

    try:
        # Get Instance Logs
        api_response = api_instance.src_app_api_cloud_nodes_get_instance_logs(instance_uuid, log_type=log_type, limit=limit)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_get_instance_logs:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_get_instance_logs: %s\n" % e)

Parameters

NameTypeDescriptionNotes
instance_uuidstr
log_typestr[optional]
limitint[optional] [default to 100]

Return type

CloudNodeInstanceLogsResponse

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_get_instance_metadata

Dict[str, object] src_app_api_cloud_nodes_get_instance_metadata(instance_uuid)
Get Instance Metadata Get the metadata for a Cloud Node instance. Used by Cloud Node services to self-configure at startup by fetching their instance-specific configuration (weights URLs, twin UUIDs, etc.) without needing every field passed as environment variables. Authentication: Requires CYBERWAVE_API_KEY (admin token or instance-specific token)

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    instance_uuid = 'instance_uuid_example' # str | 

    try:
        # Get Instance Metadata
        api_response = api_instance.src_app_api_cloud_nodes_get_instance_metadata(instance_uuid)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_get_instance_metadata:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_get_instance_metadata: %s\n" % e)

Parameters

NameTypeDescriptionNotes
instance_uuidstr

Return type

Dict[str, object]

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_get_instance_status

CloudNodeInstanceStatusResponse src_app_api_cloud_nodes_get_instance_status(instance_uuid)
Get Instance Status Get the current status of a Cloud Node (GPU) instance. Used by Cloud Node (GPU) services to check their registration status and by monitoring systems to verify instance health.

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_instance_status_response import CloudNodeInstanceStatusResponse
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    instance_uuid = 'instance_uuid_example' # str | 

    try:
        # Get Instance Status
        api_response = api_instance.src_app_api_cloud_nodes_get_instance_status(instance_uuid)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_get_instance_status:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_get_instance_status: %s\n" % e)

Parameters

NameTypeDescriptionNotes
instance_uuidstr

Return type

CloudNodeInstanceStatusResponse

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_list_instances

List[CloudNodeInstanceSchema] src_app_api_cloud_nodes_list_instances(profile_slug=profile_slug, status=status, workspace_slug=workspace_slug)
List Instances List Cloud Node instances for a workspace. Optionally filter by profile_slug or status. If workspace_slug is provided, uses that workspace; otherwise uses the user’s default.

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_instance_schema import CloudNodeInstanceSchema
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    profile_slug = 'profile_slug_example' # str |  (optional)
    status = 'status_example' # str |  (optional)
    workspace_slug = 'workspace_slug_example' # str |  (optional)

    try:
        # List Instances
        api_response = api_instance.src_app_api_cloud_nodes_list_instances(profile_slug=profile_slug, status=status, workspace_slug=workspace_slug)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_list_instances:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_list_instances: %s\n" % e)

Parameters

NameTypeDescriptionNotes
profile_slugstr[optional]
statusstr[optional]
workspace_slugstr[optional]

Return type

List[CloudNodeInstanceSchema]

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_mark_instance_failed

CloudNodeFailedResponse src_app_api_cloud_nodes_mark_instance_failed(uuid, cloud_node_failed_request)
Mark Instance Failed Mark a Cloud Node (GPU) instance as failed. Called by the GitHub Actions workflow when provisioning fails or the instance crashes unexpectedly. Any associated workloads will be re-queued.

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_failed_request import CloudNodeFailedRequest
from cyberwave.rest.models.cloud_node_failed_response import CloudNodeFailedResponse
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    uuid = 'uuid_example' # str | 
    cloud_node_failed_request = cyberwave.rest.CloudNodeFailedRequest() # CloudNodeFailedRequest | 

    try:
        # Mark Instance Failed
        api_response = api_instance.src_app_api_cloud_nodes_mark_instance_failed(uuid, cloud_node_failed_request)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_mark_instance_failed:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_mark_instance_failed: %s\n" % e)

Parameters

NameTypeDescriptionNotes
uuidstr
cloud_node_failed_requestCloudNodeFailedRequest

Return type

CloudNodeFailedResponse

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_mark_instance_terminated

CloudNodeTerminatedResponse src_app_api_cloud_nodes_mark_instance_terminated(uuid, cloud_node_terminated_request)
Mark Instance Terminated Mark a Cloud Node (GPU) instance as terminated. Called by the package (cyberwave-cloud-node) once a termination is triggered OR by the GitHub Actions workflow after Terraform has successfully (when used by us)

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_terminated_request import CloudNodeTerminatedRequest
from cyberwave.rest.models.cloud_node_terminated_response import CloudNodeTerminatedResponse
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    uuid = 'uuid_example' # str | 
    cloud_node_terminated_request = cyberwave.rest.CloudNodeTerminatedRequest() # CloudNodeTerminatedRequest | 

    try:
        # Mark Instance Terminated
        api_response = api_instance.src_app_api_cloud_nodes_mark_instance_terminated(uuid, cloud_node_terminated_request)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_mark_instance_terminated:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_mark_instance_terminated: %s\n" % e)

Parameters

NameTypeDescriptionNotes
uuidstr
cloud_node_terminated_requestCloudNodeTerminatedRequest

Return type

CloudNodeTerminatedResponse

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_record_heartbeat

CloudeNodeHeartbeatResponse src_app_api_cloud_nodes_record_heartbeat(uuid)
Record Heartbeat Record a heartbeat from a Cloud Node (GPU) instance. Called periodically by the Cloud Node (GPU) service to signal it is alive and healthy. Missing heartbeats will cause the instance to be marked as stale and terminated.

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloude_node_heartbeat_response import CloudeNodeHeartbeatResponse
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    uuid = 'uuid_example' # str | 

    try:
        # Record Heartbeat
        api_response = api_instance.src_app_api_cloud_nodes_record_heartbeat(uuid)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_record_heartbeat:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_record_heartbeat: %s\n" % e)

Parameters

NameTypeDescriptionNotes
uuidstr

Return type

CloudeNodeHeartbeatResponse

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_register_gpu_instance

CloudeNodeInstanceRegisterResponse src_app_api_cloud_nodes_register_gpu_instance(uuid, cloud_node_instance_register_request)
Register Gpu Instance Register a Cloud Node (GPU) instance after it has booted and is ready to serve. Called by the Cloud Node (GPU) service once its dependencies (e.g. CUDA, etc) are available and the service is listening. This endpoint only registers an existing instance. The instance must have been created via the create endpoint first. The profile_slug can be updated during registration to reflect the actual running profile.

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_instance_register_request import CloudNodeInstanceRegisterRequest
from cyberwave.rest.models.cloude_node_instance_register_response import CloudeNodeInstanceRegisterResponse
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    uuid = 'uuid_example' # str | 
    cloud_node_instance_register_request = cyberwave.rest.CloudNodeInstanceRegisterRequest() # CloudNodeInstanceRegisterRequest | 

    try:
        # Register Gpu Instance
        api_response = api_instance.src_app_api_cloud_nodes_register_gpu_instance(uuid, cloud_node_instance_register_request)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_register_gpu_instance:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_register_gpu_instance: %s\n" % e)

Parameters

NameTypeDescriptionNotes
uuidstr
cloud_node_instance_register_requestCloudNodeInstanceRegisterRequest

Return type

CloudeNodeInstanceRegisterResponse

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-

src_app_api_cloud_nodes_save_cloud_node_instance_log

CloudNodeLogResponse src_app_api_cloud_nodes_save_cloud_node_instance_log(uuid, cloud_node_log_request)
Save Cloud Node Instance Log Save a log entry for a Cloud Node (GPU) instance. Logs are stored asynchronously in GCS with metadata in the database. This allows Cloud Node instances to stream logs without blocking.

Example

  • Api Key Authentication (CustomTokenAuthentication):
import cyberwave.rest
from cyberwave.rest.models.cloud_node_log_request import CloudNodeLogRequest
from cyberwave.rest.models.cloud_node_log_response import CloudNodeLogResponse
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# 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: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CloudNodeApi(api_client)
    uuid = 'uuid_example' # str | 
    cloud_node_log_request = cyberwave.rest.CloudNodeLogRequest() # CloudNodeLogRequest | 

    try:
        # Save Cloud Node Instance Log
        api_response = api_instance.src_app_api_cloud_nodes_save_cloud_node_instance_log(uuid, cloud_node_log_request)
        print("The response of CloudNodeApi->src_app_api_cloud_nodes_save_cloud_node_instance_log:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CloudNodeApi->src_app_api_cloud_nodes_save_cloud_node_instance_log: %s\n" % e)

Parameters

NameTypeDescriptionNotes
uuidstr
cloud_node_log_requestCloudNodeLogRequest

Return type

CloudNodeLogResponse

Authorization

CustomTokenAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-