Files
elasticsearch-js/docs/reference/api/GetScriptRequest.md
2025-05-28 10:02:30 -05:00

758 B

GetScriptRequest [interface-GetScriptRequest]

Name Type Description
body string ({ [key: string]: any; } & { id?: never; master_timeout?: never; })
id Id The identifier for the stored script or search template.
master_timeout Duration The period to wait for the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to -1 to indicate that the request should never timeout.
querystring { [key: string]: any; } & { id?: never; master_timeout?: never; } All values in querystring will be added to the request querystring.