-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Clear Cache API rest spec not up to date #26947
Copy link
Copy link
Closed
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilities
Description
POST http://127.0.0.1:9200/_cache/clear?pretty=true&recycler=true HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: 127.0.0.1:9200
Content-Length: 0
HTTP/1.1 400 Bad Request
content-type: application/json; charset=UTF-8
content-length: 348
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "request [/_cache/clear] contains unrecognized parameter: [recycler]"
}
],
"type" : "illegal_argument_exception",
"reason" : "request [/_cache/clear] contains unrecognized parameter: [recycler]"
},
"status" : 400
}
recycler is no longer allowed but still documented.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilities
Type
Fields
Give feedbackNo fields configured for issues without a type.