API generation
This commit is contained in:
@ -12,7 +12,8 @@ function buildMlDeleteDataFrameAnalytics (opts) {
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
|
||||
const acceptedQuerystring = [
|
||||
'force'
|
||||
'force',
|
||||
'timeout'
|
||||
]
|
||||
|
||||
const snakeCase = {
|
||||
|
||||
@ -13,11 +13,12 @@ function buildMlGetCategories (opts) {
|
||||
|
||||
const acceptedQuerystring = [
|
||||
'from',
|
||||
'size'
|
||||
'size',
|
||||
'partition_field_value'
|
||||
]
|
||||
|
||||
const snakeCase = {
|
||||
|
||||
partitionFieldValue: 'partition_field_value'
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
2
api/requestParams.d.ts
vendored
2
api/requestParams.d.ts
vendored
@ -1777,6 +1777,7 @@ export interface MlDeleteCalendarJob extends Generic {
|
||||
export interface MlDeleteDataFrameAnalytics extends Generic {
|
||||
id: string;
|
||||
force?: boolean;
|
||||
timeout?: string;
|
||||
}
|
||||
|
||||
export interface MlDeleteDatafeed extends Generic {
|
||||
@ -1898,6 +1899,7 @@ export interface MlGetCategories<T = RequestBody> extends Generic {
|
||||
category_id?: number;
|
||||
from?: number;
|
||||
size?: number;
|
||||
partition_field_value?: string;
|
||||
body?: T;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user