DefaultApi
DefaultApi
All URIs are relative to https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app
Method
HTTP request
Description
getMessage
PingResponse getMessage()
Example
// Import classes:
import org.usemoonai.moonsdk.client.ApiClient;
import org.usemoonai.moonsdk.client.ApiException;
import org.usemoonai.moonsdk.client.Configuration;
import org.usemoonai.moonsdk.client.models.*;
import org.usemoonai.moonsdk.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");
DefaultApi apiInstance = new DefaultApi(defaultClient);
try {
PingResponse result = apiInstance.getMessage();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getMessage");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
Status code
Description
Response headers
200
Ok
-
Last updated