mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
071ab9774b
no issue - moves members stats generation for the admin graph from the client to the server - outputs a basic totals count across a requested date range of 30, 90, 365 days, or all time. See below for the response shape - leaves heavy lifting of the counts to the SQL engines - tested on a dataset of 100k members and query performance is <100ms ``` GET /ghost/api/canary/members/stats/?days=30 { total: 100000, total_in_range: 20000, total_on_date: { '2020-04-25': 19000, '2020-04-26': 19500, // continues until today's date }, new_today: 200 } ``` |
||
---|---|---|
.. | ||
api | ||
exporter | ||
importer | ||
migrations | ||
models | ||
site | ||
update-check | ||
README.md |
Regression Tests
This folder should contain packages which we test in a cron job once per day. These tests should ensure that we don't break Ghost.
The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.