IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

getScript

edit
client.getScript({
  id: string,
  lang: string
})

Reference

id

string - Script ID

lang

string - Script language