Skip to content

Update rest-api-spec 8.x #3264

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
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions compiler/package-lock.json

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

96 changes: 77 additions & 19 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
],
"response": []
},
"bulk": {
"request": [
"Request: missing json spec query parameter 'type'"
],
"response": []
},
"capabilities": {
"request": [
"Missing request & response"
Expand Down Expand Up @@ -298,6 +304,47 @@
],
"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"
],
"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": []
},
"index": {
"request": [
"Request: missing json spec query parameter 'require_data_stream'"
Expand Down Expand Up @@ -349,8 +396,7 @@
},
"indices.rollover": {
"request": [
"Request: missing json spec query parameter 'lazy'",
"Request: missing json spec query parameter 'target_failure_store'"
"Request: missing json spec query parameter 'lazy'"
],
"response": []
},
Expand All @@ -367,17 +413,44 @@
],
"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_ip_location_database": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec"
],
"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.post_start_trial": {
"request": [
"Request: query parameter 'type_query_string' does not exist in the json spec",
"Request: missing json spec query parameter 'type'",
"Request: missing json spec query parameter 'timeout'"
"Request: missing json spec query parameter 'type'"
],
"response": []
},
Expand Down Expand Up @@ -468,20 +541,6 @@
],
"response": []
},
"shutdown.delete_node": {
"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": []
},
"shutdown.put_node": {
"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": []
},
"snapshot.delete": {
"request": [
"Request: missing json spec query parameter 'wait_for_completion'"
Expand Down Expand Up @@ -517,7 +576,6 @@
},
"xpack.info": {
"request": [
"Request: query parameter 'human' does not exist in the json spec",
"request definition xpack.info:Request / query - Property 'human' is already defined in an ancestor class"
],
"response": []
Expand Down
8 changes: 6 additions & 2 deletions specification/_json_spec/bulk.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"type": "time",
"description": "Explicit operation timeout"
},
"type": {
"type": "string",
"description": "Default document type for items which don't provide one"
},
"_source": {
"type": "list",
"description": "True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request"
Expand All @@ -64,11 +68,11 @@
},
"require_alias": {
"type": "boolean",
"description": "If true, the request’s actions must target an index alias. Defaults to false."
"description": "Sets require_alias for all incoming documents. Defaults to unset (false)"
},
"require_data_stream": {
"type": "boolean",
"description": "If true, the request's actions must target a data stream (existing or to-be-created). Default to false"
"description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false"
},
"list_executed_pipelines": {
"type": "boolean",
Expand Down
11 changes: 1 addition & 10 deletions specification/_json_spec/ilm.delete_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
"params": {}
}
}
4 changes: 0 additions & 4 deletions specification/_json_spec/ilm.explain_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
"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: 1 addition & 10 deletions specification/_json_spec/ilm.get_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
"params": {}
}
}
11 changes: 1 addition & 10 deletions specification/_json_spec/ilm.put_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
},
"params": {},
"body": {
"description": "The lifecycle policy definition to register"
}
Expand Down
11 changes: 1 addition & 10 deletions specification/_json_spec/ilm.start.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
"params": {}
}
}
11 changes: 1 addition & 10 deletions specification/_json_spec/ilm.stop.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
"params": {}
}
}
6 changes: 0 additions & 6 deletions specification/_json_spec/indices.rollover.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@
"type": "boolean",
"default": "false",
"description": "If set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write. Only allowed on data streams."
},
"target_failure_store": {
"type": "boolean",
"description": "If set to true, the rollover action will be applied on the failure store of the data stream.",
"visibility": "feature_flag",
"feature_flag": "es.failure_store_feature_flag_enabled"
}
},
"body": {
Expand Down
11 changes: 1 addition & 10 deletions specification/_json_spec/ingest.delete_geoip_database.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
"params": {}
}
}
11 changes: 1 addition & 10 deletions specification/_json_spec/ingest.delete_ip_location_database.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
"params": {}
}
}
11 changes: 1 addition & 10 deletions specification/_json_spec/ingest.put_geoip_database.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
},
"params": {},
"body": {
"description": "The database configuration definition",
"required": true
Expand Down
11 changes: 1 addition & 10 deletions specification/_json_spec/ingest.put_ip_location_database.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
},
"params": {},
"body": {
"description": "The database configuration definition",
"required": true
Expand Down
4 changes: 0 additions & 4 deletions specification/_json_spec/license.post_start_trial.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
"master_timeout": {
"type": "time",
"description": "Timeout for processing on master node"
},
"timeout": {
"type": "time",
"description": "Timeout for acknowledgement of update from all nodes in cluster"
}
}
}
Expand Down
Loading
Loading