Path parameters
-
Identifier for the stored script or search template.
Query parameters
-
master_timeout string
Specify timeout for connection to master
GET
/_scripts/{id}
curl \
-X GET http://api.example.com/_scripts/{id}
Response examples (200)
{
"_id": "string",
"found": true,
"script": {
"": "painless",
"options": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"source": "string"
}
}