GET | /v1/healthcheck |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class HealthCheck
{
}
public static class HealthCheckResponse
{
public String status = null;
public String version = null;
public String getStatus() { return status; }
public HealthCheckResponse setStatus(String value) { this.status = value; return this; }
public String getVersion() { return version; }
public HealthCheckResponse setVersion(String value) { this.version = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/healthcheck HTTP/1.1 Host: prod-api-auth-mb-dhc.rapp-customers.co.uk Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"status":"String","version":"String"}