View a Widget - resource-watch/ocean-watch-data GitHub Wiki

Viewing a widget

In the Front End

It is often useful to view a widget in the Resource Watch front end to check its display. Standard widgets can be viewed using

https://resourcewatch.org/data/widget/<widget_id>

Parametrized widgets can be viewed at

https://resourcewatch.org/data/widget/<widget_id>?geostore_env=geostore_prod&geostore_id=<geostore_id>

In the API

It is also useful to view the raw JSON specification that is stored in the API. There are separate API endpoints for the widget and its metadata. Widgets can be viewed at

https://api.resourcewatch.org/v1/widget/<id>

Metadata can be viewed at

https://api.resourcewatch.org/v1/dataset/<id>/widget/<id>/metadata
⚠️ **GitHub.com Fallback** ⚠️