All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| get_version | GET /api/version |
Version get_version()
Get service version.
import flightctl
from flightctl.models.version import Version
from flightctl.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 = flightctl.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with flightctl.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = flightctl.VersionApi(api_client)
try:
api_response = api_instance.get_version()
print("The response of VersionApi->get_version:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling VersionApi->get_version: %s\n" % e)This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too Many Requests | - |
| 503 | Service Unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]