This adds an endpoint at /widgets/ (optionally prefixed by city on multi-city installs) that documents available embeddable widgets hosted by the directory. Currently, the only one is a member list widget:
This widget is essentially an alternative to #34, which provides a JSON API that includes similar information. The difference is that this doesn't require extra code (e.g. a Wordpress plugin) to be written by API clients, and it also allows us to quickly iterate on the widget without needing to update clients.
This adds an endpoint at
/widgets/
(optionally prefixed by city on multi-city installs) that documents available embeddable widgets hosted by the directory. Currently, the only one is a member list widget:This widget is essentially an alternative to #34, which provides a JSON API that includes similar information. The difference is that this doesn't require extra code (e.g. a Wordpress plugin) to be written by API clients, and it also allows us to quickly iterate on the widget without needing to update clients.