Volcview API Documentation - SECTOR API
GET METHODS
Select only sectors with images.
https://volcview.wr.usgs.gov/vv-api/sectorApi/active
Select all sectors.
https://volcview.wr.usgs.gov/vv-api/sectorApi/all
Select all sectors with image totals and most recent image dates. This query should be used
infrequently.
https://volcview.wr.usgs.gov/vv-api/sectorApi/stats
Select sector by name.
https://volcview.wr.usgs.gov/vv-api/sectorApi/sector/250mAKBO
Select sector metadata for GUI use.
https://volcview.wr.usgs.gov/vv-api/sectorApi/sectorOptions/SECTOR_ID
CREATE OR UPDATE SECTOR
Will create sector if not found, else update. Because image paths use the sector value, it cannot be
changed when using the API. The caseStudyInd value can be Y or N. Y means sector images are never deleted.
curl -i --header "username:USERNAME" --header "password:PASSWORD" -X POST
-d '{"sectorGroup":"250 m sectors","sectorLabel":"Test Sector","sector":"TEST","caseStudyInd":"N","centerLat":"55","centerLng":"-150","pixelSize":"0.25","imageHeight":"800","imageWidth":"1000"}'
https://volcview.wr.usgs.gov/vv-api/sectorApi/sector
DELETE SECTOR
curl -i --header "username:USERNAME" --header "password:PASSWORD" -X DELETE https://volcview.wr.usgs.gov/vv-api/sectorApi/sector/TEST