diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index ba99bc9799..b4b4bcc05f 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -11643,7 +11643,7 @@ } } ], - "specLocation": "_global/bulk/BulkRequest.ts#L32-L115" + "specLocation": "_global/bulk/BulkRequest.ts#L32-L125" }, { "body": { @@ -12792,7 +12792,7 @@ } ], "query": [], - "specLocation": "_global/clear_scroll/ClearScrollRequest.ts#L23-L48" + "specLocation": "_global/clear_scroll/ClearScrollRequest.ts#L23-L59" }, { "body": { diff --git a/output/schema/schema.json b/output/schema/schema.json index af2e7fb567..8d304944bf 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -21764,7 +21764,7 @@ } } ], - "specLocation": "_global/bulk/BulkRequest.ts#L32-L115" + "specLocation": "_global/bulk/BulkRequest.ts#L32-L125" }, { "kind": "response", @@ -22265,7 +22265,7 @@ } ], "query": [], - "specLocation": "_global/clear_scroll/ClearScrollRequest.ts#L23-L48" + "specLocation": "_global/clear_scroll/ClearScrollRequest.ts#L23-L59" }, { "kind": "response", diff --git a/specification/_global/bulk/BulkRequest.ts b/specification/_global/bulk/BulkRequest.ts index b53adf3779..0630ce1c10 100644 --- a/specification/_global/bulk/BulkRequest.ts +++ b/specification/_global/bulk/BulkRequest.ts @@ -41,6 +41,16 @@ import { OperationContainer, UpdateAction } from './types' * */ export interface Request 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. diff --git a/specification/_global/clear_scroll/ClearScrollRequest.ts b/specification/_global/clear_scroll/ClearScrollRequest.ts index 1388e0a1fb..291b5d3941 100644 --- a/specification/_global/clear_scroll/ClearScrollRequest.ts +++ b/specification/_global/clear_scroll/ClearScrollRequest.ts @@ -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.