Remove body from indices.create_data_stream REST spec (#60705)
This commit removes the body property from the indices.create_data_stream.json REST API spec as the API does not support sending a body. Update the description of the API to remove that a data stream can be updated with the API - data streams can only be created with this API and attempting to update yields a `resource_already_exists_exception`. Closes #60704 (cherry picked from commit 2cab2e0ee094769852df31566dbe22b5df59d900)
This commit is contained in:
parent
1329c982c9
commit
e9c0bf1566
|
@ -2,7 +2,7 @@
|
|||
"indices.create_data_stream":{
|
||||
"documentation":{
|
||||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html",
|
||||
"description":"Creates or updates a data stream"
|
||||
"description":"Creates a data stream"
|
||||
},
|
||||
"stability":"stable",
|
||||
"url":{
|
||||
|
@ -22,9 +22,6 @@
|
|||
]
|
||||
},
|
||||
"params":{
|
||||
},
|
||||
"body":{
|
||||
"description":"The data stream definition"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue