Database API
Query and modify the database.
Get Statistics
GET
http://lrr.tvc-16.science/api/database/stats
Get tags from the database, with a value symbolizing their prevalence.
Query Parameters
minweight
int
Add this parameter if you want to only get tags whose weight is at least the given minimum. Default is 1 if not specified, to get all tags.
πClean the Database
POST
http://lrr.tvc-16.science/api/database/clean
Cleans the Database, removing entries for files that are no longer on the filesystem.
πDrop the Database
POST
http://lrr.tvc-16.science/api/database/drop
Delete the entire database, including user preferences. This is a rather dangerous endpoint, invoking it might lock you out of the server as a client!
πGet a backup JSON
GET
http://lrr.tvc-16.science/api/database/backup
Scans the entire database and returns a backup in JSON form. This backup can be reimported manually through the Backup and Restore feature.
πClear all
DELETE
http://lrr.tvc-16.science/api/database/isnew
Clears the "New!" flag on all archives.
Last updated