Skip to content

[9.0] move language examples to a separate file (#4910) #4920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

pquentin
Copy link
Member

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

(cherry picked from commit 1ba72cb)

# Conflicts:
#	output/schema/schema.json
#	specification/indices/get_data_stream_settings/examples/request/IndicesGetDataStreamSettingsRequestExample1.yaml
#	specification/indices/put_data_stream_settings/examples/request/IndicesPutDataStreamSettingsRequestExample1.yaml
#	specification/indices/remove_block/examples/request/IndicesRemoveBlockRequestExample1.yaml
#	specification/inference/put_hugging_face/examples/request/PutHuggingFaceRequestExample2.yaml
#	specification/inference/rerank/examples/request/RerankRequestExample2.yaml
#	specification/inference/rerank/examples/request/RerankRequestExample3.yaml
#	specification/snapshot/repository_verify_integrity/examples/request/SnapshotRepositoryVerifyIntegrityExample1.yaml
Copy link
Contributor

Following you can find the validation changes against the target branch for the APIs.

API Status Request Response
cat.indices 🟢 34/34 → 33/33 33/33 → 32/32
cat.shards 🟢 16/16 → 11/11 16/16 → 11/11
cluster.allocation_explain 🟢 6/6 → 4/4 6/6 → 4/4
cluster.health 🟢 207/207 → 162/162 207/207 → 162/162
cluster.put_component_template 🔴 32/36 → 23/29 36/36 → 29/29
cluster.put_settings 🟢 62/62 → 59/59 61/61 → 58/58
cluster.state 🟢 83/83 → 79/79 82/82 → 78/78
esql.query 🟢 323/323 → 286/286 0/0
ilm.explain_lifecycle 🔴 → 🟢 5/5 4/5 → 5/5
indices.add_block 🟢 3/3 → 2/2 3/3 → 2/2
indices.close 🟢 51/51 → 49/49 51/51 → 49/49
indices.create 🔴 1302/1336 → 1167/1212 1336/1336 → 1212/1212
indices.create_data_stream 🟢 118/118 → 31/31 118/118 → 31/31
indices.data_streams_stats 🟢 9/9 → 4/4 9/9 → 4/4
indices.delete 🟢 114/114 → 105/105 114/114 → 105/105
indices.delete_data_lifecycle 🟢 → ⚪ 2/2 → Missing test 2/2 → Missing test
indices.delete_data_stream 🟢 96/96 → 28/28 96/96 → 28/28
indices.delete_index_template 🟢 7/7 → 1/1 7/7 → 1/1
indices.downsample 🟢 4/4 → 2/2 4/4 → 2/2
indices.exists 🟢 44/44 → 39/39 44/44 → 39/39
indices.explain_data_lifecycle 🔴 → ⚪ 3/3 → Missing test 0/3 → Missing test
indices.flush 🟢 50/50 → 41/41 50/50 → 41/41
indices.forcemerge 🟢 14/14 → 12/12 14/14 → 12/12
indices.get 🟢 66/66 → 55/55 66/66 → 55/55
indices.get_alias 🟢 75/75 → 68/68 75/75 → 68/68
indices.get_data_lifecycle 🔴 → ⚪ 14/14 → Missing test 1/14 → Missing test
indices.get_data_stream 🔴 → 🟢 119/119 → 11/11 75/119 → 11/11
indices.get_field_mapping 🟢 26/26 → 15/15 26/26 → 15/15
indices.get_mapping 🔴 213/213 → 145/145 203/213 → 141/145
indices.get_settings 🔴 84/84 → 76/76 65/84 → 57/76
indices.migrate_to_data_stream 🟢 → ⚪ 1/1 → Missing test 1/1 → Missing test
indices.modify_data_stream 🔴 → ⚪ 3/7 → Missing test 7/7 → Missing test
indices.open 🟢 21/21 → 20/20 21/21 → 20/20
indices.put_alias 🔴 60/60 → 59/59 20/60 → 20/59
indices.put_data_lifecycle 🔴 → ⚪ 5/6 → Missing test 6/6 → Missing test
indices.put_index_template 🔴 126/149 → 59/68 149/149 → 68/68
indices.put_mapping 🔴 140/143 → 118/121 146/146 → 124/124
indices.refresh 🟢 313/313 → 282/282 313/313 → 282/282
indices.resolve_index 🟢 9/9 → 6/6 9/9 → 6/6
indices.rollover 🔴 54/54 → 27/27 2/54 → 2/27
indices.shard_stores 🔴 6/6 → 5/5 5/6 → 4/5
indices.simulate_index_template 🔴 7/9 → 6/7 6/9 → 5/7
indices.stats 🔴 125/125 → 116/116 30/124 → 30/115
indices.update_aliases 🔴 33/33 → 26/26 7/33 → 7/26
inference.put 🟢 6/6 → 4/4 6/6 → 4/4
ingest.put_pipeline 🟢 74/74 → 60/60 74/74 → 60/60
ingest.simulate 🟢 12/12 → 10/10 12/12 → 10/10
migration.post_feature_upgrade 🟢 → 🔴 1/1 1/1 → 0/1
nodes.info 🟢 116/116 → 112/112 116/116 → 112/112
nodes.stats 🔴 58/58 → 51/51 18/58 → 13/51
query_rules.put_ruleset 🟢 17/17 → 16/16 17/17 → 16/16
security.authenticate 🔴 → 🟢 30/30 25/30 → 30/30
security.create_service_token 🟢 2/2 → 3/3 2/2 → 3/3
snapshot.create 🟢 30/30 → 29/29 30/30 → 29/29
snapshot.delete 🟢 24/24 → 23/23 24/24 → 23/23
snapshot.get 🟢 16/16 → 13/13 16/16 → 13/13
synonyms.delete_synonym_rule 🟢 8/8 → 7/7 8/8 → 7/7
synonyms.get_synonyms_sets 🟢 7/7 → 6/6 7/7 → 6/6
synonyms.put_synonym 🟢 32/32 → 28/28 32/32 → 28/28
synonyms.put_synonym_rule 🟢 5/5 → 4/4 5/5 → 4/4
watcher.ack_watch 🟢 6/6 → 1/1 6/6 → 1/1
watcher.activate_watch 🟢 3/3 → 1/1 3/3 → 1/1
watcher.deactivate_watch 🟢 3/3 → 1/1 3/3 → 1/1
watcher.delete_watch 🟢 11/11 → 2/2 11/11 → 2/2
watcher.execute_watch 🔴 → 🟢 41/62 → 7/7 8/62 → 7/7
watcher.get_settings 🟢 → ⚪ 4/4 → Missing test 4/4 → Missing test
watcher.get_watch 🔴 → 🟢 46/46 → 9/9 43/46 → 9/9
watcher.put_watch 🔴 75/91 → 29/38 91/91 → 38/38
watcher.query_watches 🔴 → ⚪ 1/1 → Missing test 0/1 → Missing test
watcher.start 🟢 3/3 → 1/1 3/3 → 1/1
watcher.stats 🟢 7/7 → 1/1 7/7 → 1/1
watcher.stop 🟢 2/2 → 1/1 2/2 → 1/1
watcher.update_settings 🔴 → ⚪ 0/3 → Missing test 3/3 → Missing test
xpack.usage 🔴 43/43 → 40/40 1/39 → 2/36

You can validate these APIs yourself by using the make validate target.

@pquentin pquentin merged commit e987813 into 9.0 Jul 15, 2025
9 checks passed
@pquentin pquentin deleted the backport/9.0/pr-4910 branch July 15, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants