refreshMany method

Future<String> refreshMany(
  1. List<String> names
)

Refreshes the snaps given by names. Returns the change ID for this operation, use getChange to get the status of this operation.

Implementation

Future<String> refreshMany(List<String> names) async {
  var request = {};
  request['action'] = 'refresh';
  request['snaps'] = names;
  return await _postAsync('/v2/snaps', request);
}