Web Assets API
The /web-assets endpoint exposes the front-end web asset bundles registered with OpenNMS. It is read-only.
GETs (reading data)
| Resource | Description |
|---|---|
|
Lists the available web asset names. Produces |
|
Lists the resources that make up the named asset. Produces |
|
Fetches a single asset resource. The response |
Examples using cURL
List the available web assets
curl -u admin:admin "http://127.0.0.1:8980/opennms/rest/web-assets"
List the resources for an asset
curl -u admin:admin "http://127.0.0.1:8980/opennms/rest/web-assets/onms-theme"
Fetch a single asset resource
curl -u admin:admin "http://127.0.0.1:8980/opennms/rest/web-assets/onms-theme.css"