stats_fetch
Returns aggregated statistics (views, starts, submissions) for a single period. Omit dateFrom/dateTo for alltime stats, provide both for a specific date range, or only provide one of them for an open-ended date range (e.g. dateFrom only for stats since a specific date, dateTo only for stats until a specific date).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | End date (inclusive), format: YYYY-MM-DD. Omit both dateFrom and dateTo to get alltime stats. | |
| dateFrom | No | Start date (inclusive), format: YYYY-MM-DD. Omit both dateFrom and dateTo to get alltime stats. | |
| entityId | Yes | ID of the entity: a project ID (integer as string) for "project", a user ID (integer as string) for "user", a Riddle UUID for "riddle". Get them from project_list, whoami and riddle_list respectively. | |
| namespace | Yes | Entity type to fetch stats for: "project", "user" or "riddle". |