{"version":"1.0","type":"rich","title":"Reflux REST mixin","description":"This example demonstrates a Reflux mixin that syncs store actions with a REST API, exposing fetch, save, and delete operations that return promises. It uses the `window.fetch` API wrapped in a custom `sync` function, with `whatwg-fetch` polyfill and `defaults` for request headers. The mixin maps GET, POST, PUT, and DELETE requests to Reflux actions, triggering `.completed` or `.failed` handlers, and supports query-string serialization for GET params. Data flows through Reflux stores with `assign` for merging model updates and `JSON` for request/response bodies.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-8fd79bf8d778814d506b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}