public List<Extractor> all(Node node, Input input) throws IOException, APIException {
List<Extractor> extractors = Lists.newArrayList();
final ExtractorsResponse extractorsResponse = api.path(resource.list(input.getId()), ExtractorsResponse.class)
.node(node)
.execute();
for (ExtractorSummaryResponse ex : extractorsResponse.extractors) {
extractors.add(extractorFactory.fromResponse(ex));
}