Skip to content

Commit 24c2afc

Browse files
masseykejoegallo
authored andcommitted
Making the data stream settngs rest-api-spec consistent with the elasticsearch-specification repository (#128535)
1 parent 970d9b7 commit 24c2afc

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_data_stream_settings.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,16 @@
2020
"parts":{
2121
"name":{
2222
"type":"string",
23-
"description":"The name of the data stream or data stream pattern"
23+
"description":"Comma-separated list of data streams or data stream patterns"
2424
}
2525
}
2626
}
2727
]
2828
},
2929
"params":{
30-
"timeout":{
31-
"type":"time",
32-
"description":"Specify timeout for acknowledging the cluster state update"
33-
},
3430
"master_timeout":{
3531
"type":"time",
36-
"description":"Specify timeout for connection to master"
32+
"description":"Period to wait for a connection to the master node"
3733
}
3834
}
3935
}

rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_data_stream_settings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"parts":{
2121
"name":{
2222
"type":"string",
23-
"description":"The name of the data stream or data stream pattern"
23+
"description":"Comma-separated list of data streams or data stream patterns"
2424
}
2525
}
2626
}
@@ -29,16 +29,16 @@
2929
"params":{
3030
"dry_run":{
3131
"type":"boolean",
32-
"description":"Perform a dry run but do not actually change any settings",
32+
"description":"Whether this request should only be a dry run rather than actually applying settings",
3333
"default":false
3434
},
3535
"timeout":{
3636
"type":"time",
37-
"description":"Specify timeout for acknowledging the cluster state update"
37+
"description":"Period to wait for a response"
3838
},
3939
"master_timeout":{
4040
"type":"time",
41-
"description":"Specify timeout for connection to master"
41+
"description":"Period to wait for a connection to the master node"
4242
}
4343
},
4444
"body":{

0 commit comments

Comments
 (0)