View a Widget - resource-watch/ocean-watch-data GitHub Wiki
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>
Example: Coral Tourism Expenditure in RSGA
Parametrized widgets can be viewed at
https://resourcewatch.org/data/widget/<widget_id>?geostore_env=geostore_prod&geostore_id=<geostore_id>
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>
Example: Coral Tourism Expenditure in RSGA_
Metadata can be viewed at
https://api.resourcewatch.org/v1/dataset/<id>/widget/<id>/metadata