You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Waffle currently has a view to expose flag state as Javascript via the WaffleJS endpoint.
But there are a number of use cases, e.g. backend API calls, where it would be preferable to expose that state in a serialized format like JSON.
For use cases like an audit dashboard, the view might also expose metadata such as the total number of active and and inactive flags of each type, and the number of stale flags (i.e. more than X days since last toggled).
I propose a new backend function that queries the database and returns this data, and a new endpoint that returns the data as JSON.
The text was updated successfully, but these errors were encountered:
Waffle currently has a view to expose flag state as Javascript via the WaffleJS endpoint.
But there are a number of use cases, e.g. backend API calls, where it would be preferable to expose that state in a serialized format like JSON.
For use cases like an audit dashboard, the view might also expose metadata such as the total number of active and and inactive flags of each type, and the number of stale flags (i.e. more than X days since last toggled).
I propose a new backend function that queries the database and returns this data, and a new endpoint that returns the data as JSON.
The text was updated successfully, but these errors were encountered: