All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
api_v2_diagnostics_components_get | GET /api/v2/diagnostics/components | |
api_v2_diagnostics_operations_delete_delete | DELETE /api/v2/diagnostics/operations/delete | |
api_v2_diagnostics_operations_delete_id_delete | DELETE /api/v2/diagnostics/operations/delete/{id} | |
api_v2_diagnostics_operations_export_get | GET /api/v2/diagnostics/operations/export | |
api_v2_diagnostics_operations_export_id_get | GET /api/v2/diagnostics/operations/export/{id} | |
api_v2_diagnostics_operations_export_id_result_get | GET /api/v2/diagnostics/operations/export/{id}/result | |
api_v2_diagnostics_operations_export_post | POST /api/v2/diagnostics/operations/export |
List[DiagnosticComponent] api_v2_diagnostics_components_get()
Get the list of diagnostic components.
- OAuth Authentication (OAuth2):
- OAuth Authentication (OAuth2):
import cyperf
from cyperf.models.diagnostic_component import DiagnosticComponent
from cyperf.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 = cyperf.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.
configuration.access_token = os.environ["ACCESS_TOKEN"]
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with cyperf.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cyperf.DiagnosticsApi(api_client)
try:
api_response = api_instance.api_v2_diagnostics_components_get()
print("The response of DiagnosticsApi->api_v2_diagnostics_components_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DiagnosticsApi->api_v2_diagnostics_components_get: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | The list of available components. | - |
500 | Unexpected error. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str api_v2_diagnostics_operations_delete_delete()
- OAuth Authentication (OAuth2):
- OAuth Authentication (OAuth2):
import cyperf
from cyperf.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 = cyperf.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.
configuration.access_token = os.environ["ACCESS_TOKEN"]
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with cyperf.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cyperf.DiagnosticsApi(api_client)
try:
api_response = api_instance.api_v2_diagnostics_operations_delete_delete()
print("The response of DiagnosticsApi->api_v2_diagnostics_operations_delete_delete:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DiagnosticsApi->api_v2_diagnostics_operations_delete_delete: %s\n" % e)
This endpoint does not need any parameter.
str
- Content-Type: Not defined
- Accept: text/plain
Status code | Description | Response headers |
---|---|---|
200 | Delete all the existing archives from the backend. | - |
500 | Unexpected error. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str api_v2_diagnostics_operations_delete_id_delete(id)
- OAuth Authentication (OAuth2):
- OAuth Authentication (OAuth2):
import cyperf
from cyperf.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 = cyperf.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.
configuration.access_token = os.environ["ACCESS_TOKEN"]
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with cyperf.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cyperf.DiagnosticsApi(api_client)
id = 56 # int | The subresource id of the operation.
try:
api_response = api_instance.api_v2_diagnostics_operations_delete_id_delete(id)
print("The response of DiagnosticsApi->api_v2_diagnostics_operations_delete_id_delete:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DiagnosticsApi->api_v2_diagnostics_operations_delete_id_delete: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | The subresource id of the operation. |
str
- Content-Type: Not defined
- Accept: text/plain
Status code | Description | Response headers |
---|---|---|
200 | Delete all the existing archives from the backend. | - |
500 | Unexpected error. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[ArchiveInfo] api_v2_diagnostics_operations_export_get()
- OAuth Authentication (OAuth2):
- OAuth Authentication (OAuth2):
import cyperf
from cyperf.models.archive_info import ArchiveInfo
from cyperf.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 = cyperf.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.
configuration.access_token = os.environ["ACCESS_TOKEN"]
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with cyperf.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cyperf.DiagnosticsApi(api_client)
try:
api_response = api_instance.api_v2_diagnostics_operations_export_get()
print("The response of DiagnosticsApi->api_v2_diagnostics_operations_export_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DiagnosticsApi->api_v2_diagnostics_operations_export_get: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | The list of available archives. | - |
500 | Unexpected error. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AsyncOperationResponse api_v2_diagnostics_operations_export_id_get(id)
Get the state of an ongoing operation.
- OAuth Authentication (OAuth2):
- OAuth Authentication (OAuth2):
import cyperf
from cyperf.models.async_operation_response import AsyncOperationResponse
from cyperf.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 = cyperf.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.
configuration.access_token = os.environ["ACCESS_TOKEN"]
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with cyperf.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cyperf.DiagnosticsApi(api_client)
id = 56 # int | The ID of the async operation.
try:
api_response = api_instance.api_v2_diagnostics_operations_export_id_get(id)
print("The response of DiagnosticsApi->api_v2_diagnostics_operations_export_id_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DiagnosticsApi->api_v2_diagnostics_operations_export_id_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | The ID of the async operation. |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Details about the ongoing operation. | - |
500 | Unexpected error. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bytearray api_v2_diagnostics_operations_export_id_result_get(id)
Download the diagnostics from the operation with the specified id.
- OAuth Authentication (OAuth2):
- OAuth Authentication (OAuth2):
import cyperf
from cyperf.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 = cyperf.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.
configuration.access_token = os.environ["ACCESS_TOKEN"]
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with cyperf.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cyperf.DiagnosticsApi(api_client)
id = 56 # int | The ID of the async operation.
try:
api_response = api_instance.api_v2_diagnostics_operations_export_id_result_get(id)
print("The response of DiagnosticsApi->api_v2_diagnostics_operations_export_id_result_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DiagnosticsApi->api_v2_diagnostics_operations_export_id_result_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | The ID of the async operation. |
bytearray
- Content-Type: Not defined
- Accept: application/zip
Status code | Description | Response headers |
---|---|---|
200 | Successfully started the diagnostic download. | - |
500 | Unexpected error. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AsyncOperationResponse api_v2_diagnostics_operations_export_post(diagnostic_component_context=diagnostic_component_context)
Start the diagnostic export operation.
- OAuth Authentication (OAuth2):
- OAuth Authentication (OAuth2):
import cyperf
from cyperf.models.async_operation_response import AsyncOperationResponse
from cyperf.models.diagnostic_component_context import DiagnosticComponentContext
from cyperf.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 = cyperf.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.
configuration.access_token = os.environ["ACCESS_TOKEN"]
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with cyperf.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cyperf.DiagnosticsApi(api_client)
diagnostic_component_context = cyperf.DiagnosticComponentContext() # DiagnosticComponentContext | The list of diagnostic components to export. If the list is empty, all components will be exported. (optional)
try:
api_response = api_instance.api_v2_diagnostics_operations_export_post(diagnostic_component_context=diagnostic_component_context)
print("The response of DiagnosticsApi->api_v2_diagnostics_operations_export_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DiagnosticsApi->api_v2_diagnostics_operations_export_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
diagnostic_component_context | DiagnosticComponentContext | The list of diagnostic components to export. If the list is empty, all components will be exported. | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
202 | Details about the operation that just started. | - |
500 | Unexpected error. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]