insights: modify API to take into account frozen insights
Created by: CristinaBirkel
- Add a new field
isFrozento theInsightViewtype in the API and make sure it accurately reflects whether or not the insight is frozen, (based on theis_frozenfield ininsight_view.) - When returning insights, do not return any
dataSeriesdata for frozen insights. - Other restrictions on the API based on whether or not the user has a Code Insights license:
- At the very least, any newly created insights should be automatically created with
is_frozen=TRUE - Consider if it's easy to add in other restrictions, but if not no big deal.
- At the very least, any newly created insights should be automatically created with