page that exports a json file with the features viewable on the dashboard?
05/30/2022, 1:37 PM
Hello. What would be the main use case for this?
05/30/2022, 1:45 PM
We need it to be able to take the current features of our growthbook instance and export them to a developers local machine for checking features.
Our webhooks are updating our deployed versions of our apps, but they can't update local machines. And we don't want to start implementing GET on /api/features/ from local machines
05/30/2022, 1:48 PM
I see. So you are caching features in Redis (or similar) and the developer would download the feature.json file, update their local Redis instance, and then test the app. Is that right?
05/30/2022, 1:50 PM
I'm thinking something like this
05/30/2022, 1:55 PM
What about a simple shell script that does a
to the /api/features/ endpoint? Then a developer could run
instead of going to the GrowthBook dashboard. Would that work for your use case?
05/30/2022, 7:56 PM
I ended up just accessing the API anyways if the cache returned an empty value