Skip to content

Commit 6553f7e

Browse files
committed
Update REST specs
1 parent 1a1d89f commit 6553f7e

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

api_generator/rest_specs/clear_scroll.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"clear_scroll":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html",
55
"description":"Explicitly clears the search context for a scroll."
66
},
77
"stability":"stable",

api_generator/rest_specs/indices.add_block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.add_block":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-blocks.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html",
55
"description":"Adds a block to an index."
66
},
77
"stability":"stable",

api_generator/rest_specs/indices.create_data_stream.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"indices.create_data_stream":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html",
5-
"description":"Creates or updates a data stream"
5+
"description":"Creates a data stream"
66
},
77
"stability":"stable",
88
"url":{
@@ -22,9 +22,6 @@
2222
]
2323
},
2424
"params":{
25-
},
26-
"body":{
27-
"description":"The data stream definition"
2825
}
2926
}
3027
}

api_generator/rest_specs/indices.resolve_index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.resolve_index":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html",
55
"description":"Returns information about any matching indices, aliases, and data streams"
66
},
77
"stability":"experimental",

elasticsearch/src/generated/namespace_clients/indices.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl<'b> IndicesAddBlockParts<'b> {
6666
}
6767
}
6868
#[derive(Clone, Debug)]
69-
#[doc = "Builder for the [Indices Add Block API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/indices-blocks.html)\n\nAdds a block to an index."]
69+
#[doc = "Builder for the [Indices Add Block API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/index-modules-blocks.html)\n\nAdds a block to an index."]
7070
pub struct IndicesAddBlock<'a, 'b, B> {
7171
transport: &'a Transport,
7272
parts: IndicesAddBlockParts<'b>,
@@ -1284,7 +1284,7 @@ impl<'b> IndicesCreateDataStreamParts<'b> {
12841284
}
12851285
}
12861286
#[derive(Clone, Debug)]
1287-
#[doc = "Builder for the [Indices Create Data Stream API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/data-streams.html)\n\nCreates or updates a data stream"]
1287+
#[doc = "Builder for the [Indices Create Data Stream API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/data-streams.html)\n\nCreates a data stream"]
12881288
pub struct IndicesCreateDataStream<'a, 'b, B> {
12891289
transport: &'a Transport,
12901290
parts: IndicesCreateDataStreamParts<'b>,
@@ -9035,7 +9035,7 @@ impl<'a> Indices<'a> {
90359035
pub fn transport(&self) -> &Transport {
90369036
self.transport
90379037
}
9038-
#[doc = "[Indices Add Block API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/indices-blocks.html)\n\nAdds a block to an index."]
9038+
#[doc = "[Indices Add Block API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/index-modules-blocks.html)\n\nAdds a block to an index."]
90399039
pub fn add_block<'b>(&'a self, parts: IndicesAddBlockParts<'b>) -> IndicesAddBlock<'a, 'b, ()> {
90409040
IndicesAddBlock::new(self.transport(), parts)
90419041
}
@@ -9062,7 +9062,7 @@ impl<'a> Indices<'a> {
90629062
pub fn create<'b>(&'a self, parts: IndicesCreateParts<'b>) -> IndicesCreate<'a, 'b, ()> {
90639063
IndicesCreate::new(self.transport(), parts)
90649064
}
9065-
#[doc = "[Indices Create Data Stream API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/data-streams.html)\n\nCreates or updates a data stream"]
9065+
#[doc = "[Indices Create Data Stream API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/data-streams.html)\n\nCreates a data stream"]
90669066
pub fn create_data_stream<'b>(
90679067
&'a self,
90689068
parts: IndicesCreateDataStreamParts<'b>,

elasticsearch/src/generated/root.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ impl<'b> ClearScrollParts<'b> {
339339
}
340340
}
341341
#[derive(Clone, Debug)]
342-
#[doc = "Builder for the [Clear Scroll API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-request-body.html#_clear_scroll_api)\n\nExplicitly clears the search context for a scroll."]
342+
#[doc = "Builder for the [Clear Scroll API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/clear-scroll-api.html)\n\nExplicitly clears the search context for a scroll."]
343343
pub struct ClearScroll<'a, 'b, B> {
344344
transport: &'a Transport,
345345
parts: ClearScrollParts<'b>,
@@ -8883,7 +8883,7 @@ impl Elasticsearch {
88838883
pub fn bulk<'a, 'b>(&'a self, parts: BulkParts<'b>) -> Bulk<'a, 'b, ()> {
88848884
Bulk::new(self.transport(), parts)
88858885
}
8886-
#[doc = "[Clear Scroll API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-request-body.html#_clear_scroll_api)\n\nExplicitly clears the search context for a scroll."]
8886+
#[doc = "[Clear Scroll API](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/clear-scroll-api.html)\n\nExplicitly clears the search context for a scroll."]
88878887
pub fn clear_scroll<'a, 'b>(&'a self, parts: ClearScrollParts<'b>) -> ClearScroll<'a, 'b, ()> {
88888888
ClearScroll::new(self.transport(), parts)
88898889
}

0 commit comments

Comments
 (0)