1.7 KiB
1.7 KiB
rugmunch.MetaApi
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| version_version_get | GET /version | Version |
version_version_get
Dict[str, object] version_version_get()
Version
Backend version + git info.
Example
import rugmunch
from rugmunch.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 = rugmunch.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with rugmunch.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = rugmunch.MetaApi(api_client)
try:
# Version
api_response = api_instance.version_version_get()
print("The response of MetaApi->version_version_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling MetaApi->version_version_get: %s\n" % e)
Parameters
This endpoint does not need any parameter.
Return type
Dict[str, object]
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]