API generation
This commit is contained in:
19
api/requestParams.d.ts
vendored
19
api/requestParams.d.ts
vendored
@ -276,6 +276,7 @@ export interface CatNodes extends Generic {
|
||||
s?: string | string[];
|
||||
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
||||
v?: boolean;
|
||||
include_unloaded_segments?: boolean;
|
||||
}
|
||||
|
||||
export interface CatPendingTasks extends Generic {
|
||||
@ -788,6 +789,13 @@ export interface Explain<T = RequestBody> extends Generic {
|
||||
body?: T;
|
||||
}
|
||||
|
||||
export interface FeaturesGetFeatures extends Generic {
|
||||
master_timeout?: string;
|
||||
}
|
||||
|
||||
export interface FeaturesResetFeatures extends Generic {
|
||||
}
|
||||
|
||||
export interface FieldCaps<T = RequestBody> extends Generic {
|
||||
index?: string | string[];
|
||||
fields?: string | string[];
|
||||
@ -1388,6 +1396,7 @@ export interface IngestDeletePipeline extends Generic {
|
||||
|
||||
export interface IngestGetPipeline extends Generic {
|
||||
id?: string;
|
||||
summary?: boolean;
|
||||
master_timeout?: string;
|
||||
}
|
||||
|
||||
@ -1745,6 +1754,11 @@ export interface MlPostData<T = RequestBody> extends Generic {
|
||||
body: T;
|
||||
}
|
||||
|
||||
export interface MlPreviewDataFrameAnalytics<T = RequestBody> extends Generic {
|
||||
id?: string;
|
||||
body?: T;
|
||||
}
|
||||
|
||||
export interface MlPreviewDatafeed extends Generic {
|
||||
datafeed_id: string;
|
||||
}
|
||||
@ -1967,6 +1981,7 @@ export interface NodesStats extends Generic {
|
||||
types?: string | string[];
|
||||
timeout?: string;
|
||||
include_segment_file_sizes?: boolean;
|
||||
include_unloaded_segments?: boolean;
|
||||
}
|
||||
|
||||
export interface NodesUsage extends Generic {
|
||||
@ -2405,10 +2420,6 @@ export interface SnapshotGet extends Generic {
|
||||
verbose?: boolean;
|
||||
}
|
||||
|
||||
export interface SnapshotGetFeatures extends Generic {
|
||||
master_timeout?: string;
|
||||
}
|
||||
|
||||
export interface SnapshotGetRepository extends Generic {
|
||||
repository?: string | string[];
|
||||
master_timeout?: string;
|
||||
|
||||
Reference in New Issue
Block a user