putScriptedit

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

Reference

id

string - Script ID

context

string - Script context

timeout

string - Explicit operation timeout

master_timeout or masterTimeout

string - Specify timeout for connection to master

context

string - Context name to compile script against

body

object - The document