Skip to content

Commit e75eeb6

Browse files
committed
async query urls
1 parent 433788c commit e75eeb6

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

specification/esql/async_query/AsyncQueryRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ import { Dictionary } from '@spec_utils/Dictionary'
3737
* @index_privileges read
3838
*/
3939
export interface Request extends RequestBase {
40+
urls: [
41+
{
42+
path: '/_query/async'
43+
methods: ['POST']
44+
}
45+
]
4046
query_parameters: {
4147
/**
4248
* If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.

specification/esql/async_query_delete/AsyncQueryDeleteRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ import { Id } from '@_types/common'
3535
* @ext_doc_id esql
3636
*/
3737
export interface Request extends RequestBase {
38+
urls: [
39+
{
40+
path: '/_query/async/{id}'
41+
methods: ['DELETE']
42+
}
43+
]
3844
path_parts: {
3945
/**
4046
* The unique identifier of the query.

specification/esql/async_query_get/AsyncQueryGetRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ import { EsqlFormat } from '@esql/_types/QueryParameters'
3232
* @ext_doc_id esql
3333
*/
3434
export interface Request extends RequestBase {
35+
urls: [
36+
{
37+
path: '/_query/async/{id}'
38+
methods: ['GET']
39+
}
40+
]
3541
path_parts: {
3642
/**
3743
* The unique identifier of the query.

0 commit comments

Comments
 (0)