snapshot.restoreedit

client.snapshot.restore({
  repository: string,
  snapshot: string,
  master_timeout: string,
  wait_for_completion: boolean,
  body: object
})

Reference

repository

string - A repository name

snapshot

string - A snapshot name

master_timeout or masterTimeout

string - Explicit operation timeout for connection to master node

wait_for_completion or waitForCompletion

boolean - Should this request wait until the operation has completed before returning

body

object - Details of what to restore