Skip to content

Commit

Permalink
Update rest-api-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored and github-actions[bot] committed Dec 20, 2024
1 parent 3d46d13 commit cc47121
Show file tree
Hide file tree
Showing 17 changed files with 296 additions and 75 deletions.
4 changes: 4 additions & 0 deletions output/openapi/elasticsearch-openapi.json

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

88 changes: 88 additions & 0 deletions output/schema/schema.json

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

84 changes: 18 additions & 66 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,6 @@
"eql.search": {
"request": [
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
"Request: query parameter 'allow_partial_search_results' does not exist in the json spec",
"Request: query parameter 'allow_partial_sequence_results' does not exist in the json spec",
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
],
Expand Down Expand Up @@ -337,44 +335,8 @@
],
"response": []
},
"ilm.delete_lifecycle": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ilm.explain_lifecycle": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ilm.get_lifecycle": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ilm.put_lifecycle": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ilm.start": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ilm.stop": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
Expand Down Expand Up @@ -456,20 +418,6 @@
],
"response": []
},
"ingest.delete_geoip_database": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ingest.delete_ip_location_database": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ingest.get_geoip_database": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec"
Expand All @@ -482,20 +430,6 @@
],
"response": []
},
"ingest.put_geoip_database": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"ingest.put_ip_location_database": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec",
"Request: query parameter 'timeout' does not exist in the json spec"
],
"response": []
},
"license.delete": {
"request": [
"Request: missing json spec query parameter 'master_timeout'",
Expand Down Expand Up @@ -526,6 +460,24 @@
],
"response": []
},
"migrate.cancel_reindex": {
"request": [
"Missing request & response"
],
"response": []
},
"migrate.get_reindex_status": {
"request": [
"Missing request & response"
],
"response": []
},
"migrate.reindex": {
"request": [
"Missing request & response"
],
"response": []
},
"ml.delete_trained_model": {
"request": [
"Request: missing json spec query parameter 'timeout'"
Expand Down
10 changes: 10 additions & 0 deletions specification/_json_spec/eql.search.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@
"type": "time",
"description": "Update the time interval in which the results (partial or final) for this search will be available",
"default": "5d"
},
"allow_partial_search_results": {
"type": "boolean",
"description": "Control whether the query should keep running in case of shard failures, and return partial results",
"default": false
},
"allow_partial_sequence_results": {
"type": "boolean",
"description": "Control whether a sequence query should return partial results or no results at all in case of shard failures. This option has effect only if [allow_partial_search_results] is true.",
"default": false
}
},
"body": {
Expand Down
11 changes: 10 additions & 1 deletion specification/_json_spec/ilm.delete_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
}
]
},
"params": {}
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
}
}
4 changes: 4 additions & 0 deletions specification/_json_spec/ilm.explain_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"only_errors": {
"type": "boolean",
"description": "filters the indices included in the response to ones in an ILM error state, implies only_managed"
},
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
}
}
}
Expand Down
11 changes: 10 additions & 1 deletion specification/_json_spec/ilm.get_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
}
]
},
"params": {}
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
}
}
11 changes: 10 additions & 1 deletion specification/_json_spec/ilm.put_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@
}
]
},
"params": {},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
},
"body": {
"description": "The lifecycle policy definition to register"
}
Expand Down
11 changes: 10 additions & 1 deletion specification/_json_spec/ilm.start.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
}
]
},
"params": {}
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
}
}
11 changes: 10 additions & 1 deletion specification/_json_spec/ilm.stop.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
}
]
},
"params": {}
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
}
}
Loading

0 comments on commit cc47121

Please sign in to comment.