Lettermint.Types.GetStatsQuery (Lettermint v2.1.0)

Copy Markdown View Source

Query parameters of GET /stats (getStats).

Pass them as a map with nested maps for bracketed names: %{page: %{size: 10}} is sent as page[size]=10. Lists of values are joined with commas, lists of maps are indexed and booleans are sent as 1 or 0.

Parameters

  • from (required)
  • to (required)
  • project_id (optional)
  • include_machine (optional)

Summary

Functions

The wire names of the parameters with their decode specs.

Types

t()

@type t() :: %{
  :from => String.t(),
  :to => String.t(),
  optional(:project_id) => String.t() | nil,
  optional(:include_machine) => boolean()
}

Functions

__params__()

The wire names of the parameters with their decode specs.