Skip to content

Commit

Permalink
Move migrate APIs to indices namespace (elastic#3579)
Browse files Browse the repository at this point in the history
(cherry picked from commit c15f4cf)

# Conflicts:
#	output/schema/schema.json
  • Loading branch information
pquentin committed Jan 23, 2025
1 parent b1069af commit 4e61ffd
Show file tree
Hide file tree
Showing 16 changed files with 1,278 additions and 1,237 deletions.
684 changes: 342 additions & 342 deletions output/openapi/elasticsearch-openapi.json

Large diffs are not rendered by default.

226 changes: 133 additions & 93 deletions output/schema/schema-serverless.json

Large diffs are not rendered by default.

1,451 changes: 726 additions & 725 deletions output/schema/schema.json

Large diffs are not rendered by default.

138 changes: 69 additions & 69 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"migrate.cancel_reindex": {
"indices.cancel_migrate_reindex": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"migrate.create_from": {
"indices.create_from": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"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."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"migrate.get_reindex_status": {
"indices.get_migrate_reindex_status": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"migrate.reindex": {
"indices.migrate_reindex": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Indices } from '@_types/common'
/**
* This API cancels a migration reindex attempt for a data stream or index
*
* @rest_spec_name migrate.cancel_reindex
* @rest_spec_name indices.cancel_migrate_reindex
* @availability stack since=8.18.0 stability=experimental
* @availability serverless stability=experimental visibility=private
* @doc_id migrate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { TypeMapping } from '@_types/mapping/TypeMapping'
/**
* 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.
*
* @rest_spec_name migrate.create_from
* @rest_spec_name indices.create_from
* @availability stack since=8.18.0 stability=experimental
* @availability serverless stability=experimental visibility=private
* @doc_id migrate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Indices } from '@_types/common'
/**
* This API returns the status of a migration reindex attempt for a data stream or index
*
* @rest_spec_name migrate.get_reindex_status
* @rest_spec_name indices.get_migrate_reindex_status
* @availability stack since=8.18.0 stability=experimental
* @availability serverless stability=experimental visibility=private
* @doc_id migrate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { IndexName } from '@_types/common'
/**
* "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
*
* @rest_spec_name migrate.reindex
* @rest_spec_name indices.migrate_reindex
* @availability stack since=8.18.0 stability=experimental
* @doc_id migrate
* @doc_tag migration
Expand Down

0 comments on commit 4e61ffd

Please sign in to comment.