Skip to contents

Check API health

Usage

tm_healthcheck(base_url = tm_base_url())

Arguments

base_url

Base URL of the TransitMatters API. Defaults to getOption("tm_dashboard_base_url") or the production host.

Value

A list with fields status (string) and optionally failed_checks.

Examples

if (FALSE) { # \dontrun{
tm_healthcheck()
} # }