23 lines
564 B
JSON
23 lines
564 B
JSON
{
|
|
"get_script": {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-scripting.html",
|
|
"methods": ["GET"],
|
|
"url": {
|
|
"path": "/_scripts/{lang}/{id}",
|
|
"paths": [ "/_scripts/{lang}/{id}" ],
|
|
"parts": {
|
|
"id": {
|
|
"type" : "string",
|
|
"description" : "Script ID",
|
|
"required" : true
|
|
},
|
|
"lang" : {
|
|
"type" : "string",
|
|
"description" : "Script language",
|
|
"required" : true
|
|
}
|
|
}
|
|
},
|
|
"body": null
|
|
}
|
|
} |