snapshot.createRepository

edit

snapshot.createRepository

edit
client.snapshot.createRepository([params, [callback]])

Check the API Conventions and the elasticsearch docs for more information pertaining to this method.

Params

masterTimeout

DurationString — Explicit operation timeout for connection to master node

timeout

DurationString — Explicit operation timeout

verify

Boolean — Whether to verify the repository after creation

repository

String — A repository name

body

Object, JSON — The request body, as either JSON or a JSON serializable object. See the elasticsearch docs for details about what can be specified here.

back to top