0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/api/canary
Simon Backx 132726fe20
Added MRR stats service and endpoint (#14427)
refs https://github.com/TryGhost/Team/issues/1470

Instead of counting the MRR by resolving all the deltas from the past until now, we should start with the current calculated MRR and resolve it until the first event. That would give a more accurate recent MRR (in exchange for a less accurate MRR for older data) and allows us to limit the amount of returned days in the future.

- Includes MRR stats service that can fetch the current MRR per currency
- The service can return a history of the MRR for every day and currency
- New admin API endpoint /stats/mrr that returns the MRR history
- Includes tests for these new service and endpoint
2022-04-08 09:18:04 +02:00
..
utils Added relation between newsletters and members 2022-04-05 22:23:39 +05:30
actions.js
authentication.js 💡 Updated fixtures to make it easier to get started (#14299) 2022-03-10 17:41:46 +00:00
authors-public.js
config.js
custom-theme-settings.js
db.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
email-post.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
email-preview.js Removed unnecessary email_preview.read serializer 2022-03-29 13:44:51 +01:00
emails.js Added missing e2e emails API browse & retry tests 2022-03-28 17:32:58 +01:00
files.js Added Files API behind an alpha flag 2021-11-08 11:40:17 +04:00
identities.js Removed extraneous permission flag in identities 2022-03-15 14:58:29 +00:00
images.js
index.js Created new stats service and stats API to get member count history (#14391) 2022-03-31 16:01:11 +02:00
integrations.js
invites.js
labels.js
mail.js
media.js Reworked media API thumbnail endpoint 2021-11-29 13:12:47 +04:00
member-signin-urls.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members-stripe-connect.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members.js Removed unused members/stats endpoints 2022-03-29 14:00:04 +01:00
newsletters.js Added the newsletters endpoint 2022-03-31 15:19:58 +02:00
notifications.js
oembed.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
offers.js
pages-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
pages.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
posts-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
posts.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
preview.js
products-public.js Included benefits with theme product data (#14051) 2022-01-24 13:55:25 +02:00
products.js Updated to always invalidate cache on tier edit (#14267) 2022-03-04 15:47:30 +00:00
redirects.js Used DynamicRedirectManager for Custom Redirects 2021-11-03 07:41:55 +13:00
roles.js
schedules.js
session.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
settings-public.js
settings.js 🐛 Fixed Offer Redemptions being over counted (#13988) 2022-01-18 17:56:47 +02:00
site.js
slack.js
slugs.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
snippets.js
stats.js Added MRR stats service and endpoint (#14427) 2022-04-08 09:18:04 +02:00
tags-public.js
tags.js
themes.js
tiers-public.js Added /tiers endpoint to Content API 2022-03-03 15:15:43 +02:00
tiers.js Support tier visibility editing Allowed Tiers Admin API to set visibility 2022-03-07 14:46:42 +00:00
users.js
webhooks.js