GamendWeb.Api.V1.StatsController (gamend_web v1.0.1215)

Copy Markdown View Source

GET /api/v1/stats — every public counter in one response, from Gamend.Analytics.snapshot/0. The per-resource /<resource>/stats endpoints keep working and read the same cached composition; this one saves a client six requests. Gated by :public_stats like the others.

Summary

Functions

open_api_operation(action)

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

shared_security()

shared_tags()

show(conn, params)