Hey :wave: Is it possible to add a button on the ...
# give-feedback
b
Hey 👋 Is it possible to add a button on the
Features
page that exports a json file with the features viewable on the dashboard?
f
Hello. What would be the main use case for this?
b
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
f
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?
b
Yes
I'm thinking something like this
f
What about a simple shell script that does a
wget
or
curl
to the /api/features/ endpoint? Then a developer could run
./update-experiments.sh
instead of going to the GrowthBook dashboard. Would that work for your use case?
b
Done, thanks!
I ended up just accessing the API anyways if the cache returned an empty value