NodePing.Checks.get_last_result

You're seeing just the function get_last_result, go back to NodePing.Checks module for more information.
Link to this function

get_last_result(token, id, opts \\ [])

View Source

Specs

get_last_result(token :: bitstring(), id :: bitstring(), opts :: list()) ::
  tuple()

Get the last result for a specified check

Parameters

  • token - NodePing API token that is provided with account
  • id - Check ID of the check you want to fetch the last result for
  • opts - Optional list of tuples to specify results

Opts - list of tuples

  • customerid - optional ID to access a subaccount
  • uptime - boolean - If this parameter is present the check's uptime will be added to the response