Ashcam API Documentation - ADMIN API

Run Housekeeper

Housekeeper removes DB image records without image files and image files without DB records, and refreshes webcam stats.

curl -i --header "username:USERNAME" --header "password:PASSWORD" -X GET https://volcview.wr.usgs.gov/ashcam-api/adminApi/housekeep

Image Purge

Image purge removes images older than provided daysToKeep value and refreshes webcam stats.

curl -i --header "username:USERNAME" --header "password:PASSWORD" -X GET https://volcview.wr.usgs.gov/ashcam-api/adminApi/purgeImages/{daysToKeep}

Mirrors

Get local mirrors information.

curl -i --header "username:USERNAME" --header "password:PASSWORD" -X GET https://volcview.wr.usgs.gov/ashcam-api/adminApi/mirrors