Skip to content

Commit a463d22

Browse files
committed
Update two requests and generate schema
1 parent 146d0ed commit a463d22

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

output/schema/schema-serverless.json

Lines changed: 2 additions & 2 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: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/bulk/BulkRequest.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ import { OperationContainer, UpdateAction } from './types'
4141
*
4242
*/
4343
export interface Request<TDocument, TPartialDocument> extends RequestBase {
44+
urls: [
45+
{
46+
path: '/_bulk'
47+
methods: ['POST', 'PUT']
48+
},
49+
{
50+
path: '/{index}/_bulk'
51+
methods: ['POST', 'PUT']
52+
}
53+
]
4454
path_parts: {
4555
/**
4656
* Name of the data stream, index, or index alias to perform bulk actions on.

specification/_global/clear_scroll/ClearScrollRequest.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ import { ScrollIds } from '@_types/common'
3131
* @doc_tag search
3232
*/
3333
export interface Request extends RequestBase {
34+
urls: [
35+
{
36+
path: '/_search/scroll'
37+
methods: ['DELETE']
38+
},
39+
{
40+
/** @deprecated 7.0.0 A scroll id can be quite large and should be specified as part of the body */
41+
path: '/_search/scroll/{scroll_id}'
42+
methods: ['DELETE']
43+
}
44+
]
3445
path_parts: {
3546
/**
3647
* Comma-separated list of scroll IDs to clear.

0 commit comments

Comments
 (0)