Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 492 Bytes

File metadata and controls

20 lines (14 loc) · 492 Bytes

Check API availability

Here, viewServiceAvailability() creates a GET request to /heartbeat

This endpoint returns the current status of the API.

Usage/Examples

MMClient mmClient = new MMClient("<Place your consumer key>", "<Place your consumer secret>", "<Place your API key>");
ServiceAvailability serviceAvailability = mmClient.addRequest(new AgentServiceRequest()).viewServiceAvailability();

Response Example

{
  "serviceStatus": "available"
}