Skip to content

Commit

Permalink
Update two requests and generate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed Jan 8, 2025
1 parent 146d0ed commit a463d22
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
4 changes: 2 additions & 2 deletions output/schema/schema-serverless.json

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

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

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

10 changes: 10 additions & 0 deletions specification/_global/bulk/BulkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ import { OperationContainer, UpdateAction } from './types'
*
*/
export interface Request<TDocument, TPartialDocument> extends RequestBase {
urls: [
{
path: '/_bulk'
methods: ['POST', 'PUT']
},
{
path: '/{index}/_bulk'
methods: ['POST', 'PUT']
}
]
path_parts: {
/**
* Name of the data stream, index, or index alias to perform bulk actions on.
Expand Down
11 changes: 11 additions & 0 deletions specification/_global/clear_scroll/ClearScrollRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ import { ScrollIds } from '@_types/common'
* @doc_tag search
*/
export interface Request extends RequestBase {
urls: [
{
path: '/_search/scroll'
methods: ['DELETE']
},
{
/** @deprecated 7.0.0 A scroll id can be quite large and should be specified as part of the body */
path: '/_search/scroll/{scroll_id}'
methods: ['DELETE']
}
]
path_parts: {
/**
* Comma-separated list of scroll IDs to clear.
Expand Down

0 comments on commit a463d22

Please sign in to comment.