Skip to content

Commit 8822ec0

Browse files
authored
Move migrate APIs to indices namespace (#3579) (#3582)
(cherry picked from commit c15f4cf)
1 parent b1069af commit 8822ec0

16 files changed

+1278
-1237
lines changed

output/openapi/elasticsearch-openapi.json

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

output/schema/schema-serverless.json

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

output/schema/schema.json

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

output/typescript/types.ts

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

specification/_json_spec/migrate.cancel_reindex.json renamed to specification/_json_spec/indices.cancel_migrate_reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"migrate.cancel_reindex": {
2+
"indices.cancel_migrate_reindex": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
55
"description": "This API returns the status of a migration reindex attempt for a data stream or index"

specification/_json_spec/migrate.create_from.json renamed to specification/_json_spec/indices.create_from.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"migrate.create_from": {
2+
"indices.create_from": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
55
"description": "This API creates a destination from a source index. It copies the mappings and settings from the source index while allowing request settings and mappings to override the source values."

specification/_json_spec/migrate.get_reindex_status.json renamed to specification/_json_spec/indices.get_migrate_reindex_status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"migrate.get_reindex_status": {
2+
"indices.get_migrate_reindex_status": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
55
"description": "This API returns the status of a migration reindex attempt for a data stream or index"

specification/_json_spec/migrate.reindex.json renamed to specification/_json_spec/indices.migrate_reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"migrate.reindex": {
2+
"indices.migrate_reindex": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
55
"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"

specification/migrate/cancel_reindex/MigrateCancelReindexRequest.ts renamed to specification/indices/cancel_migrate_reindex/MigrateCancelReindexRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { Indices } from '@_types/common'
2323
/**
2424
* This API cancels a migration reindex attempt for a data stream or index
2525
*
26-
* @rest_spec_name migrate.cancel_reindex
26+
* @rest_spec_name indices.cancel_migrate_reindex
2727
* @availability stack since=8.18.0 stability=experimental
2828
* @availability serverless stability=experimental visibility=private
2929
* @doc_id migrate

specification/migrate/create_from/MigrateCreateFromRequest.ts renamed to specification/indices/create_from/MigrateCreateFromRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { TypeMapping } from '@_types/mapping/TypeMapping'
2525
/**
2626
* This API creates a destination from a source index. It copies the mappings and settings from the source index while allowing request settings and mappings to override the source values.
2727
*
28-
* @rest_spec_name migrate.create_from
28+
* @rest_spec_name indices.create_from
2929
* @availability stack since=8.18.0 stability=experimental
3030
* @availability serverless stability=experimental visibility=private
3131
* @doc_id migrate

specification/migrate/get_reindex_status/MigrateGetReindexStatusRequest.ts renamed to specification/indices/get_migrate_reindex_status/MigrateGetReindexStatusRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { Indices } from '@_types/common'
2323
/**
2424
* This API returns the status of a migration reindex attempt for a data stream or index
2525
*
26-
* @rest_spec_name migrate.get_reindex_status
26+
* @rest_spec_name indices.get_migrate_reindex_status
2727
* @availability stack since=8.18.0 stability=experimental
2828
* @availability serverless stability=experimental visibility=private
2929
* @doc_id migrate

specification/migrate/reindex/MigrateReindexRequest.ts renamed to specification/indices/migrate_reindex/MigrateReindexRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { IndexName } from '@_types/common'
2323
/**
2424
* "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
2525
*
26-
* @rest_spec_name migrate.reindex
26+
* @rest_spec_name indices.migrate_reindex
2727
* @availability stack since=8.18.0 stability=experimental
2828
* @doc_id migrate
2929
* @doc_tag migration

0 commit comments

Comments
 (0)