snapshot.create

edit
client.snapshot.create({
  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 - The snapshot definition