Skip to content

Commit 794fa00

Browse files
more examples missed in previous commit
1 parent 4bcbf90 commit 794fa00

File tree

284 files changed

+4804
-404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+4804
-404
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 937 additions & 265 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 525 additions & 139 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 1129 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
method_request: POST /_bulk
2+
description: An example body for a `POST /_bulk` request.
3+
value: |-
4+
{ "index" : { "_index" : "books" } }
5+
{"name": "Revelation Space", "author": "Alastair Reynolds", "release_date": "2000-03-15", "page_count": 585}
6+
{ "index" : { "_index" : "books" } }
7+
{"name": "1984", "author": "George Orwell", "release_date": "1985-06-01", "page_count": 328}
8+
{ "index" : { "_index" : "books" } }
9+
{"name": "Fahrenheit 451", "author": "Ray Bradbury", "release_date": "1953-10-15", "page_count": 227}
10+
{ "index" : { "_index" : "books" } }
11+
{"name": "Brave New World", "author": "Aldous Huxley", "release_date": "1932-06-01", "page_count": 268}
12+
{ "index" : { "_index" : "books" } }
13+
{"name": "The Handmaids Tale", "author": "Margaret Atwood", "release_date": "1985-06-01", "page_count": 311}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
method_request: DELETE /_search/scroll
2+
description: An example body for a `DELETE /_search/scroll` request.
3+
value: |-
4+
{
5+
"scroll_id" : "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ=="
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
method_request: DELETE /_pit
2+
description: An example body for a `DELETE /_pit` request.
3+
value: |-
4+
{
5+
"id" : "46ToAwMDaWR5BXV1aWQyKwZub2RlXzMAAAAAAAAAACoBYwADaWR4BXV1aWQxAgZub2RlXzEAAAAAAAAAAAEBYQADaWR5BXV1aWQyKgZub2RlXzIAAAAAAAAAAAwBYgACBXV1aWQyAAAFdXVpZDEAAQltYXRjaF9hbGw_gAAAAA=="
6+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
method_request: GET music/_count
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
method_request: PUT my-index-000001/_create/1
2+
description: An example body for a `PUT my-index-000001/_create/1` request.
3+
value: |-
4+
{
5+
"@timestamp": "2099-11-15T13:12:00",
6+
"message": "GET /search HTTP/1.1 200 1070000",
7+
"user": {
8+
"id": "kimchy"
9+
}
10+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
method_request: DELETE /.ds-my-data-stream-2099.03.08-000003/_doc/bfspvnIBr7VVZlfp2lqX
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
method_request: POST /my-data-stream/_delete_by_query
2+
description: An example body for a `POST /my-data-stream/_delete_by_query` request.
3+
value: |-
4+
{
5+
"query": {
6+
"match": {
7+
"user.id": "vlb44hny"
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)