Package io.moov.sdk

Class Ping


  • public class Ping
    extends java.lang.Object
    • Method Detail

      • ping

        public PingRequestBuilder ping()
        A simple endpoint to check auth.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/ping.read` scope.

        Returns:
        The call builder
      • pingDirect

        public PingResponse pingDirect()
                                throws java.lang.Exception
        A simple endpoint to check auth.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/ping.read` scope.

        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails