![JAR search and dependency download from the Maven repository](/logo.png)
rest-api-spec.api.exists.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
{
"exists":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
"description":"Returns information about whether a document exists in an index."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
"path":"/{index}/_doc/{id}",
"methods":[
"HEAD"
],
"parts":{
"id":{
"type":"string",
"description":"The document ID"
},
"index":{
"type":"string",
"description":"The name of the index"
}
}
}
]
},
"params":{
"stored_fields":{
"type":"list",
"description":"A comma-separated list of stored fields to return in the response"
},
"preference":{
"type":"string",
"description":"Specify the node or shard the operation should be performed on (default: random)"
},
"realtime":{
"type":"boolean",
"description":"Specify whether to perform the operation in realtime or search mode"
},
"refresh":{
"type":"boolean",
"description":"Refresh the shard containing the document before performing the operation"
},
"routing":{
"type":"string",
"description":"Specific routing value"
},
"_source":{
"type":"list",
"description":"True or false to return the _source field or not, or a list of fields to return"
},
"_source_excludes":{
"type":"list",
"description":"A list of fields to exclude from the returned _source field"
},
"_source_includes":{
"type":"list",
"description":"A list of fields to extract and return from the _source field"
},
"version":{
"type":"number",
"description":"Explicit version number for concurrency control"
},
"version_type":{
"type":"enum",
"options":[
"internal",
"external",
"external_gte"
],
"description":"Specific version type"
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy