bee icon indicating copy to clipboard operation
bee copied to clipboard

Add pruning call to rest API

Open no8ody opened this issue 4 years ago • 0 comments

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.

no8ody avatar Sep 13 '21 20:09 no8ody