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 25, 2024
1 parent 0a506f7 commit 5126aa7
Show file tree
Hide file tree
Showing 21 changed files with 222 additions and 85 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.

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

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

111 changes: 44 additions & 67 deletions output/schema/validation-errors.json

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

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: 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"
}
}
}
}
11 changes: 10 additions & 1 deletion specification/_json_spec/ingest.delete_geoip_database.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"
}
}
}
}
11 changes: 10 additions & 1 deletion specification/_json_spec/ingest.delete_ip_location_database.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"
}
}
}
}
11 changes: 10 additions & 1 deletion specification/_json_spec/ingest.put_geoip_database.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 database configuration definition",
"required": true
Expand Down
Loading

0 comments on commit 5126aa7

Please sign in to comment.