Volcview API Documentation - BAND API

GET METHODS

Select only bands with images.
https://volcview.wr.usgs.gov/vv-api/bandApi/active

Select all bands.
https://volcview.wr.usgs.gov/vv-api/bandApi/all

Select all bands with image totals and most recent image dates. This query should be used infrequently.
https://volcview.wr.usgs.gov/vv-api/bandApi/stats

Select band by name.
https://volcview.wr.usgs.gov/vv-api/bandApi/band/Thermal IR

CREATE OR UPDATE BAND

Will create band if not found, else update. Because image paths use the band value, it cannot be changed when using the API, band label can be updated though. The colorSchemeCd value can be LT or DK. LT will cause volcview graphics to be rendered with light colors for a dark background. DK will cause volcview graphics to be rendered in dark colors for a light background. The default is LT.

curl -i --header "username:USERNAME" --header "password:PASSWORD" -X POST -d '{"bandLabel":"Test Band","band":"TEST","colorSchemeCd":"LT|DK"}' https://volcview.wr.usgs.gov/vv-api/bandApi/band

DELETE BAND

curl -i --header "username:USERNAME" --header "password:PASSWORD" -X DELETE https://volcview.wr.usgs.gov/vv-api/bandApi/band/TEST