I am trying to update ES as a rolling upgrade for the 1st time. ( I am a new user) and I am reading the documentation and I come across this syntax that is another representation of JSON:
PUT /_cluster/settings
{
"transient": {
"cluster.routing.allocation.enable": "none"
}
}'
Source: https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgrades.html
I thought it was shorthand notation for the following:
curl -POST localhost:9200/elk_cluser_main/settings -d '
{
"transient": {
"cluster.routing.allocation.enable": "none"
}
}'
Obviously I am wrong. Can someone explain this shorthand notation?