rest-api-spec.api.simulate.ingest.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-spec Show documentation
Show all versions of rest-api-spec Show documentation
Elasticsearch subproject :rest-api-spec
{
"simulate.ingest":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-ingest-api.html",
"description":"Simulates running ingest with example documents."
},
"stability":"experimental",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
},
"url":{
"paths":[
{
"path":"/_ingest/_simulate",
"methods":[
"GET",
"POST"
]
},
{
"path":"/_ingest/{index}/_simulate",
"methods":[
"GET",
"POST"
],
"parts":{
"index":{
"type":"string",
"description":"Default index for docs which don't provide one"
}
}
}
]
},
"params":{
"pipeline":{
"type":"string",
"description":"The pipeline id to preprocess incoming documents with if no pipeline is given for a particular document"
}
},
"body":{
"description":"The simulate definition",
"required":true
}
}
}