Skip to content

Commit e2ba152

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent fd5d7cf commit e2ba152

File tree

5 files changed

+184
-0
lines changed

5 files changed

+184
-0
lines changed

output/schema/schema.json

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,24 @@
612612
],
613613
"response": []
614614
},
615+
"migrate.cancel_reindex": {
616+
"request": [
617+
"Missing request & response"
618+
],
619+
"response": []
620+
},
621+
"migrate.get_reindex_status": {
622+
"request": [
623+
"Missing request & response"
624+
],
625+
"response": []
626+
},
627+
"migrate.reindex": {
628+
"request": [
629+
"Missing request & response"
630+
],
631+
"response": []
632+
},
615633
"ml.delete_trained_model": {
616634
"request": [
617635
"Request: missing json spec query parameter 'timeout'"
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"migrate.cancel_reindex": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
5+
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
6+
},
7+
"stability": "experimental",
8+
"visibility": "private",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_migration/reindex/{index}/_cancel",
17+
"methods": ["POST"],
18+
"parts": {
19+
"index": {
20+
"type": "string",
21+
"description": "The index or data stream name"
22+
}
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"migrate.get_reindex_status": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
5+
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
6+
},
7+
"stability": "experimental",
8+
"visibility": "private",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_migration/reindex/{index}/_status",
17+
"methods": ["GET"],
18+
"parts": {
19+
"index": {
20+
"type": "string",
21+
"description": "The index or data stream name"
22+
}
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"migrate.reindex": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
5+
"description": "This API reindexes all legacy backing indices for a data stream. It does this in a persistent task. The persistent task id is returned immediately, and the reindexing work is completed in that task"
6+
},
7+
"stability": "experimental",
8+
"visibility": "private",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_migration/reindex",
17+
"methods": ["POST"]
18+
}
19+
]
20+
},
21+
"body": {
22+
"description": "The body contains the fields `mode` and `source.index, where the only mode currently supported is `upgrade`, and the `source.index` must be a data stream name",
23+
"required": true
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)