Pruning: update HTTP API