GamendWeb.Api.V1.TimeController (gamend_web v1.0.1216)

Copy Markdown View Source

The server's clock, so a client can render in server-time space instead of guessing from HTTP Date headers, which have one-second resolution.

Unauthenticated on purpose: a clock is not a secret, and a client needs it before it has finished signing in.

Summary

Functions

open_api_operation(action)

@spec open_api_operation(atom()) :: OpenApiSpex.Operation.t()

shared_security()

shared_tags()

show(conn, params)