bee
bee copied to clipboard
Add pruning call to rest API
Description
Motivation
To start the pruning independent of the configuration setting, it would be practical to be able to do this via API call.
Requirements
The same API call that is already available in Hornet.
curl -s -X POST "http://localhost:14265/api/v1/control/database/prune" -H "Content-Type: application/json" -d '{"index": 1234567}'
Are you planning to do it yourself in a pull request?
No.