putScript

edit
client.putScript({
  id: string,
  lang: string,
  timeout: string,
  master_timeout: string,
  body: object
})

Reference

id

string - Script ID

lang

string - Script language

timeout

string - Explicit operation timeout

master_timeout or masterTimeout

string - Specify timeout for connection to master

body

object - The document