analytics/priv/plans_v1.json
Vini Brasil c0fe2a3996
Implement Stats API feature gate (#3411)
* Include ApiKey functions in Auth context

* Make feature notice work without %Site{}

Previously the extra feature notice required a %Site{} in order to check
the owner plan. However, not every feature is scoped by site, for
example the Stats API. For features like this, a %User{} is required,
and not a %Site{}.

This commit replaces the `:site` param with `:billable_user`, which is
common to both site and user-scoped features.

* Add stats_api to the list of extra features

* Limit API Key creation based on user plan
2023-10-11 17:24:16 -03:00

93 lines
2.3 KiB
JSON

[
{
"kind":"growth",
"monthly_pageview_limit":10000,
"monthly_product_id":"558018",
"yearly_product_id":"572810",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":100000,
"monthly_product_id":"558745",
"yearly_product_id":"590752",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":200000,
"monthly_product_id":"597485",
"yearly_product_id":"597486",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":500000,
"monthly_product_id":"597487",
"yearly_product_id":"597488",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":1000000,
"monthly_product_id":"597642",
"yearly_product_id":"597643",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":2000000,
"monthly_product_id":"597309",
"yearly_product_id":"597310",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":5000000,
"monthly_product_id":"597311",
"yearly_product_id":"597312",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":10000000,
"monthly_product_id":"642352",
"yearly_product_id":"642354",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":20000000,
"monthly_product_id":"642355",
"yearly_product_id":"642356",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":50000000,
"monthly_product_id":"650652",
"yearly_product_id":"650653",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
}
]