All URIs are relative to https://api.egoiapp.com
Method | HTTP request | Description |
---|---|---|
Ping | POST /ping | Pings the API |
Ping Ping ()
Pings the API
Checks if API is up and running
using System.Collections.Generic;
using System.Diagnostics;
using org.egoi.client.api.Api;
using org.egoi.client.api.Client;
using org.egoi.client.api.Model;
namespace Example
{
public class PingExample
{
public static void Main()
{
Configuration.Default.BasePath = "https://api.egoiapp.com";
var apiInstance = new PingApi(Configuration.Default);
try
{
// Pings the API
Ping result = apiInstance.Ping();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PingApi.Ping: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
500 | Internal Server Error | - |
503 | Service Unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]