tmh, the TeachMeHIPAA CLI

tmh get

Send a GET request to any API path

Synopsis

Sends a GET request to a path relative to the API base URL, which already ends in /v1, with the same authentication and error handling as the resource commands. Transient failures are retried. A literal {orgId} in the path is replaced by the Organization your credentials are bound to.

tmh get <path> [flags]

Examples

  tmh get /organizations/{orgId}/learners --query limit=5

Options

  -h, --help                help for get
      --no-auth             send no Access token, even when logged in; public operations such as /courses never get one
  -o, --output string       save the response body unchanged to this file, or - for stdout when it is piped, whatever its content type
      --query stringArray   query parameter as key=value; repeatable

Options inherited from parent commands

      --idempotency-key string   Idempotency-Key for the write, instead of a generated one
      --live                     use the "live" profile
      --max-retries int          times to retry a transient failure of a request that is safe to replay (default 2)
      --profile string           profile to use: "sandbox" (default) or "live"
      --show-headers             print each HTTP response's status and headers to stderr
      --verbose                  print method, path, status, latency and request id of each HTTP attempt to stderr

SEE ALSO