analytics/priv/plans_v3.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

75 lines
1.9 KiB
JSON

[
{
"kind":"growth",
"monthly_pageview_limit":10000,
"monthly_product_id":"749342",
"yearly_product_id":"749343",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":100000,
"monthly_product_id":"749344",
"yearly_product_id":"749345",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":200000,
"monthly_product_id":"749346",
"yearly_product_id":"749347",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":500000,
"monthly_product_id":"749348",
"yearly_product_id":"749349",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":1000000,
"monthly_product_id":"749350",
"yearly_product_id":"749352",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":2000000,
"monthly_product_id":"749353",
"yearly_product_id":"749355",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":5000000,
"monthly_product_id":"749356",
"yearly_product_id":"749357",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
},
{
"kind":"growth",
"monthly_pageview_limit":10000000,
"monthly_product_id":"749358",
"yearly_product_id":"749359",
"site_limit":50,
"team_member_limit":"unlimited",
"extra_features":["props","stats_api"]
}
]