All URIs are relative to https://beta.usemoon.ai
Method | HTTP request | Description |
---|---|---|
get_message | GET /ping |
PingResponse get_message()
import moonsdk
from moonsdk.models.ping_response import PingResponse
from moonsdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://beta.usemoon.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = moonsdk.Configuration(
host = "https://beta.usemoon.ai"
)
# Enter a context with an instance of the API client
async with moonsdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = moonsdk.DefaultApi(api_client)
try:
api_response = await api_instance.get_message()
print("The response of DefaultApi->get_message:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DefaultApi->get_message: %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 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]