From f82b9f8d6d9a908d802caf0142f9930b06fb6acf Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 11:58:25 -0600 Subject: [PATCH 01/15] _xpack/rollup -> _rollup --- .../rollup/server/client/elasticsearch_rollup.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js b/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js index 1799f233182f0..af134c12fae22 100644 --- a/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js +++ b/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js @@ -13,7 +13,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.rollupIndexCapabilities = ca({ urls: [ { - fmt: '/<%=indexPattern%>/_xpack/rollup/data', + fmt: '/<%=indexPattern%>/_rollup/data', req: { indexPattern: { type: 'string' @@ -56,7 +56,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.jobs = ca({ urls: [ { - fmt: '/_xpack/rollup/job/_all', + fmt: '/_rollup/job/_all', } ], method: 'GET' @@ -65,7 +65,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.job = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>', + fmt: '/_rollup/job/<%=id%>', req: { id: { type: 'string' @@ -79,7 +79,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.startJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>/_start', + fmt: '/_rollup/job/<%=id%>/_start', req: { id: { type: 'string' @@ -93,7 +93,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.stopJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>/_stop', + fmt: '/_rollup/job/<%=id%>/_stop', req: { id: { type: 'string' @@ -107,7 +107,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.deleteJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>', + fmt: '/_rollup/job/<%=id%>', req: { id: { type: 'string' @@ -121,7 +121,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.createJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>', + fmt: '/_rollup/job/<%=id%>', req: { id: { type: 'string' From 9c1a6ecbd215d8474c772a1a9c905b3d17305505 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 12:00:00 -0600 Subject: [PATCH 02/15] _xpack/sql -> _sql --- x-pack/plugins/canvas/server/lib/query_es_sql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/canvas/server/lib/query_es_sql.js b/x-pack/plugins/canvas/server/lib/query_es_sql.js index 3e84e01756730..84cf1ab4b5b2e 100644 --- a/x-pack/plugins/canvas/server/lib/query_es_sql.js +++ b/x-pack/plugins/canvas/server/lib/query_es_sql.js @@ -10,7 +10,7 @@ import { normalizeType } from './normalize_type'; export const queryEsSQL = (elasticsearchClient, { count, query, filter }) => elasticsearchClient('transport.request', { - path: '/_xpack/sql?format=json', + path: '/_sql?format=json', method: 'POST', body: { fetch_size: count, From 0cc008c2c32a624fabc31f436549b43777815eed Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 12:06:36 -0600 Subject: [PATCH 03/15] _xpack/license -> _license --- x-pack/plugins/license_management/server/lib/license.js | 2 +- x-pack/plugins/license_management/server/lib/start_basic.js | 2 +- x-pack/plugins/license_management/server/lib/start_trial.js | 4 ++-- .../plugins/monitoring/public/components/license/index.js | 2 +- .../server/lib/telemetry/local/__tests__/get_xpack.js | 4 ++-- .../xpack_main/server/lib/telemetry/local/get_xpack.js | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/x-pack/plugins/license_management/server/lib/license.js b/x-pack/plugins/license_management/server/lib/license.js index 8f54317cdb9dc..bc52fe7f56b34 100644 --- a/x-pack/plugins/license_management/server/lib/license.js +++ b/x-pack/plugins/license_management/server/lib/license.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -const getLicensePath = (acknowledge) => `/_xpack/license${ acknowledge ? '?acknowledge=true' : ''}`; +const getLicensePath = (acknowledge) => `/_license${ acknowledge ? '?acknowledge=true' : ''}`; export async function putLicense(req, xpackInfo) { const { acknowledge } = req.query; diff --git a/x-pack/plugins/license_management/server/lib/start_basic.js b/x-pack/plugins/license_management/server/lib/start_basic.js index 48170d191cdf8..0924146b70280 100644 --- a/x-pack/plugins/license_management/server/lib/start_basic.js +++ b/x-pack/plugins/license_management/server/lib/start_basic.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -const getStartBasicPath = (acknowledge) => `/_xpack/license/start_basic${ acknowledge ? '?acknowledge=true' : ''}`; +const getStartBasicPath = (acknowledge) => `/_license/start_basic${ acknowledge ? '?acknowledge=true' : ''}`; export async function startBasic(req, xpackInfo) { diff --git a/x-pack/plugins/license_management/server/lib/start_trial.js b/x-pack/plugins/license_management/server/lib/start_trial.js index ca82596306939..19b702e4e43c4 100644 --- a/x-pack/plugins/license_management/server/lib/start_trial.js +++ b/x-pack/plugins/license_management/server/lib/start_trial.js @@ -8,7 +8,7 @@ export async function canStartTrial(req) { const { callWithRequest } = req.server.plugins.elasticsearch.getCluster('admin'); const options = { method: 'GET', - path: '/_xpack/license/trial_status' + path: '/_license/trial_status' }; try { const response = await callWithRequest(req, 'transport.request', options); @@ -22,7 +22,7 @@ export async function startTrial(req, xpackInfo) { const { callWithRequest } = req.server.plugins.elasticsearch.getCluster('admin'); const options = { method: 'POST', - path: '/_xpack/license/start_trial?acknowledge=true' + path: '/_license/start_trial?acknowledge=true' }; try { /*eslint camelcase: 0*/ diff --git a/x-pack/plugins/monitoring/public/components/license/index.js b/x-pack/plugins/monitoring/public/components/license/index.js index b8f0de2371b00..a8cf850529fe3 100644 --- a/x-pack/plugins/monitoring/public/components/license/index.js +++ b/x-pack/plugins/monitoring/public/components/license/index.js @@ -44,7 +44,7 @@ const LicenseUpdateInfoForRemote = ({ isPrimaryCluster }) => {

- {`curl -XPUT -u 'https://:/_xpack/license' -H 'Content-Type: application/json' -d @license.json`} + {`curl -XPUT -u 'https://:/_license' -H 'Content-Type: application/json' -d @license.json`} ); diff --git a/x-pack/plugins/xpack_main/server/lib/telemetry/local/__tests__/get_xpack.js b/x-pack/plugins/xpack_main/server/lib/telemetry/local/__tests__/get_xpack.js index 4112f91cb7238..c4cc1fa249a17 100644 --- a/x-pack/plugins/xpack_main/server/lib/telemetry/local/__tests__/get_xpack.js +++ b/x-pack/plugins/xpack_main/server/lib/telemetry/local/__tests__/get_xpack.js @@ -18,7 +18,7 @@ import { function mockGetXPackLicense(callCluster, license) { callCluster.withArgs('transport.request', { method: 'GET', - path: '/_xpack/license', + path: '/_license', query: { local: 'true' } @@ -54,7 +54,7 @@ describe('get_xpack', () => { describe('getXPackLicense', () => { - it('uses callCluster to get /_xpack/license API', async () => { + it('uses callCluster to get /_license API', async () => { const response = { type: 'basic' }; const callCluster = sinon.stub(); diff --git a/x-pack/plugins/xpack_main/server/lib/telemetry/local/get_xpack.js b/x-pack/plugins/xpack_main/server/lib/telemetry/local/get_xpack.js index 3ad1a15b45719..3909741c8c556 100644 --- a/x-pack/plugins/xpack_main/server/lib/telemetry/local/get_xpack.js +++ b/x-pack/plugins/xpack_main/server/lib/telemetry/local/get_xpack.js @@ -9,7 +9,7 @@ import { TIMEOUT } from './constants'; /** * Get the cluster stats from the connected cluster. * - * This is the equivalent of GET /_xpack/license?local=true . + * This is the equivalent of GET /_license?local=true . * * Like any X-Pack related API, X-Pack must installed for this to work. * @@ -19,7 +19,7 @@ import { TIMEOUT } from './constants'; export function getXPackLicense(callCluster) { return callCluster('transport.request', { method: 'GET', - path: '/_xpack/license', + path: '/_license', query: { // Fetching the local license is cheaper than getting it from the master and good enough local: 'true' @@ -51,7 +51,7 @@ export function getXPackUsage(callCluster) { /** * Combine the X-Pack responses into a single response as Monitoring does already. * - * @param {Object} license The license returned from /_xpack/license + * @param {Object} license The license returned from /_license * @param {Object} usage The usage details returned from /_xpack/usage * @return {Object} An object containing both the license and usage. */ From 54542450e7eeeb1911488d145ab11a418bdf1042 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 12:12:18 -0600 Subject: [PATCH 04/15] _xpack/migration -> _migration --- src/legacy/core_plugins/elasticsearch/index.d.ts | 4 ++-- .../upgrade_assistant/server/lib/es_migration_apis.test.ts | 6 +++--- .../upgrade_assistant/server/lib/es_migration_apis.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/legacy/core_plugins/elasticsearch/index.d.ts b/src/legacy/core_plugins/elasticsearch/index.d.ts index a744a4cc22e53..8f1a1ca1647f7 100644 --- a/src/legacy/core_plugins/elasticsearch/index.d.ts +++ b/src/legacy/core_plugins/elasticsearch/index.d.ts @@ -175,7 +175,7 @@ interface ElasticsearchClientLogging { } interface AssistantAPIClientParams extends GenericParams { - path: '/_xpack/migration/assistance'; + path: '/_migration/assistance'; method: 'GET'; } @@ -191,7 +191,7 @@ export interface AssistanceAPIResponse { } interface DeprecationAPIClientParams extends GenericParams { - path: '/_xpack/migration/deprecations'; + path: '/_migration/deprecations'; method: 'GET'; } diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts b/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts index c97f85b3c8a61..5fd06feed9419 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts @@ -14,7 +14,7 @@ describe('getUpgradeAssistantStatus', () => { let deprecationsResponse: DeprecationAPIResponse; const callWithRequest = jest.fn().mockImplementation(async (req, api, { path }) => { - if (path === '/_xpack/migration/deprecations') { + if (path === '/_migration/deprecations') { return deprecationsResponse; } else { throw new Error(`Unexpected API call: ${path}`); @@ -25,10 +25,10 @@ describe('getUpgradeAssistantStatus', () => { deprecationsResponse = _.cloneDeep(fakeDeprecations); }); - it('calls /_xpack/migration/deprecations', async () => { + it('calls /_migration/deprecations', async () => { await getUpgradeAssistantStatus(callWithRequest, {} as any, '/'); expect(callWithRequest).toHaveBeenCalledWith({}, 'transport.request', { - path: '/_xpack/migration/deprecations', + path: '/_migration/deprecations', method: 'GET', }); }); diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.ts b/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.ts index 0e23314b3648b..0fc4296b552c9 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.ts @@ -31,7 +31,7 @@ export async function getUpgradeAssistantStatus( basePath: string ): Promise { const deprecations = (await callWithRequest(req, 'transport.request', { - path: '/_xpack/migration/deprecations', + path: '/_migration/deprecations', method: 'GET', })) as DeprecationAPIResponse; From 2d92339fbd803c499e0062f674dd73b26b8a8cd3 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 12:13:15 -0600 Subject: [PATCH 05/15] _xpack/watcher -> _watcher --- .../elasticsearch_js_plugin.js | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js b/x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js index a0c74bdc45f8f..ad42388beea1e 100644 --- a/x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js +++ b/x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js @@ -25,7 +25,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { } }, url: { - fmt: '/_xpack/watcher/watch/<%=id%>/_deactivate', + fmt: '/_watcher/watch/<%=id%>/_deactivate', req: { id: { type: 'string', @@ -51,7 +51,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { } }, url: { - fmt: '/_xpack/watcher/watch/<%=id%>/_activate', + fmt: '/_watcher/watch/<%=id%>/_activate', req: { id: { type: 'string', @@ -78,7 +78,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { } }, url: { - fmt: '/_xpack/watcher/watch/<%=id%>/_ack/<%=action%>', + fmt: '/_watcher/watch/<%=id%>/_ack/<%=action%>', req: { id: { type: 'string', @@ -112,7 +112,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { } }, url: { - fmt: '/_xpack/watcher/watch/<%=id%>', + fmt: '/_watcher/watch/<%=id%>', req: { id: { type: 'string', @@ -136,7 +136,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { } }, url: { - fmt: '/_xpack/watcher/watch/_execute' + fmt: '/_watcher/watch/_execute' }, needBody: true, method: 'POST' @@ -151,7 +151,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { watcher.getWatch = ca({ params: {}, url: { - fmt: '/_xpack/watcher/watch/<%=id%>', + fmt: '/_watcher/watch/<%=id%>', req: { id: { type: 'string', @@ -176,7 +176,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { } }, url: { - fmt: '/_xpack/watcher/watch/<%=id%>', + fmt: '/_watcher/watch/<%=id%>', req: { id: { type: 'string', @@ -196,7 +196,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { watcher.restart = ca({ params: {}, url: { - fmt: '/_xpack/watcher/_restart' + fmt: '/_watcher/_restart' }, method: 'PUT' }); @@ -209,7 +209,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { watcher.start = ca({ params: {}, url: { - fmt: '/_xpack/watcher/_start' + fmt: '/_watcher/_start' }, method: 'PUT' }); @@ -222,7 +222,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { watcher.stats = ca({ params: {}, url: { - fmt: '/_xpack/watcher/stats' + fmt: '/_watcher/stats' } }); @@ -234,7 +234,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { watcher.stop = ca({ params: {}, url: { - fmt: '/_xpack/watcher/_stop' + fmt: '/_watcher/_stop' }, method: 'PUT' }); From d1176c1c45f6db74f8dfe0a41350a62adbf80dd4 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 12:14:03 -0600 Subject: [PATCH 06/15] _xpack/monitoring -> _monitoring --- .../server/kibana_monitoring/lib/monitoring_bulk.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js b/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js index bc7d6f9a48d2e..c902fb01f5646 100644 --- a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js +++ b/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js @@ -39,14 +39,14 @@ export function monitoringBulk(Client, _config, components) { } }, urls: [{ - fmt: '/_xpack/monitoring/<%=type%>/_bulk', + fmt: '/_monitoring/<%=type%>/bulk', req: { type: { type: 'string' } } }, { - fmt: '/_xpack/monitoring/_bulk' + fmt: '/_monitoring/bulk' }], needBody: true, bulkBody: true, From 306ef39c55aaf0747b4d33622e92122ee0b91cf1 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 12:18:24 -0600 Subject: [PATCH 07/15] _xpack/security -> _security --- packages/kbn-test/src/functional_tests/lib/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-test/src/functional_tests/lib/auth.js b/packages/kbn-test/src/functional_tests/lib/auth.js index e8bc4858469d2..0dd4575c64841 100644 --- a/packages/kbn-test/src/functional_tests/lib/auth.js +++ b/packages/kbn-test/src/functional_tests/lib/auth.js @@ -94,7 +94,7 @@ async function insertUser(port, auth, username, password, roles = [], retries = auth, hostname: 'localhost', port, - pathname: `/_xpack/security/user/${username}`, + pathname: `/_security/user/${username}`, }), json: true, body: { password, roles }, From 91b754e9562e3165dd91aa693419c45e28471660 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 12:37:17 -0600 Subject: [PATCH 08/15] [console_extensions] regenerate --- .../spec/generated/ccr.follow.json | 2 +- .../spec/generated/ccr.follow_stats.json | 2 +- .../spec/generated/ccr.pause_follow.json | 2 +- .../spec/generated/ccr.resume_follow.json | 2 +- .../spec/generated/ccr.unfollow.json | 4 +-- .../spec/generated/ilm.remove_policy.json | 3 +- .../spec/generated/ilm.set_policy.json | 11 ------- .../spec/generated/indices.freeze.json | 24 ++++++++++++++ .../spec/generated/indices.unfreeze.json | 24 ++++++++++++++ ...ck.ml.close_job.json => ml.close_job.json} | 4 +-- ...te_filter.json => ml.delete_calendar.json} | 4 +-- .../generated/ml.delete_calendar_event.json | 10 ++++++ .../generated/ml.delete_calendar_job.json | 10 ++++++ ..._datafeed.json => ml.delete_datafeed.json} | 4 +-- .../generated/ml.delete_expired_data.json | 10 ++++++ .../spec/generated/ml.delete_filter.json | 10 ++++++ .../spec/generated/ml.delete_forecast.json | 16 ++++++++++ ....ml.delete_job.json => ml.delete_job.json} | 7 +++-- ...hot.json => ml.delete_model_snapshot.json} | 4 +-- .../generated/ml.find_file_structure.json | 31 +++++++++++++++++++ ...ck.ml.flush_job.json => ml.flush_job.json} | 4 +-- ...pack.ml.forecast.json => ml.forecast.json} | 4 +-- ...l.get_buckets.json => ml.get_buckets.json} | 12 +++---- ...vents.json => ml.get_calendar_events.json} | 8 ++--- .../spec/generated/ml.get_calendars.json | 16 ++++++++++ ...categories.json => ml.get_categories.json} | 10 +++--- ..._stats.json => ml.get_datafeed_stats.json} | 6 ++-- ...t_datafeeds.json => ml.get_datafeeds.json} | 6 ++-- .../spec/generated/ml.get_filters.json | 15 +++++++++ ...fluencers.json => ml.get_influencers.json} | 10 +++--- ...t_job_stats.json => ml.get_job_stats.json} | 6 ++-- ...pack.ml.get_jobs.json => ml.get_jobs.json} | 6 ++-- ...shots.json => ml.get_model_snapshots.json} | 10 +++--- ...ckets.json => ml.get_overall_buckets.json} | 8 ++--- ...l.get_records.json => ml.get_records.json} | 10 +++--- .../{xpack.ml.info.json => ml.info.json} | 4 +-- ...pack.ml.open_job.json => ml.open_job.json} | 4 +-- .../generated/ml.post_calendar_events.json | 10 ++++++ ...ck.ml.post_data.json => ml.post_data.json} | 4 +-- ...datafeed.json => ml.preview_datafeed.json} | 4 +-- ...l.put_filter.json => ml.put_calendar.json} | 4 +-- .../spec/generated/ml.put_calendar_job.json | 10 ++++++ ...put_datafeed.json => ml.put_datafeed.json} | 4 +-- .../spec/generated/ml.put_filter.json | 10 ++++++ ...{xpack.ml.put_job.json => ml.put_job.json} | 4 +-- ...hot.json => ml.revert_model_snapshot.json} | 4 +-- .../spec/generated/ml.set_upgrade_mode.json | 15 +++++++++ ...t_datafeed.json => ml.start_datafeed.json} | 4 +-- ...op_datafeed.json => ml.stop_datafeed.json} | 4 +-- ..._datafeed.json => ml.update_datafeed.json} | 4 +-- .../spec/generated/ml.update_filter.json | 10 ++++++ ....ml.update_job.json => ml.update_job.json} | 4 +-- ...hot.json => ml.update_model_snapshot.json} | 4 +-- .../spec/generated/ml.validate.json | 10 ++++++ .../spec/generated/ml.validate_detector.json | 10 ++++++ ...itoring.bulk.json => monitoring.bulk.json} | 6 ++-- .../generated/security.delete_privileges.json | 2 +- .../generated/security.get_privileges.json | 2 +- .../security.get_user_privileges.json | 3 +- .../generated/security.put_privileges.json | 2 +- .../spec/generated/xpack.graph.explore.json | 4 +-- .../spec/generated/xpack.license.delete.json | 2 +- .../spec/generated/xpack.license.get.json | 2 +- .../xpack.license.get_basic_status.json | 2 +- .../xpack.license.get_trial_status.json | 2 +- .../spec/generated/xpack.license.post.json | 2 +- .../xpack.license.post_start_basic.json | 2 +- .../xpack.license.post_start_trial.json | 2 +- .../xpack.migration.deprecations.json | 4 +-- .../xpack.migration.get_assistance.json | 4 +-- .../generated/xpack.migration.upgrade.json | 2 +- .../generated/xpack.ml.delete_calendar.json | 10 ------ .../xpack.ml.delete_calendar_event.json | 10 ------ .../xpack.ml.delete_calendar_job.json | 10 ------ .../xpack.ml.delete_expired_data.json | 10 ------ .../generated/xpack.ml.get_calendars.json | 16 ---------- .../spec/generated/xpack.ml.get_filters.json | 15 --------- .../xpack.ml.post_calendar_events.json | 10 ------ .../spec/generated/xpack.ml.put_calendar.json | 10 ------ .../generated/xpack.ml.put_calendar_job.json | 10 ------ .../spec/generated/xpack.ml.validate.json | 10 ------ .../generated/xpack.ml.validate_detector.json | 10 ------ .../generated/xpack.rollup.delete_job.json | 2 +- .../spec/generated/xpack.rollup.get_jobs.json | 4 +-- .../xpack.rollup.get_rollup_caps.json | 4 +-- .../xpack.rollup.get_rollup_index_caps.json | 10 ++++++ .../spec/generated/xpack.rollup.put_job.json | 2 +- .../generated/xpack.rollup.rollup_search.json | 4 +++ .../generated/xpack.rollup.start_job.json | 2 +- .../spec/generated/xpack.rollup.stop_job.json | 6 +++- .../xpack.security.authenticate.json | 11 ------- .../xpack.security.change_password.json | 20 ------------ .../xpack.security.clear_cached_realms.json | 14 --------- .../xpack.security.clear_cached_roles.json | 11 ------- .../generated/xpack.security.delete_role.json | 18 ----------- .../xpack.security.delete_role_mapping.json | 18 ----------- .../generated/xpack.security.delete_user.json | 18 ----------- .../xpack.security.disable_user.json | 19 ------------ .../generated/xpack.security.enable_user.json | 19 ------------ .../generated/xpack.security.get_role.json | 12 ------- .../xpack.security.get_role_mapping.json | 12 ------- .../generated/xpack.security.get_token.json | 11 ------- .../generated/xpack.security.get_user.json | 12 ------- .../xpack.security.invalidate_token.json | 11 ------- .../generated/xpack.security.put_role.json | 19 ------------ .../xpack.security.put_role_mapping.json | 19 ------------ .../generated/xpack.security.put_user.json | 19 ------------ .../generated/xpack.sql.clear_cursor.json | 2 +- .../spec/generated/xpack.sql.query.json | 2 +- .../spec/generated/xpack.sql.translate.json | 2 +- .../generated/xpack.ssl.certificates.json | 11 ------- .../generated/xpack.watcher.ack_watch.json | 4 +-- .../xpack.watcher.activate_watch.json | 2 +- .../xpack.watcher.deactivate_watch.json | 2 +- .../generated/xpack.watcher.delete_watch.json | 2 +- .../xpack.watcher.execute_watch.json | 4 +-- .../generated/xpack.watcher.get_watch.json | 2 +- .../generated/xpack.watcher.put_watch.json | 2 +- .../spec/generated/xpack.watcher.start.json | 2 +- .../spec/generated/xpack.watcher.stats.json | 10 +++--- .../spec/generated/xpack.watcher.stop.json | 2 +- 121 files changed, 404 insertions(+), 548 deletions(-) delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/indices.freeze.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.close_job.json => ml.close_job.json} (78%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.delete_filter.json => ml.delete_calendar.json} (51%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.delete_datafeed.json => ml.delete_datafeed.json} (76%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.delete_job.json => ml.delete_job.json} (61%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.delete_model_snapshot.json => ml.delete_model_snapshot.json} (61%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.flush_job.json => ml.flush_job.json} (80%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.forecast.json => ml.forecast.json} (63%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_buckets.json => ml.get_buckets.json} (61%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_calendar_events.json => ml.get_calendar_events.json} (56%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_categories.json => ml.get_categories.json} (51%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_datafeed_stats.json => ml.get_datafeed_stats.json} (67%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_datafeeds.json => ml.get_datafeeds.json} (70%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_influencers.json => ml.get_influencers.json} (67%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_job_stats.json => ml.get_job_stats.json} (65%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_jobs.json => ml.get_jobs.json} (68%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_model_snapshots.json => ml.get_model_snapshots.json} (58%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_overall_buckets.json => ml.get_overall_buckets.json} (70%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.get_records.json => ml.get_records.json} (69%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.info.json => ml.info.json} (60%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.open_job.json => ml.open_job.json} (69%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.post_data.json => ml.post_data.json} (76%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.preview_datafeed.json => ml.preview_datafeed.json} (68%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.put_filter.json => ml.put_calendar.json} (51%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.put_datafeed.json => ml.put_datafeed.json} (71%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.put_job.json => ml.put_job.json} (71%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.revert_model_snapshot.json => ml.revert_model_snapshot.json} (67%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.start_datafeed.json => ml.start_datafeed.json} (76%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.stop_datafeed.json => ml.stop_datafeed.json} (78%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.update_datafeed.json => ml.update_datafeed.json} (68%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.update_job.json => ml.update_job.json} (68%) rename x-pack/plugins/console_extensions/spec/generated/{xpack.ml.update_model_snapshot.json => ml.update_model_snapshot.json} (59%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.validate.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json rename x-pack/plugins/console_extensions/spec/generated/{xpack.monitoring.bulk.json => monitoring.bulk.json} (73%) delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json index 704cb082161ae..ba993d25c60ec 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json @@ -4,7 +4,7 @@ "PUT" ], "patterns": [ - "{index}/_ccr/follow" + "{indices}/_ccr/follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json b/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json index 47553262c95d2..6d72e12df17d4 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "{index}/_ccr/stats" + "{indices}/_ccr/stats" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json index 4dcb0fdaf9b87..72afa796e1964 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "{index}/_ccr/pause_follow" + "{indices}/_ccr/pause_follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json index 00b889d0d5f9a..3710cdb8cc577 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "{index}/_ccr/resume_follow" + "{indices}/_ccr/resume_follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json index 9d9d6868a2fc9..92759d8222c63 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json @@ -4,8 +4,8 @@ "POST" ], "patterns": [ - "{index}/_ccr/unfollow" + "{indices}/_ccr/unfollow" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html" + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json b/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json index fc835953c2c6d..5a3c760386f10 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json +++ b/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json @@ -4,8 +4,7 @@ "POST" ], "patterns": [ - "{indices}/_ilm/remove", - "_ilm/remove" + "{indices}/_ilm/remove" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json b/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json deleted file mode 100644 index 6c57973eaabae..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ilm.set_policy": { - "methods": [ - "PUT" - ], - "patterns": [ - "{indices}/_ilm/{new_policy}" - ], - "documentation": "http://www.elastic.co/guide/en/index_lifecycle/current/index_lifecycle.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json b/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json new file mode 100644 index 0000000000000..06e8c606f59f7 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json @@ -0,0 +1,24 @@ +{ + "indices.freeze": { + "url_params": { + "timeout": "", + "master_timeout": "", + "ignore_unavailable": "__flag__", + "allow_no_indices": "__flag__", + "expand_wildcards": [ + "open", + "closed", + "none", + "all" + ], + "wait_for_active_shards": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "{indices}/_freeze" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json b/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json new file mode 100644 index 0000000000000..186a671347240 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json @@ -0,0 +1,24 @@ +{ + "indices.unfreeze": { + "url_params": { + "timeout": "", + "master_timeout": "", + "ignore_unavailable": "__flag__", + "allow_no_indices": "__flag__", + "expand_wildcards": [ + "open", + "closed", + "none", + "all" + ], + "wait_for_active_shards": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "{indices}/_unfreeze" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.close_job.json similarity index 78% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.close_job.json index 933f79a1028ed..310b0d125b1f9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.close_job.json @@ -1,5 +1,5 @@ { - "xpack.ml.close_job": { + "ml.close_job": { "url_params": { "allow_no_jobs": "__flag__", "force": "__flag__", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_close" + "_ml/anomaly_detectors/{job_id}/_close" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json index 5a4a8cd232448..97e5898072a08 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json @@ -1,10 +1,10 @@ { - "xpack.ml.delete_filter": { + "ml.delete_calendar": { "methods": [ "DELETE" ], "patterns": [ - "_xpack/ml/filters/{filter_id}" + "_ml/calendars/{calendar_id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json new file mode 100644 index 0000000000000..85ea5add0b60b --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json @@ -0,0 +1,10 @@ +{ + "ml.delete_calendar_event": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/events/{event_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json new file mode 100644 index 0000000000000..6665f52eeb90d --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json @@ -0,0 +1,10 @@ +{ + "ml.delete_calendar_job": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/jobs/{job_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json index af1d5564cf9ca..7c7f3c40f23bb 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.delete_datafeed": { + "ml.delete_datafeed": { "url_params": { "force": "__flag__" }, @@ -7,7 +7,7 @@ "DELETE" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}" + "_ml/datafeeds/{datafeed_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json new file mode 100644 index 0000000000000..4afa9e323b030 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json @@ -0,0 +1,10 @@ +{ + "ml.delete_expired_data": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/_delete_expired_data" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json new file mode 100644 index 0000000000000..8210a2acd71d0 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json @@ -0,0 +1,10 @@ +{ + "ml.delete_filter": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/filters/{filter_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json new file mode 100644 index 0000000000000..971a761cc77e9 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json @@ -0,0 +1,16 @@ +{ + "ml.delete_forecast": { + "url_params": { + "allow_no_forecasts": "__flag__", + "timeout": "" + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/anomaly_detectors/{job_id}/_forecast", + "_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}" + ], + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json index 26c45ad0fc6fb..ab518071bf765 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json @@ -1,13 +1,14 @@ { - "xpack.ml.delete_job": { + "ml.delete_job": { "url_params": { - "force": "__flag__" + "force": "__flag__", + "wait_for_completion": "__flag__" }, "methods": [ "DELETE" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}" + "_ml/anomaly_detectors/{job_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json index faf9da66f3bee..53d45bf0498ab 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json @@ -1,10 +1,10 @@ { - "xpack.ml.delete_model_snapshot": { + "ml.delete_model_snapshot": { "methods": [ "DELETE" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json b/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json new file mode 100644 index 0000000000000..1966529539734 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json @@ -0,0 +1,31 @@ +{ + "ml.find_file_structure": { + "url_params": { + "lines_to_sample": "", + "timeout": "", + "charset": "", + "format": [ + "ndjson", + "xml", + "delimited", + "semi_structured_text" + ], + "has_header_row": "__flag__", + "column_names": [], + "delimiter": "", + "quote": "", + "should_trim_fields": "__flag__", + "grok_pattern": "", + "timestamp_field": "", + "timestamp_format": "", + "explain": "__flag__" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_ml/find_file_structure" + ], + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-file-structure.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json similarity index 80% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json index 190fa9813384e..2f496003a2834 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json @@ -1,5 +1,5 @@ { - "xpack.ml.flush_job": { + "ml.flush_job": { "url_params": { "calc_interim": "__flag__", "start": "", @@ -11,7 +11,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_flush" + "_ml/anomaly_detectors/{job_id}/_flush" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json b/x-pack/plugins/console_extensions/spec/generated/ml.forecast.json similarity index 63% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json rename to x-pack/plugins/console_extensions/spec/generated/ml.forecast.json index e96a5100e98dd..3a8849aad3e4d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.forecast.json @@ -1,5 +1,5 @@ { - "xpack.ml.forecast": { + "ml.forecast": { "url_params": { "duration": "", "expires_in": "" @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_forecast" + "_ml/anomaly_detectors/{job_id}/_forecast" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json index a63c47ab52429..a6af0dc63a388 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json @@ -1,13 +1,13 @@ { - "xpack.ml.get_buckets": { + "ml.get_buckets": { "url_params": { "expand": "__flag__", "exclude_interim": "__flag__", - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", - "anomaly_score": 0, + "anomaly_score": "", "sort": "", "desc": "__flag__" }, @@ -16,8 +16,8 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", - "_xpack/ml/anomaly_detectors/{job_id}/results/buckets" + "_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", + "_ml/anomaly_detectors/{job_id}/results/buckets" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json similarity index 56% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json index c6734d6cdc893..2c1e38f49b328 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json @@ -1,17 +1,17 @@ { - "xpack.ml.get_calendar_events": { + "ml.get_calendar_events": { "url_params": { "job_id": "", "start": "", "end": "", - "from": 0, - "size": 0 + "from": "", + "size": "" }, "methods": [ "GET" ], "patterns": [ - "_xpack/ml/calendars/{calendar_id}/events" + "_ml/calendars/{calendar_id}/events" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json new file mode 100644 index 0000000000000..745b6bbbd35e4 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json @@ -0,0 +1,16 @@ +{ + "ml.get_calendars": { + "url_params": { + "from": "", + "size": "" + }, + "methods": [ + "GET", + "POST" + ], + "patterns": [ + "_ml/calendars", + "_ml/calendars/{calendar_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json index 1157a0a375880..658bca9dfa2e3 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json @@ -1,16 +1,16 @@ { - "xpack.ml.get_categories": { + "ml.get_categories": { "url_params": { - "from": 0, - "size": 0 + "from": "", + "size": "" }, "methods": [ "GET", "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}", - "_xpack/ml/anomaly_detectors/{job_id}/results/categories/" + "_ml/anomaly_detectors/{job_id}/results/categories/{category_id}", + "_ml/anomaly_detectors/{job_id}/results/categories/" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json index 8b5613da5c935..5c300e444c794 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_datafeed_stats": { + "ml.get_datafeed_stats": { "url_params": { "allow_no_datafeeds": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_stats", - "_xpack/ml/datafeeds/_stats" + "_ml/datafeeds/{datafeed_id}/_stats", + "_ml/datafeeds/_stats" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json similarity index 70% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json index 1f44b4aba572a..9979a685426be 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_datafeeds": { + "ml.get_datafeeds": { "url_params": { "allow_no_datafeeds": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}", - "_xpack/ml/datafeeds" + "_ml/datafeeds/{datafeed_id}", + "_ml/datafeeds" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json new file mode 100644 index 0000000000000..e1b7306909d34 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json @@ -0,0 +1,15 @@ +{ + "ml.get_filters": { + "url_params": { + "from": "", + "size": "" + }, + "methods": [ + "GET" + ], + "patterns": [ + "_ml/filters", + "_ml/filters/{filter_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json index a4a0a62a8fb5a..4c8b4cb5de388 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json @@ -1,12 +1,12 @@ { - "xpack.ml.get_influencers": { + "ml.get_influencers": { "url_params": { "exclude_interim": "__flag__", - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", - "influencer_score": 0, + "influencer_score": "", "sort": "", "desc": "__flag__" }, @@ -15,7 +15,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/influencers" + "_ml/anomaly_detectors/{job_id}/results/influencers" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json similarity index 65% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json index 644c1a81eb7c5..b28a2655cbefe 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_job_stats": { + "ml.get_job_stats": { "url_params": { "allow_no_jobs": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/anomaly_detectors/_stats", - "_xpack/ml/anomaly_detectors/{job_id}/_stats" + "_ml/anomaly_detectors/_stats", + "_ml/anomaly_detectors/{job_id}/_stats" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json index 2621d8b56c2ec..8f7de906578d7 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_jobs": { + "ml.get_jobs": { "url_params": { "allow_no_jobs": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}", - "_xpack/ml/anomaly_detectors" + "_ml/anomaly_detectors/{job_id}", + "_ml/anomaly_detectors" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json similarity index 58% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json index cf82bd258375f..a4ec4fba38d2e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json @@ -1,8 +1,8 @@ { - "xpack.ml.get_model_snapshots": { + "ml.get_model_snapshots": { "url_params": { - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", "sort": "", @@ -13,8 +13,8 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", + "_ml/anomaly_detectors/{job_id}/model_snapshots" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json similarity index 70% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json index ec6da8fb7a2a9..c8cc6ba113bec 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json @@ -1,9 +1,9 @@ { - "xpack.ml.get_overall_buckets": { + "ml.get_overall_buckets": { "url_params": { - "top_n": 0, + "top_n": "", "bucket_span": "", - "overall_score": 0, + "overall_score": "", "exclude_interim": "__flag__", "start": "", "end": "", @@ -14,7 +14,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/overall_buckets" + "_ml/anomaly_detectors/{job_id}/results/overall_buckets" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_records.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_records.json index e8159e97e1829..553b75f21c645 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_records.json @@ -1,12 +1,12 @@ { - "xpack.ml.get_records": { + "ml.get_records": { "url_params": { "exclude_interim": "__flag__", - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", - "record_score": 0, + "record_score": "", "sort": "", "desc": "__flag__" }, @@ -15,7 +15,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/records" + "_ml/anomaly_detectors/{job_id}/results/records" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json b/x-pack/plugins/console_extensions/spec/generated/ml.info.json similarity index 60% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json rename to x-pack/plugins/console_extensions/spec/generated/ml.info.json index 6235f74cc6227..51b571776ead9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.info.json @@ -1,10 +1,10 @@ { - "xpack.ml.info": { + "ml.info": { "methods": [ "GET" ], "patterns": [ - "_xpack/ml/info" + "_ml/info" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.open_job.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.open_job.json index d45214d813005..cd330ec4822c0 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.open_job.json @@ -1,10 +1,10 @@ { - "xpack.ml.open_job": { + "ml.open_job": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_open" + "_ml/anomaly_detectors/{job_id}/_open" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json new file mode 100644 index 0000000000000..89ce2df63315b --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json @@ -0,0 +1,10 @@ +{ + "ml.post_calendar_events": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/events" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json b/x-pack/plugins/console_extensions/spec/generated/ml.post_data.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json rename to x-pack/plugins/console_extensions/spec/generated/ml.post_data.json index 206d2e3e1c064..cc6f0b658e111 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.post_data.json @@ -1,5 +1,5 @@ { - "xpack.ml.post_data": { + "ml.post_data": { "url_params": { "reset_start": "", "reset_end": "" @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_data" + "_ml/anomaly_detectors/{job_id}/_data" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json index 9aeca7e1363a0..be3c3d466f37d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json @@ -1,10 +1,10 @@ { - "xpack.ml.preview_datafeed": { + "ml.preview_datafeed": { "methods": [ "GET" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_preview" + "_ml/datafeeds/{datafeed_id}/_preview" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json rename to x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json index 2a2c5815046d4..7452d1b4b9707 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json @@ -1,10 +1,10 @@ { - "xpack.ml.put_filter": { + "ml.put_calendar": { "methods": [ "PUT" ], "patterns": [ - "_xpack/ml/filters/{filter_id}" + "_ml/calendars/{calendar_id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json new file mode 100644 index 0000000000000..08dc3d77b5f25 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json @@ -0,0 +1,10 @@ +{ + "ml.put_calendar_job": { + "methods": [ + "PUT" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/jobs/{job_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json index db5cb27f4a790..a61f9ab465724 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json @@ -1,10 +1,10 @@ { - "xpack.ml.put_datafeed": { + "ml.put_datafeed": { "methods": [ "PUT" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}" + "_ml/datafeeds/{datafeed_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json new file mode 100644 index 0000000000000..6d57c433d71f4 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json @@ -0,0 +1,10 @@ +{ + "ml.put_filter": { + "methods": [ + "PUT" + ], + "patterns": [ + "_ml/filters/{filter_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_job.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.put_job.json index ecd8f59d77574..d8e38a0bd4b9d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_job.json @@ -1,10 +1,10 @@ { - "xpack.ml.put_job": { + "ml.put_job": { "methods": [ "PUT" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}" + "_ml/anomaly_detectors/{job_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json index 9193cbb80d2fd..7b6d74d47a711 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json @@ -1,5 +1,5 @@ { - "xpack.ml.revert_model_snapshot": { + "ml.revert_model_snapshot": { "url_params": { "delete_intervening_results": "__flag__" }, @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json b/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json new file mode 100644 index 0000000000000..ad1734033d9a5 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json @@ -0,0 +1,15 @@ +{ + "ml.set_upgrade_mode": { + "url_params": { + "enabled": "__flag__", + "timeout": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_ml/set_upgrade_mode" + ], + "documentation": "TODO" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json index 40479c8c3f687..8171a792d7e33 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.start_datafeed": { + "ml.start_datafeed": { "url_params": { "start": "", "end": "", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_start" + "_ml/datafeeds/{datafeed_id}/_start" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json similarity index 78% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json index 2af514532f16a..b10fed7010a7f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.stop_datafeed": { + "ml.stop_datafeed": { "url_params": { "allow_no_datafeeds": "__flag__", "force": "__flag__", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_stop" + "_ml/datafeeds/{datafeed_id}/_stop" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json index 953e08dd08c17..9c0d7502d2fbe 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json @@ -1,10 +1,10 @@ { - "xpack.ml.update_datafeed": { + "ml.update_datafeed": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_update" + "_ml/datafeeds/{datafeed_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json new file mode 100644 index 0000000000000..3f48013c2be1c --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json @@ -0,0 +1,10 @@ +{ + "ml.update_filter": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/filters/{filter_id}/_update" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_job.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.update_job.json index e3c8abf72d908..7276183b2e0c9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_job.json @@ -1,10 +1,10 @@ { - "xpack.ml.update_job": { + "ml.update_job": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_update" + "_ml/anomaly_detectors/{job_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json similarity index 59% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json index 848950d6f5394..80e533eb55826 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json @@ -1,10 +1,10 @@ { - "xpack.ml.update_model_snapshot": { + "ml.update_model_snapshot": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate.json b/x-pack/plugins/console_extensions/spec/generated/ml.validate.json new file mode 100644 index 0000000000000..298c7cf6dce26 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.validate.json @@ -0,0 +1,10 @@ +{ + "ml.validate": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/anomaly_detectors/_validate" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json b/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json new file mode 100644 index 0000000000000..5e6d7daeea772 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json @@ -0,0 +1,10 @@ +{ + "ml.validate_detector": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/anomaly_detectors/_validate/detector" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json b/x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json similarity index 73% rename from x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json rename to x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json index f98aa70ce7cd3..7cb56a9d79d6e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json +++ b/x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json @@ -1,5 +1,5 @@ { - "xpack.monitoring.bulk": { + "monitoring.bulk": { "url_params": { "system_id": "", "system_api_version": "", @@ -10,8 +10,8 @@ "PUT" ], "patterns": [ - "_xpack/monitoring/_bulk", - "_xpack/monitoring/{type}/_bulk" + "_monitoring/bulk", + "_monitoring/{type}/bulk" ], "documentation": "http://www.elastic.co/guide/en/monitoring/current/appendix-api-bulk.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json index 4da7183b4d977..b44798013fe59 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json @@ -13,6 +13,6 @@ "patterns": [ "_security/privilege/{application}/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-delete-privilege.html" + "documentation": "TODO" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json index b833f69848e1f..4d2dce21c0c5f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json @@ -6,6 +6,6 @@ "patterns": [ "_security/privilege/{application}/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-get-privileges.html" + "documentation": "TODO" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json index e5ada00828f73..1b939d2d9a29e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json @@ -5,6 +5,7 @@ ], "patterns": [ "_security/user/_privileges" - ] + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json index 4284ed9b54f1b..7ecffc780c066 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json @@ -14,6 +14,6 @@ "patterns": [ "_security/privilege/" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-put-privileges.html" + "documentation": "TODO" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json b/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json index f140af08686e2..b2a74408995d7 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json @@ -9,8 +9,8 @@ "POST" ], "patterns": [ - "{indices}/_xpack/graph/_explore", - "{indices}/{type}/_xpack/graph/_explore" + "{indices}/_graph/explore", + "{indices}/{type}/_graph/explore" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json index a60c3b8f70f5c..492a0403be62c 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_xpack/license" + "_license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json index f9ca4bc285ecb..ccd7d7eb77914 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json @@ -7,7 +7,7 @@ "GET" ], "patterns": [ - "_xpack/license" + "_license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json index c83cdd4a95a8d..5a5488208e218 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_xpack/license/basic_status" + "_license/basic_status" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json index cd79e6fdc2c1e..251d899febf53 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_xpack/license/trial_status" + "_license/trial_status" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json index 6c5e2c65a56d6..79be105710904 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/license" + "_license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json index 27da929b25eab..fb858a65c2322 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_xpack/license/start_basic" + "_license/start_basic" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json index 905b8b324d5ef..bd3eaf476e022 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/license/start_trial" + "_license/start_trial" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json index d8dbea2c53d7a..dad2695f0d14c 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_xpack/migration/deprecations", - "{indices}/_xpack/migration/deprecations" + "_migration/deprecations", + "{indices}/_migration/deprecations" ], "documentation": "http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json index dcd81df3770a2..4cc068ce2e460 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json @@ -14,8 +14,8 @@ "GET" ], "patterns": [ - "_xpack/migration/assistance", - "_xpack/migration/assistance/{indices}" + "_migration/assistance", + "_migration/assistance/{indices}" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json index 331a93f176320..93186f31a0876 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_xpack/migration/upgrade/{indices}" + "_migration/upgrade/{indices}" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json deleted file mode 100644 index d5e47c1d78c7c..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_calendar": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json deleted file mode 100644 index 2be7a261b1d20..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_calendar_event": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/events/{event_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json deleted file mode 100644 index 7d3716f9ebfea..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_calendar_job": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/jobs/{job_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json deleted file mode 100644 index e8c04ff315731..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_expired_data": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/_delete_expired_data" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json deleted file mode 100644 index 0b014b7f000e5..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "xpack.ml.get_calendars": { - "url_params": { - "from": 0, - "size": 0 - }, - "methods": [ - "GET", - "POST" - ], - "patterns": [ - "_xpack/ml/calendars", - "_xpack/ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json deleted file mode 100644 index 0e33294934ba4..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "xpack.ml.get_filters": { - "url_params": { - "from": 0, - "size": 0 - }, - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/ml/filters", - "_xpack/ml/filters/{filter_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json deleted file mode 100644 index ec580842f5120..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.post_calendar_events": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/events" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json deleted file mode 100644 index 706373c53e852..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.put_calendar": { - "methods": [ - "PUT" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json deleted file mode 100644 index 98a4db0bf0e0e..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.put_calendar_job": { - "methods": [ - "PUT" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/jobs/{job_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json deleted file mode 100644 index 9af94e51db0f5..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.validate": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/ml/anomaly_detectors/_validate" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json deleted file mode 100644 index de0d19b09619a..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.validate_detector": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/ml/anomaly_detectors/_validate/detector" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json index a7c381c2ee7f9..586ebd6ff6723 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_xpack/rollup/job/{id}" + "_rollup/job/{id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json index 54c535f3a81f7..657b68fc214b0 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_xpack/rollup/job/{id}", - "_xpack/rollup/job/" + "_rollup/job/{id}", + "_rollup/job/" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json index f619949e63be1..a8145f69eb50b 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_xpack/rollup/data/{id}", - "_xpack/rollup/data/" + "_rollup/data/{id}", + "_rollup/data/" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json new file mode 100644 index 0000000000000..e2f94ae5648ec --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json @@ -0,0 +1,10 @@ +{ + "xpack.rollup.get_rollup_index_caps": { + "methods": [ + "GET" + ], + "patterns": [ + "{indices}/_rollup/data" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json index d55fe948c450c..e36ec37c93b68 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json @@ -4,7 +4,7 @@ "PUT" ], "patterns": [ - "_xpack/rollup/job/{id}" + "_rollup/job/{id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json index 544d86249b40d..f6a8caff17201 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json @@ -1,5 +1,9 @@ { "xpack.rollup.rollup_search": { + "url_params": { + "typed_keys": "__flag__", + "rest_total_hits_as_int": "__flag__" + }, "methods": [ "GET", "POST" diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json index 7a1323f1f79b3..e7b1f48f8cdf5 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/rollup/job/{id}/_start" + "_rollup/job/{id}/_start" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json index e185077e35f16..58706694e2ff4 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json @@ -1,10 +1,14 @@ { "xpack.rollup.stop_job": { + "url_params": { + "wait_for_completion": "__flag__", + "timeout": "" + }, "methods": [ "POST" ], "patterns": [ - "_xpack/rollup/job/{id}/_stop" + "_rollup/job/{id}/_stop" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json deleted file mode 100644 index 6ebef7ce874d9..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.authenticate": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/_authenticate" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json deleted file mode 100644 index a811501e4d71f..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "xpack.security.change_password": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}/_password", - "_xpack/security/user/_password" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json deleted file mode 100644 index 2ef0bfaf79df1..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "xpack.security.clear_cached_realms": { - "url_params": { - "usernames": [] - }, - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/security/realm/{realms}/_clear_cache" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json deleted file mode 100644 index 47baad3ef989f..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.clear_cached_roles": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/security/role/{name}/_clear_cache" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json deleted file mode 100644 index ad95ac444ef98..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "xpack.security.delete_role": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/role/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json deleted file mode 100644 index 0734c784b80f8..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "xpack.security.delete_role_mapping": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/role_mapping/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json deleted file mode 100644 index 732721143503e..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "xpack.security.delete_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/user/{username}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json deleted file mode 100644 index b9151cf3685a1..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.disable_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}/_disable" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json deleted file mode 100644 index 12d1b3c7cf0bb..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.enable_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}/_enable" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json deleted file mode 100644 index e4b887e3d9329..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "xpack.security.get_role": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/role/{name}", - "_xpack/security/role" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json deleted file mode 100644 index 45c935277c865..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "xpack.security.get_role_mapping": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/role_mapping/{name}", - "_xpack/security/role_mapping" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json deleted file mode 100644 index 208d6e31346b7..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.get_token": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/security/oauth2/token" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json deleted file mode 100644 index d42d1afbb91c9..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "xpack.security.get_user": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/user/{username}", - "_xpack/security/user" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json deleted file mode 100644 index e9ffac7bd5f92..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.invalidate_token": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/oauth2/token" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json deleted file mode 100644 index 6cc3523f8b647..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.put_role": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/role/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json deleted file mode 100644 index 7a426c420fffd..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.put_role_mapping": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/role_mapping/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json deleted file mode 100644 index 19a13b37c7d91..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.put_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json index f1b357e909bd6..037df31e3277a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/sql/close" + "_sql/close" ], "documentation": "Clear SQL cursor" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json index 20b8502f79bfc..6f1f9fda541a6 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json @@ -8,7 +8,7 @@ "GET" ], "patterns": [ - "_xpack/sql" + "_sql" ], "documentation": "Execute SQL" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json index 737a57f9f5ca6..32f49659194a1 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json @@ -5,7 +5,7 @@ "GET" ], "patterns": [ - "_xpack/sql/translate" + "_sql/translate" ], "documentation": "Translate SQL into Elasticsearch queries" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json deleted file mode 100644 index 0a4b60b6766e4..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.ssl.certificates": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/ssl/certificates" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json index 53edb6183e2d9..acda1c9e716dd 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json @@ -5,8 +5,8 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{watch_id}/_ack", - "_xpack/watcher/watch/{watch_id}/_ack/{action_id}" + "_watcher/watch/{watch_id}/_ack", + "_watcher/watch/{watch_id}/_ack/{action_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json index 57a1804b8918d..d69d581f01195 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json @@ -5,7 +5,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{watch_id}/_activate" + "_watcher/watch/{watch_id}/_activate" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json index dd1bf97787855..2bc0ad6d9df21 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json @@ -5,7 +5,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{watch_id}/_deactivate" + "_watcher/watch/{watch_id}/_deactivate" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json index 555e76fb9de2e..5f4ca7c6d464a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_xpack/watcher/watch/{id}" + "_watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json index 2c64b9b842038..3697792424e26 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json @@ -8,8 +8,8 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{id}/_execute", - "_xpack/watcher/watch/_execute" + "_watcher/watch/{id}/_execute", + "_watcher/watch/_execute" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json index fc2a7d862fd9a..53aedbba8a5b4 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_xpack/watcher/watch/{id}" + "_watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json index bc6951d058f74..ac24ba1599263 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{id}" + "_watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json index 769b9e4e9c941..489965e741944 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/_start" + "_watcher/_start" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json index 1a1df49a44c74..4cb7413484f2f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json @@ -4,6 +4,7 @@ "metric": [ "_all", "queued_watches", + "current_watches", "pending_watches" ], "emit_stacktraces": "__flag__" @@ -12,16 +13,17 @@ "GET" ], "patterns": [ - "_xpack/watcher/stats", - "_xpack/watcher/stats/{metrics}" + "_watcher/stats", + "_watcher/stats/{metrics}" ], + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html", "url_components": { "metrics": [ "_all", + "current_watches", "pending_watches", "queued_watches" ] - }, - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html" + } } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json index 85e9c63158109..4e5b3f4c52dcf 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/_stop" + "_watcher/_stop" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html" } From e8254d5671d17f49cdce4c41bc06a49d91b48d13 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 13:03:25 -0600 Subject: [PATCH 09/15] [console_extensions] update ml overrides --- ...ml.get_buckets.json => ml.get_buckets.json} | 2 +- ...events.json => ml.get_calendar_events.json} | 2 +- ...et_calendars.json => ml.get_calendars.json} | 4 ++-- .../spec/overrides/ml.get_categories.json | 14 ++++++++++++++ ...nfluencers.json => ml.get_influencers.json} | 2 +- ...pshots.json => ml.get_model_snapshots.json} | 2 +- ...uckets.json => ml.get_overall_buckets.json} | 2 +- ...ml.get_records.json => ml.get_records.json} | 2 +- ...vents.json => ml.post_calendar_events.json} | 2 +- ....put_calendar.json => ml.put_calendar.json} | 2 +- ....put_datafeed.json => ml.put_datafeed.json} | 2 +- .../{xpack.ml.put_job.json => ml.put_job.json} | 6 +++--- ...shot.json => ml.revert_model_snapshot.json} | 2 +- ...e_datafeed.json => ml.update_datafeed.json} | 2 +- ...k.ml.update_job.json => ml.update_job.json} | 4 ++-- ...shot.json => ml.update_model_snapshot.json} | 2 +- .../overrides/xpack.ml.get_categories.json | 18 ------------------ 17 files changed, 33 insertions(+), 37 deletions(-) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.get_buckets.json => ml.get_buckets.json} (92%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.get_calendar_events.json => ml.get_calendar_events.json} (69%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.get_calendars.json => ml.get_calendars.json} (72%) create mode 100644 x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.get_influencers.json => ml.get_influencers.json} (90%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.get_model_snapshots.json => ml.get_model_snapshots.json} (82%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.get_overall_buckets.json => ml.get_overall_buckets.json} (88%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.get_records.json => ml.get_records.json} (91%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.post_calendar_events.json => ml.post_calendar_events.json} (64%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.put_calendar.json => ml.put_calendar.json} (71%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.put_datafeed.json => ml.put_datafeed.json} (90%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.put_job.json => ml.put_job.json} (92%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.revert_model_snapshot.json => ml.revert_model_snapshot.json} (75%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.update_datafeed.json => ml.update_datafeed.json} (89%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.update_job.json => ml.update_job.json} (92%) rename x-pack/plugins/console_extensions/spec/overrides/{xpack.ml.update_model_snapshot.json => ml.update_model_snapshot.json} (72%) delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_buckets.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json similarity index 92% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_buckets.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json index cfcb0270b9649..d920ea4db4e95 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_buckets.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_buckets": { + "ml.get_buckets": { "data_autocomplete_rules": { "desc": { "__one_of": ["true", "false"] }, "exclude_interim": { "__one_of": ["true", "false"] }, diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendar_events.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendar_events.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json index 9af9354cccde3..e2ebea39a6bcf 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendar_events.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_calendar_events": { + "ml.get_calendar_events": { "data_autocomplete_rules": { "from": 0, "size": 100 diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json similarity index 72% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendars.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json index 146965574723e..a28b72dee28dd 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendars.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json @@ -1,8 +1,8 @@ { - "xpack.ml.get_calendars": { + "ml.get_calendars": { "data_autocomplete_rules": { "from": 0, "size": 100 } } -} \ No newline at end of file +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json new file mode 100644 index 0000000000000..c32fb482ee4e4 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json @@ -0,0 +1,14 @@ +{ + "ml.get_categories": { + "data_autocomplete_rules": { + "page": { + "__template": { + "from": 0, + "size": 100 + }, + "from": 0, + "size": 100 + } + } + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_influencers.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json similarity index 90% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_influencers.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json index df1bc1487dd6b..4f31b3db1007c 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_influencers.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_influencers": { + "ml.get_influencers": { "data_autocomplete_rules": { "desc": { "__one_of": ["true", "false"] }, "exclude_interim": { "__one_of": ["true", "false"] }, diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_model_snapshots.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json similarity index 82% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_model_snapshots.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json index 1496851f0c7d9..02a86d39509f8 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_model_snapshots.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_model_snapshots": { + "ml.get_model_snapshots": { "data_autocomplete_rules": { "desc": [true, false], "end": "", diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_overall_buckets.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json similarity index 88% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_overall_buckets.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json index cb41f5ef78aaa..312c44419ba90 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_overall_buckets.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_overall_buckets": { + "ml.get_overall_buckets": { "data_autocomplete_rules": { "allow_no_jobs": { "__one_of": ["true", "false"] }, "bucket_span": "", diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_records.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json similarity index 91% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_records.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json index 16691960696b5..d68dabaeac367 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_records.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_records": { + "ml.get_records": { "data_autocomplete_rules": { "desc": { "__one_of": ["true", "false"] }, "exclude_interim": { "__one_of": ["true", "false"] }, diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json similarity index 64% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.post_calendar_events.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json index 05e3e3697df3c..543a2758ff03a 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.post_calendar_events.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json @@ -1,5 +1,5 @@ { - "xpack.ml.post_calendar_events": { + "ml.post_calendar_events": { "data_autocomplete_rules": { "events": [{}] } diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_calendar.json b/x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_calendar.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json index d0ca83a2fd2af..9bfddb49f84c6 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_calendar.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json @@ -1,5 +1,5 @@ { - "xpack.ml.put_calendar": { + "ml.put_calendar": { "data_autocomplete_rules": { "description": "" } diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_datafeed.json b/x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json similarity index 90% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_datafeed.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json index a3b50af4db036..bb42e485a621e 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.put_datafeed": { + "ml.put_datafeed": { "data_autocomplete_rules": { "aggregations": {}, "chunking_config": {}, diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_job.json b/x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json similarity index 92% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_job.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json index aee010691b964..66910227c3fbc 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_job.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json @@ -1,5 +1,5 @@ { - "xpack.ml.put_job": { + "ml.put_job": { "data_autocomplete_rules": { "analysis_config": {}, "background_persist_interval": "", @@ -13,5 +13,5 @@ "results_index_name": "", "results_retention_days": 1 } - } -} \ No newline at end of file + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.revert_model_snapshot.json b/x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json similarity index 75% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.revert_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json index 806b326271bad..00f69cd0893f2 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.revert_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json @@ -1,5 +1,5 @@ { - "xpack.ml.revert_model_snapshot": { + "ml.revert_model_snapshot": { "data_autocomplete_rules": { "delete_intervening_results": { "__one_of": ["true", "false"] } } diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_datafeed.json b/x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json similarity index 89% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_datafeed.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json index f096707690eea..13616b23dbbbf 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.update_datafeed": { + "ml.update_datafeed": { "data_autocomplete_rules": { "aggregations": {}, "chunking_config": {}, diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_job.json b/x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json similarity index 92% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_job.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json index 562fdef07c790..83ae1d252d3b4 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_job.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json @@ -1,5 +1,5 @@ { - "xpack.ml.update_job": { + "ml.update_job": { "data_autocomplete_rules": { "analysis_limits": {}, "background_persist_interval": "", @@ -13,4 +13,4 @@ "results_retention_days": 1 } } -} \ No newline at end of file +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_model_snapshot.json b/x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json similarity index 72% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json index bbf98c6ac05e7..c5cb3e0e90a63 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json @@ -1,5 +1,5 @@ { - "xpack.ml.update_model_snapshot": { + "ml.update_model_snapshot": { "data_autocomplete_rules": { "description": "", "retain": [true, false] diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json deleted file mode 100644 index b3a46b02edefc..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "xpack.ml.get_categories": { - "data_autocomplete_rules": { - "page": { - "__template": { - "from": 0, - "size": 100 - }, - "from": 0, - "size": 100 - } - }, - "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}", - "_xpack/ml/anomaly_detectors/{job_id}/results/categories" - ] - } -} From 5c0263b35eedc6afd9e1bc5f399681120066db36 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 13:12:01 -0600 Subject: [PATCH 10/15] [console_extensions] update security overrides --- .../spec/overrides/security.put_user.json | 3 +-- .../overrides/xpack.security.authenticate.json | 7 ------- .../xpack.security.change_password.json | 7 ------- .../overrides/xpack.security.get_token.json | 10 ---------- .../xpack.security.invalidate_token.json | 7 ------- .../spec/overrides/xpack.security.put_role.json | 17 ----------------- .../xpack.security.put_role_mapping.json | 10 ---------- .../spec/overrides/xpack.security.put_user.json | 11 ----------- 8 files changed, 1 insertion(+), 71 deletions(-) delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json b/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json index 8d3ca8609e847..e827d94e0fda9 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json +++ b/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json @@ -5,7 +5,6 @@ "password": "", "fullname": "", "roles": [] - }, - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" + } } } diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json deleted file mode 100644 index dbf769e777121..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "xpack.security.authenticate": { - "data_autocomplete_rules": { - "password": "" - } - } -} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json deleted file mode 100644 index afc37f4fbbf1f..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "xpack.security.change_password": { - "data_autocomplete_rules": { - "password": "" - } - } -} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json deleted file mode 100644 index b7eb93656cdff..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.security.get_token": { - "data_autocomplete_rules": { - "grant_type": "", - "password": "", - "scope": "", - "username": "" - } - } -} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json deleted file mode 100644 index 5607fdc7cf418..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "xpack.security.invalidate_token": { - "data_autocomplete_rules": { - "token": "" - } - } -} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json deleted file mode 100644 index 6c40d0afe9b96..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "xpack.security.put_role": { - "data_autocomplete_rules": { - "cluster": [], - "indices": [ - { - "field_security": {}, - "names": [], - "privileges": [], - "query": "" - } - ], - "run_as": [], - "metadata": {} - } - } -} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json deleted file mode 100644 index 58124509ab271..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.security.put_role_mapping": { - "data_autocomplete_rules": { - "enabled": true, - "metadata": {}, - "roles": [], - "rules": {} - } - } -} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json deleted file mode 100644 index 6aff00817e494..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.put_user": { - "data_autocomplete_rules": { - "metadata": {}, - "password": "", - "fullname": "", - "roles": [] - }, - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" - } -} From bb3742570d87bc15528ab0d2d30627d0b4da064a Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 13:12:15 -0600 Subject: [PATCH 11/15] [console_extensions] update rollup overrides --- .../spec/overrides/xpack.rollup.get_jobs.json | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json deleted file mode 100644 index 06a89d35819f8..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "xpack.rollup.get_jobs": { - "patterns": [ - "_xpack/rollup/job/{id}" - ] - } -} From 620f8474cfaf9dedf40a8088ca0bb6796a8ef1ed Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 29 Jan 2019 09:05:09 -0600 Subject: [PATCH 12/15] Revert "[console_extensions] update rollup overrides" This reverts commit bb3742570d87bc15528ab0d2d30627d0b4da064a. --- .../spec/overrides/xpack.rollup.get_jobs.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json new file mode 100644 index 0000000000000..06a89d35819f8 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.get_jobs.json @@ -0,0 +1,7 @@ +{ + "xpack.rollup.get_jobs": { + "patterns": [ + "_xpack/rollup/job/{id}" + ] + } +} From 1d97b8fa3bac15f1adbe85757e390b97b8f801c2 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 29 Jan 2019 09:05:18 -0600 Subject: [PATCH 13/15] Revert "[console_extensions] update security overrides" This reverts commit 5c0263b35eedc6afd9e1bc5f399681120066db36. --- .../spec/overrides/security.put_user.json | 3 ++- .../overrides/xpack.security.authenticate.json | 7 +++++++ .../xpack.security.change_password.json | 7 +++++++ .../overrides/xpack.security.get_token.json | 10 ++++++++++ .../xpack.security.invalidate_token.json | 7 +++++++ .../spec/overrides/xpack.security.put_role.json | 17 +++++++++++++++++ .../xpack.security.put_role_mapping.json | 10 ++++++++++ .../spec/overrides/xpack.security.put_user.json | 11 +++++++++++ 8 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json b/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json index e827d94e0fda9..8d3ca8609e847 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json +++ b/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json @@ -5,6 +5,7 @@ "password": "", "fullname": "", "roles": [] - } + }, + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" } } diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json new file mode 100644 index 0000000000000..dbf769e777121 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json @@ -0,0 +1,7 @@ +{ + "xpack.security.authenticate": { + "data_autocomplete_rules": { + "password": "" + } + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json new file mode 100644 index 0000000000000..afc37f4fbbf1f --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json @@ -0,0 +1,7 @@ +{ + "xpack.security.change_password": { + "data_autocomplete_rules": { + "password": "" + } + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json new file mode 100644 index 0000000000000..b7eb93656cdff --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json @@ -0,0 +1,10 @@ +{ + "xpack.security.get_token": { + "data_autocomplete_rules": { + "grant_type": "", + "password": "", + "scope": "", + "username": "" + } + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json new file mode 100644 index 0000000000000..5607fdc7cf418 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json @@ -0,0 +1,7 @@ +{ + "xpack.security.invalidate_token": { + "data_autocomplete_rules": { + "token": "" + } + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json new file mode 100644 index 0000000000000..6c40d0afe9b96 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json @@ -0,0 +1,17 @@ +{ + "xpack.security.put_role": { + "data_autocomplete_rules": { + "cluster": [], + "indices": [ + { + "field_security": {}, + "names": [], + "privileges": [], + "query": "" + } + ], + "run_as": [], + "metadata": {} + } + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json new file mode 100644 index 0000000000000..58124509ab271 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json @@ -0,0 +1,10 @@ +{ + "xpack.security.put_role_mapping": { + "data_autocomplete_rules": { + "enabled": true, + "metadata": {}, + "roles": [], + "rules": {} + } + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json new file mode 100644 index 0000000000000..6aff00817e494 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json @@ -0,0 +1,11 @@ +{ + "xpack.security.put_user": { + "data_autocomplete_rules": { + "metadata": {}, + "password": "", + "fullname": "", + "roles": [] + }, + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" + } +} From 6fc794e132d48e8cf3f1414eecf357990c9540ff Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 29 Jan 2019 09:05:28 -0600 Subject: [PATCH 14/15] Revert "[console_extensions] update ml overrides" This reverts commit e8254d5671d17f49cdce4c41bc06a49d91b48d13. --- .../spec/overrides/ml.get_categories.json | 14 -------------- ..._buckets.json => xpack.ml.get_buckets.json} | 2 +- ....json => xpack.ml.get_calendar_events.json} | 2 +- ...endars.json => xpack.ml.get_calendars.json} | 4 ++-- .../overrides/xpack.ml.get_categories.json | 18 ++++++++++++++++++ ...cers.json => xpack.ml.get_influencers.json} | 2 +- ....json => xpack.ml.get_model_snapshots.json} | 2 +- ....json => xpack.ml.get_overall_buckets.json} | 2 +- ..._records.json => xpack.ml.get_records.json} | 2 +- ...json => xpack.ml.post_calendar_events.json} | 2 +- ...alendar.json => xpack.ml.put_calendar.json} | 2 +- ...atafeed.json => xpack.ml.put_datafeed.json} | 2 +- .../{ml.put_job.json => xpack.ml.put_job.json} | 6 +++--- ...son => xpack.ml.revert_model_snapshot.json} | 2 +- ...feed.json => xpack.ml.update_datafeed.json} | 2 +- ...pdate_job.json => xpack.ml.update_job.json} | 4 ++-- ...son => xpack.ml.update_model_snapshot.json} | 2 +- 17 files changed, 37 insertions(+), 33 deletions(-) delete mode 100644 x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json rename x-pack/plugins/console_extensions/spec/overrides/{ml.get_buckets.json => xpack.ml.get_buckets.json} (92%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.get_calendar_events.json => xpack.ml.get_calendar_events.json} (69%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.get_calendars.json => xpack.ml.get_calendars.json} (72%) create mode 100644 x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json rename x-pack/plugins/console_extensions/spec/overrides/{ml.get_influencers.json => xpack.ml.get_influencers.json} (90%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.get_model_snapshots.json => xpack.ml.get_model_snapshots.json} (82%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.get_overall_buckets.json => xpack.ml.get_overall_buckets.json} (88%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.get_records.json => xpack.ml.get_records.json} (91%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.post_calendar_events.json => xpack.ml.post_calendar_events.json} (64%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.put_calendar.json => xpack.ml.put_calendar.json} (71%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.put_datafeed.json => xpack.ml.put_datafeed.json} (90%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.put_job.json => xpack.ml.put_job.json} (92%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.revert_model_snapshot.json => xpack.ml.revert_model_snapshot.json} (75%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.update_datafeed.json => xpack.ml.update_datafeed.json} (89%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.update_job.json => xpack.ml.update_job.json} (92%) rename x-pack/plugins/console_extensions/spec/overrides/{ml.update_model_snapshot.json => xpack.ml.update_model_snapshot.json} (72%) diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json b/x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json deleted file mode 100644 index c32fb482ee4e4..0000000000000 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "ml.get_categories": { - "data_autocomplete_rules": { - "page": { - "__template": { - "from": 0, - "size": 100 - }, - "from": 0, - "size": 100 - } - } - } -} diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_buckets.json similarity index 92% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_buckets.json index d920ea4db4e95..cfcb0270b9649 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_buckets.json @@ -1,5 +1,5 @@ { - "ml.get_buckets": { + "xpack.ml.get_buckets": { "data_autocomplete_rules": { "desc": { "__one_of": ["true", "false"] }, "exclude_interim": { "__one_of": ["true", "false"] }, diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendar_events.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendar_events.json index e2ebea39a6bcf..9af9354cccde3 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendar_events.json @@ -1,5 +1,5 @@ { - "ml.get_calendar_events": { + "xpack.ml.get_calendar_events": { "data_autocomplete_rules": { "from": 0, "size": 100 diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendars.json similarity index 72% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendars.json index a28b72dee28dd..146965574723e 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_calendars.json @@ -1,8 +1,8 @@ { - "ml.get_calendars": { + "xpack.ml.get_calendars": { "data_autocomplete_rules": { "from": 0, "size": 100 } } -} +} \ No newline at end of file diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json new file mode 100644 index 0000000000000..b3a46b02edefc --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_categories.json @@ -0,0 +1,18 @@ +{ + "xpack.ml.get_categories": { + "data_autocomplete_rules": { + "page": { + "__template": { + "from": 0, + "size": 100 + }, + "from": 0, + "size": 100 + } + }, + "patterns": [ + "_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}", + "_xpack/ml/anomaly_detectors/{job_id}/results/categories" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_influencers.json similarity index 90% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_influencers.json index 4f31b3db1007c..df1bc1487dd6b 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_influencers.json @@ -1,5 +1,5 @@ { - "ml.get_influencers": { + "xpack.ml.get_influencers": { "data_autocomplete_rules": { "desc": { "__one_of": ["true", "false"] }, "exclude_interim": { "__one_of": ["true", "false"] }, diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_model_snapshots.json similarity index 82% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_model_snapshots.json index 02a86d39509f8..1496851f0c7d9 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_model_snapshots.json @@ -1,5 +1,5 @@ { - "ml.get_model_snapshots": { + "xpack.ml.get_model_snapshots": { "data_autocomplete_rules": { "desc": [true, false], "end": "", diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_overall_buckets.json similarity index 88% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_overall_buckets.json index 312c44419ba90..cb41f5ef78aaa 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_overall_buckets.json @@ -1,5 +1,5 @@ { - "ml.get_overall_buckets": { + "xpack.ml.get_overall_buckets": { "data_autocomplete_rules": { "allow_no_jobs": { "__one_of": ["true", "false"] }, "bucket_span": "", diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_records.json similarity index 91% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_records.json index d68dabaeac367..16691960696b5 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.get_records.json @@ -1,5 +1,5 @@ { - "ml.get_records": { + "xpack.ml.get_records": { "data_autocomplete_rules": { "desc": { "__one_of": ["true", "false"] }, "exclude_interim": { "__one_of": ["true", "false"] }, diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.post_calendar_events.json similarity index 64% rename from x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.post_calendar_events.json index 543a2758ff03a..05e3e3697df3c 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.post_calendar_events.json @@ -1,5 +1,5 @@ { - "ml.post_calendar_events": { + "xpack.ml.post_calendar_events": { "data_autocomplete_rules": { "events": [{}] } diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_calendar.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_calendar.json index 9bfddb49f84c6..d0ca83a2fd2af 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_calendar.json @@ -1,5 +1,5 @@ { - "ml.put_calendar": { + "xpack.ml.put_calendar": { "data_autocomplete_rules": { "description": "" } diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_datafeed.json similarity index 90% rename from x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_datafeed.json index bb42e485a621e..a3b50af4db036 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_datafeed.json @@ -1,5 +1,5 @@ { - "ml.put_datafeed": { + "xpack.ml.put_datafeed": { "data_autocomplete_rules": { "aggregations": {}, "chunking_config": {}, diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_job.json similarity index 92% rename from x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_job.json index 66910227c3fbc..aee010691b964 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.put_job.json @@ -1,5 +1,5 @@ { - "ml.put_job": { + "xpack.ml.put_job": { "data_autocomplete_rules": { "analysis_config": {}, "background_persist_interval": "", @@ -13,5 +13,5 @@ "results_index_name": "", "results_retention_days": 1 } - } -} + } +} \ No newline at end of file diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.revert_model_snapshot.json similarity index 75% rename from x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.revert_model_snapshot.json index 00f69cd0893f2..806b326271bad 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.revert_model_snapshot.json @@ -1,5 +1,5 @@ { - "ml.revert_model_snapshot": { + "xpack.ml.revert_model_snapshot": { "data_autocomplete_rules": { "delete_intervening_results": { "__one_of": ["true", "false"] } } diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_datafeed.json similarity index 89% rename from x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_datafeed.json index 13616b23dbbbf..f096707690eea 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_datafeed.json @@ -1,5 +1,5 @@ { - "ml.update_datafeed": { + "xpack.ml.update_datafeed": { "data_autocomplete_rules": { "aggregations": {}, "chunking_config": {}, diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_job.json similarity index 92% rename from x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_job.json index 83ae1d252d3b4..562fdef07c790 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_job.json @@ -1,5 +1,5 @@ { - "ml.update_job": { + "xpack.ml.update_job": { "data_autocomplete_rules": { "analysis_limits": {}, "background_persist_interval": "", @@ -13,4 +13,4 @@ "results_retention_days": 1 } } -} +} \ No newline at end of file diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_model_snapshot.json similarity index 72% rename from x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_model_snapshot.json index c5cb3e0e90a63..bbf98c6ac05e7 100644 --- a/x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/overrides/xpack.ml.update_model_snapshot.json @@ -1,5 +1,5 @@ { - "ml.update_model_snapshot": { + "xpack.ml.update_model_snapshot": { "data_autocomplete_rules": { "description": "", "retain": [true, false] From 435c5b0c5d138294258ebf7a8105c6807301b144 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 29 Jan 2019 09:05:41 -0600 Subject: [PATCH 15/15] Revert "[console_extensions] regenerate" This reverts commit 91b754e9562e3165dd91aa693419c45e28471660. --- .../spec/generated/ccr.follow.json | 2 +- .../spec/generated/ccr.follow_stats.json | 2 +- .../spec/generated/ccr.pause_follow.json | 2 +- .../spec/generated/ccr.resume_follow.json | 2 +- .../spec/generated/ccr.unfollow.json | 4 +-- .../spec/generated/ilm.remove_policy.json | 3 +- .../spec/generated/ilm.set_policy.json | 11 +++++++ .../spec/generated/indices.freeze.json | 24 -------------- .../spec/generated/indices.unfreeze.json | 24 -------------- .../spec/generated/ml.delete_calendar.json | 10 ------ .../generated/ml.delete_calendar_event.json | 10 ------ .../generated/ml.delete_calendar_job.json | 10 ------ .../generated/ml.delete_expired_data.json | 10 ------ .../spec/generated/ml.delete_forecast.json | 16 ---------- .../generated/ml.find_file_structure.json | 31 ------------------- .../spec/generated/ml.get_calendars.json | 16 ---------- .../spec/generated/ml.get_filters.json | 15 --------- .../generated/ml.post_calendar_events.json | 10 ------ .../spec/generated/ml.put_calendar.json | 10 ------ .../spec/generated/ml.put_calendar_job.json | 10 ------ .../spec/generated/ml.set_upgrade_mode.json | 15 --------- .../spec/generated/ml.update_filter.json | 10 ------ .../spec/generated/ml.validate.json | 10 ------ .../spec/generated/ml.validate_detector.json | 10 ------ .../generated/security.delete_privileges.json | 2 +- .../generated/security.get_privileges.json | 2 +- .../security.get_user_privileges.json | 3 +- .../generated/security.put_privileges.json | 2 +- .../spec/generated/xpack.graph.explore.json | 4 +-- .../spec/generated/xpack.license.delete.json | 2 +- .../spec/generated/xpack.license.get.json | 2 +- .../xpack.license.get_basic_status.json | 2 +- .../xpack.license.get_trial_status.json | 2 +- .../spec/generated/xpack.license.post.json | 2 +- .../xpack.license.post_start_basic.json | 2 +- .../xpack.license.post_start_trial.json | 2 +- .../xpack.migration.deprecations.json | 4 +-- .../xpack.migration.get_assistance.json | 4 +-- .../generated/xpack.migration.upgrade.json | 2 +- ...close_job.json => xpack.ml.close_job.json} | 4 +-- .../generated/xpack.ml.delete_calendar.json | 10 ++++++ .../xpack.ml.delete_calendar_event.json | 10 ++++++ .../xpack.ml.delete_calendar_job.json | 10 ++++++ ...eed.json => xpack.ml.delete_datafeed.json} | 4 +-- .../xpack.ml.delete_expired_data.json | 10 ++++++ ...ilter.json => xpack.ml.delete_filter.json} | 4 +-- ...lete_job.json => xpack.ml.delete_job.json} | 7 ++--- ...on => xpack.ml.delete_model_snapshot.json} | 4 +-- ...flush_job.json => xpack.ml.flush_job.json} | 4 +-- ...l.forecast.json => xpack.ml.forecast.json} | 4 +-- ...buckets.json => xpack.ml.get_buckets.json} | 12 +++---- ...json => xpack.ml.get_calendar_events.json} | 8 ++--- .../generated/xpack.ml.get_calendars.json | 16 ++++++++++ ...ries.json => xpack.ml.get_categories.json} | 10 +++--- ....json => xpack.ml.get_datafeed_stats.json} | 6 ++-- ...feeds.json => xpack.ml.get_datafeeds.json} | 6 ++-- .../spec/generated/xpack.ml.get_filters.json | 15 +++++++++ ...ers.json => xpack.ml.get_influencers.json} | 10 +++--- ...stats.json => xpack.ml.get_job_stats.json} | 6 ++-- ...l.get_jobs.json => xpack.ml.get_jobs.json} | 6 ++-- ...json => xpack.ml.get_model_snapshots.json} | 10 +++--- ...json => xpack.ml.get_overall_buckets.json} | 8 ++--- ...records.json => xpack.ml.get_records.json} | 10 +++--- .../{ml.info.json => xpack.ml.info.json} | 4 +-- ...l.open_job.json => xpack.ml.open_job.json} | 4 +-- .../xpack.ml.post_calendar_events.json | 10 ++++++ ...post_data.json => xpack.ml.post_data.json} | 4 +-- ...ed.json => xpack.ml.preview_datafeed.json} | 4 +-- .../spec/generated/xpack.ml.put_calendar.json | 10 ++++++ .../generated/xpack.ml.put_calendar_job.json | 10 ++++++ ...tafeed.json => xpack.ml.put_datafeed.json} | 4 +-- ...t_filter.json => xpack.ml.put_filter.json} | 4 +-- ...{ml.put_job.json => xpack.ml.put_job.json} | 4 +-- ...on => xpack.ml.revert_model_snapshot.json} | 4 +-- ...feed.json => xpack.ml.start_datafeed.json} | 4 +-- ...afeed.json => xpack.ml.stop_datafeed.json} | 4 +-- ...eed.json => xpack.ml.update_datafeed.json} | 4 +-- ...date_job.json => xpack.ml.update_job.json} | 4 +-- ...on => xpack.ml.update_model_snapshot.json} | 4 +-- .../spec/generated/xpack.ml.validate.json | 10 ++++++ .../generated/xpack.ml.validate_detector.json | 10 ++++++ ...g.bulk.json => xpack.monitoring.bulk.json} | 6 ++-- .../generated/xpack.rollup.delete_job.json | 2 +- .../spec/generated/xpack.rollup.get_jobs.json | 4 +-- .../xpack.rollup.get_rollup_caps.json | 4 +-- .../xpack.rollup.get_rollup_index_caps.json | 10 ------ .../spec/generated/xpack.rollup.put_job.json | 2 +- .../generated/xpack.rollup.rollup_search.json | 4 --- .../generated/xpack.rollup.start_job.json | 2 +- .../spec/generated/xpack.rollup.stop_job.json | 6 +--- .../xpack.security.authenticate.json | 11 +++++++ .../xpack.security.change_password.json | 20 ++++++++++++ .../xpack.security.clear_cached_realms.json | 14 +++++++++ .../xpack.security.clear_cached_roles.json | 11 +++++++ .../generated/xpack.security.delete_role.json | 18 +++++++++++ .../xpack.security.delete_role_mapping.json | 18 +++++++++++ .../generated/xpack.security.delete_user.json | 18 +++++++++++ .../xpack.security.disable_user.json | 19 ++++++++++++ .../generated/xpack.security.enable_user.json | 19 ++++++++++++ .../generated/xpack.security.get_role.json | 12 +++++++ .../xpack.security.get_role_mapping.json | 12 +++++++ .../generated/xpack.security.get_token.json | 11 +++++++ .../generated/xpack.security.get_user.json | 12 +++++++ .../xpack.security.invalidate_token.json | 11 +++++++ .../generated/xpack.security.put_role.json | 19 ++++++++++++ .../xpack.security.put_role_mapping.json | 19 ++++++++++++ .../generated/xpack.security.put_user.json | 19 ++++++++++++ .../generated/xpack.sql.clear_cursor.json | 2 +- .../spec/generated/xpack.sql.query.json | 2 +- .../spec/generated/xpack.sql.translate.json | 2 +- .../generated/xpack.ssl.certificates.json | 11 +++++++ .../generated/xpack.watcher.ack_watch.json | 4 +-- .../xpack.watcher.activate_watch.json | 2 +- .../xpack.watcher.deactivate_watch.json | 2 +- .../generated/xpack.watcher.delete_watch.json | 2 +- .../xpack.watcher.execute_watch.json | 4 +-- .../generated/xpack.watcher.get_watch.json | 2 +- .../generated/xpack.watcher.put_watch.json | 2 +- .../spec/generated/xpack.watcher.start.json | 2 +- .../spec/generated/xpack.watcher.stats.json | 10 +++--- .../spec/generated/xpack.watcher.stop.json | 2 +- 121 files changed, 548 insertions(+), 404 deletions(-) create mode 100644 x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/indices.freeze.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.validate.json delete mode 100644 x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json rename x-pack/plugins/console_extensions/spec/generated/{ml.close_job.json => xpack.ml.close_job.json} (78%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json rename x-pack/plugins/console_extensions/spec/generated/{ml.delete_datafeed.json => xpack.ml.delete_datafeed.json} (76%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json rename x-pack/plugins/console_extensions/spec/generated/{ml.delete_filter.json => xpack.ml.delete_filter.json} (51%) rename x-pack/plugins/console_extensions/spec/generated/{ml.delete_job.json => xpack.ml.delete_job.json} (61%) rename x-pack/plugins/console_extensions/spec/generated/{ml.delete_model_snapshot.json => xpack.ml.delete_model_snapshot.json} (61%) rename x-pack/plugins/console_extensions/spec/generated/{ml.flush_job.json => xpack.ml.flush_job.json} (80%) rename x-pack/plugins/console_extensions/spec/generated/{ml.forecast.json => xpack.ml.forecast.json} (63%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_buckets.json => xpack.ml.get_buckets.json} (61%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_calendar_events.json => xpack.ml.get_calendar_events.json} (56%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json rename x-pack/plugins/console_extensions/spec/generated/{ml.get_categories.json => xpack.ml.get_categories.json} (51%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_datafeed_stats.json => xpack.ml.get_datafeed_stats.json} (67%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_datafeeds.json => xpack.ml.get_datafeeds.json} (70%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json rename x-pack/plugins/console_extensions/spec/generated/{ml.get_influencers.json => xpack.ml.get_influencers.json} (67%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_job_stats.json => xpack.ml.get_job_stats.json} (65%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_jobs.json => xpack.ml.get_jobs.json} (68%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_model_snapshots.json => xpack.ml.get_model_snapshots.json} (58%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_overall_buckets.json => xpack.ml.get_overall_buckets.json} (70%) rename x-pack/plugins/console_extensions/spec/generated/{ml.get_records.json => xpack.ml.get_records.json} (69%) rename x-pack/plugins/console_extensions/spec/generated/{ml.info.json => xpack.ml.info.json} (60%) rename x-pack/plugins/console_extensions/spec/generated/{ml.open_job.json => xpack.ml.open_job.json} (69%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json rename x-pack/plugins/console_extensions/spec/generated/{ml.post_data.json => xpack.ml.post_data.json} (76%) rename x-pack/plugins/console_extensions/spec/generated/{ml.preview_datafeed.json => xpack.ml.preview_datafeed.json} (68%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json rename x-pack/plugins/console_extensions/spec/generated/{ml.put_datafeed.json => xpack.ml.put_datafeed.json} (71%) rename x-pack/plugins/console_extensions/spec/generated/{ml.put_filter.json => xpack.ml.put_filter.json} (51%) rename x-pack/plugins/console_extensions/spec/generated/{ml.put_job.json => xpack.ml.put_job.json} (71%) rename x-pack/plugins/console_extensions/spec/generated/{ml.revert_model_snapshot.json => xpack.ml.revert_model_snapshot.json} (67%) rename x-pack/plugins/console_extensions/spec/generated/{ml.start_datafeed.json => xpack.ml.start_datafeed.json} (76%) rename x-pack/plugins/console_extensions/spec/generated/{ml.stop_datafeed.json => xpack.ml.stop_datafeed.json} (78%) rename x-pack/plugins/console_extensions/spec/generated/{ml.update_datafeed.json => xpack.ml.update_datafeed.json} (68%) rename x-pack/plugins/console_extensions/spec/generated/{ml.update_job.json => xpack.ml.update_job.json} (68%) rename x-pack/plugins/console_extensions/spec/generated/{ml.update_model_snapshot.json => xpack.ml.update_model_snapshot.json} (59%) create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json rename x-pack/plugins/console_extensions/spec/generated/{monitoring.bulk.json => xpack.monitoring.bulk.json} (73%) delete mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json create mode 100644 x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json index ba993d25c60ec..704cb082161ae 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json @@ -4,7 +4,7 @@ "PUT" ], "patterns": [ - "{indices}/_ccr/follow" + "{index}/_ccr/follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json b/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json index 6d72e12df17d4..47553262c95d2 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "{indices}/_ccr/stats" + "{index}/_ccr/stats" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json index 72afa796e1964..4dcb0fdaf9b87 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "{indices}/_ccr/pause_follow" + "{index}/_ccr/pause_follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json index 3710cdb8cc577..00b889d0d5f9a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "{indices}/_ccr/resume_follow" + "{index}/_ccr/resume_follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json index 92759d8222c63..9d9d6868a2fc9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json @@ -4,8 +4,8 @@ "POST" ], "patterns": [ - "{indices}/_ccr/unfollow" + "{index}/_ccr/unfollow" ], - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current" + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json b/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json index 5a3c760386f10..fc835953c2c6d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json +++ b/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json @@ -4,7 +4,8 @@ "POST" ], "patterns": [ - "{indices}/_ilm/remove" + "{indices}/_ilm/remove", + "_ilm/remove" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json b/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json new file mode 100644 index 0000000000000..6c57973eaabae --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json @@ -0,0 +1,11 @@ +{ + "ilm.set_policy": { + "methods": [ + "PUT" + ], + "patterns": [ + "{indices}/_ilm/{new_policy}" + ], + "documentation": "http://www.elastic.co/guide/en/index_lifecycle/current/index_lifecycle.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json b/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json deleted file mode 100644 index 06e8c606f59f7..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "indices.freeze": { - "url_params": { - "timeout": "", - "master_timeout": "", - "ignore_unavailable": "__flag__", - "allow_no_indices": "__flag__", - "expand_wildcards": [ - "open", - "closed", - "none", - "all" - ], - "wait_for_active_shards": "" - }, - "methods": [ - "POST" - ], - "patterns": [ - "{indices}/_freeze" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json b/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json deleted file mode 100644 index 186a671347240..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "indices.unfreeze": { - "url_params": { - "timeout": "", - "master_timeout": "", - "ignore_unavailable": "__flag__", - "allow_no_indices": "__flag__", - "expand_wildcards": [ - "open", - "closed", - "none", - "all" - ], - "wait_for_active_shards": "" - }, - "methods": [ - "POST" - ], - "patterns": [ - "{indices}/_unfreeze" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json deleted file mode 100644 index 97e5898072a08..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.delete_calendar": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json deleted file mode 100644 index 85ea5add0b60b..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.delete_calendar_event": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_ml/calendars/{calendar_id}/events/{event_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json deleted file mode 100644 index 6665f52eeb90d..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.delete_calendar_job": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_ml/calendars/{calendar_id}/jobs/{job_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json deleted file mode 100644 index 4afa9e323b030..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.delete_expired_data": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_ml/_delete_expired_data" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json deleted file mode 100644 index 971a761cc77e9..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "ml.delete_forecast": { - "url_params": { - "allow_no_forecasts": "__flag__", - "timeout": "" - }, - "methods": [ - "DELETE" - ], - "patterns": [ - "_ml/anomaly_detectors/{job_id}/_forecast", - "_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}" - ], - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json b/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json deleted file mode 100644 index 1966529539734..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "ml.find_file_structure": { - "url_params": { - "lines_to_sample": "", - "timeout": "", - "charset": "", - "format": [ - "ndjson", - "xml", - "delimited", - "semi_structured_text" - ], - "has_header_row": "__flag__", - "column_names": [], - "delimiter": "", - "quote": "", - "should_trim_fields": "__flag__", - "grok_pattern": "", - "timestamp_field": "", - "timestamp_format": "", - "explain": "__flag__" - }, - "methods": [ - "POST" - ], - "patterns": [ - "_ml/find_file_structure" - ], - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-file-structure.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json deleted file mode 100644 index 745b6bbbd35e4..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "ml.get_calendars": { - "url_params": { - "from": "", - "size": "" - }, - "methods": [ - "GET", - "POST" - ], - "patterns": [ - "_ml/calendars", - "_ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json deleted file mode 100644 index e1b7306909d34..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ml.get_filters": { - "url_params": { - "from": "", - "size": "" - }, - "methods": [ - "GET" - ], - "patterns": [ - "_ml/filters", - "_ml/filters/{filter_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json deleted file mode 100644 index 89ce2df63315b..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.post_calendar_events": { - "methods": [ - "POST" - ], - "patterns": [ - "_ml/calendars/{calendar_id}/events" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json deleted file mode 100644 index 7452d1b4b9707..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.put_calendar": { - "methods": [ - "PUT" - ], - "patterns": [ - "_ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json deleted file mode 100644 index 08dc3d77b5f25..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.put_calendar_job": { - "methods": [ - "PUT" - ], - "patterns": [ - "_ml/calendars/{calendar_id}/jobs/{job_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json b/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json deleted file mode 100644 index ad1734033d9a5..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ml.set_upgrade_mode": { - "url_params": { - "enabled": "__flag__", - "timeout": "" - }, - "methods": [ - "POST" - ], - "patterns": [ - "_ml/set_upgrade_mode" - ], - "documentation": "TODO" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json deleted file mode 100644 index 3f48013c2be1c..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.update_filter": { - "methods": [ - "POST" - ], - "patterns": [ - "_ml/filters/{filter_id}/_update" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate.json b/x-pack/plugins/console_extensions/spec/generated/ml.validate.json deleted file mode 100644 index 298c7cf6dce26..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.validate.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.validate": { - "methods": [ - "POST" - ], - "patterns": [ - "_ml/anomaly_detectors/_validate" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json b/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json deleted file mode 100644 index 5e6d7daeea772..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ml.validate_detector": { - "methods": [ - "POST" - ], - "patterns": [ - "_ml/anomaly_detectors/_validate/detector" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json index b44798013fe59..4da7183b4d977 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json @@ -13,6 +13,6 @@ "patterns": [ "_security/privilege/{application}/{name}" ], - "documentation": "TODO" + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-delete-privilege.html" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json index 4d2dce21c0c5f..b833f69848e1f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json @@ -6,6 +6,6 @@ "patterns": [ "_security/privilege/{application}/{name}" ], - "documentation": "TODO" + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-get-privileges.html" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json index 1b939d2d9a29e..e5ada00828f73 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json @@ -5,7 +5,6 @@ ], "patterns": [ "_security/user/_privileges" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html" + ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json index 7ecffc780c066..4284ed9b54f1b 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json @@ -14,6 +14,6 @@ "patterns": [ "_security/privilege/" ], - "documentation": "TODO" + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-put-privileges.html" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json b/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json index b2a74408995d7..f140af08686e2 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json @@ -9,8 +9,8 @@ "POST" ], "patterns": [ - "{indices}/_graph/explore", - "{indices}/{type}/_graph/explore" + "{indices}/_xpack/graph/_explore", + "{indices}/{type}/_xpack/graph/_explore" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json index 492a0403be62c..a60c3b8f70f5c 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_license" + "_xpack/license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json index ccd7d7eb77914..f9ca4bc285ecb 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json @@ -7,7 +7,7 @@ "GET" ], "patterns": [ - "_license" + "_xpack/license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json index 5a5488208e218..c83cdd4a95a8d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_license/basic_status" + "_xpack/license/basic_status" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json index 251d899febf53..cd79e6fdc2c1e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_license/trial_status" + "_xpack/license/trial_status" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json index 79be105710904..6c5e2c65a56d6 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_license" + "_xpack/license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json index fb858a65c2322..27da929b25eab 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_license/start_basic" + "_xpack/license/start_basic" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json index bd3eaf476e022..905b8b324d5ef 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_license/start_trial" + "_xpack/license/start_trial" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json index dad2695f0d14c..d8dbea2c53d7a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_migration/deprecations", - "{indices}/_migration/deprecations" + "_xpack/migration/deprecations", + "{indices}/_xpack/migration/deprecations" ], "documentation": "http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json index 4cc068ce2e460..dcd81df3770a2 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json @@ -14,8 +14,8 @@ "GET" ], "patterns": [ - "_migration/assistance", - "_migration/assistance/{indices}" + "_xpack/migration/assistance", + "_xpack/migration/assistance/{indices}" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json index 93186f31a0876..331a93f176320 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_migration/upgrade/{indices}" + "_xpack/migration/upgrade/{indices}" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.close_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json similarity index 78% rename from x-pack/plugins/console_extensions/spec/generated/ml.close_job.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json index 310b0d125b1f9..933f79a1028ed 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.close_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json @@ -1,5 +1,5 @@ { - "ml.close_job": { + "xpack.ml.close_job": { "url_params": { "allow_no_jobs": "__flag__", "force": "__flag__", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/_close" + "_xpack/ml/anomaly_detectors/{job_id}/_close" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json new file mode 100644 index 0000000000000..d5e47c1d78c7c --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.delete_calendar": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/ml/calendars/{calendar_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json new file mode 100644 index 0000000000000..2be7a261b1d20 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.delete_calendar_event": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/ml/calendars/{calendar_id}/events/{event_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json new file mode 100644 index 0000000000000..7d3716f9ebfea --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.delete_calendar_job": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/ml/calendars/{calendar_id}/jobs/{job_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json index 7c7f3c40f23bb..af1d5564cf9ca 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json @@ -1,5 +1,5 @@ { - "ml.delete_datafeed": { + "xpack.ml.delete_datafeed": { "url_params": { "force": "__flag__" }, @@ -7,7 +7,7 @@ "DELETE" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}" + "_xpack/ml/datafeeds/{datafeed_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json new file mode 100644 index 0000000000000..e8c04ff315731 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.delete_expired_data": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/ml/_delete_expired_data" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json index 8210a2acd71d0..5a4a8cd232448 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json @@ -1,10 +1,10 @@ { - "ml.delete_filter": { + "xpack.ml.delete_filter": { "methods": [ "DELETE" ], "patterns": [ - "_ml/filters/{filter_id}" + "_xpack/ml/filters/{filter_id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json index ab518071bf765..26c45ad0fc6fb 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json @@ -1,14 +1,13 @@ { - "ml.delete_job": { + "xpack.ml.delete_job": { "url_params": { - "force": "__flag__", - "wait_for_completion": "__flag__" + "force": "__flag__" }, "methods": [ "DELETE" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}" + "_xpack/ml/anomaly_detectors/{job_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json index 53d45bf0498ab..faf9da66f3bee 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json @@ -1,10 +1,10 @@ { - "ml.delete_model_snapshot": { + "xpack.ml.delete_model_snapshot": { "methods": [ "DELETE" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" + "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json similarity index 80% rename from x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json index 2f496003a2834..190fa9813384e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json @@ -1,5 +1,5 @@ { - "ml.flush_job": { + "xpack.ml.flush_job": { "url_params": { "calc_interim": "__flag__", "start": "", @@ -11,7 +11,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/_flush" + "_xpack/ml/anomaly_detectors/{job_id}/_flush" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.forecast.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json similarity index 63% rename from x-pack/plugins/console_extensions/spec/generated/ml.forecast.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json index 3a8849aad3e4d..e96a5100e98dd 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.forecast.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json @@ -1,5 +1,5 @@ { - "ml.forecast": { + "xpack.ml.forecast": { "url_params": { "duration": "", "expires_in": "" @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/_forecast" + "_xpack/ml/anomaly_detectors/{job_id}/_forecast" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json index a6af0dc63a388..a63c47ab52429 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json @@ -1,13 +1,13 @@ { - "ml.get_buckets": { + "xpack.ml.get_buckets": { "url_params": { "expand": "__flag__", "exclude_interim": "__flag__", - "from": "", - "size": "", + "from": 0, + "size": 0, "start": "", "end": "", - "anomaly_score": "", + "anomaly_score": 0, "sort": "", "desc": "__flag__" }, @@ -16,8 +16,8 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", - "_ml/anomaly_detectors/{job_id}/results/buckets" + "_xpack/ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", + "_xpack/ml/anomaly_detectors/{job_id}/results/buckets" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json similarity index 56% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json index 2c1e38f49b328..c6734d6cdc893 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json @@ -1,17 +1,17 @@ { - "ml.get_calendar_events": { + "xpack.ml.get_calendar_events": { "url_params": { "job_id": "", "start": "", "end": "", - "from": "", - "size": "" + "from": 0, + "size": 0 }, "methods": [ "GET" ], "patterns": [ - "_ml/calendars/{calendar_id}/events" + "_xpack/ml/calendars/{calendar_id}/events" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json new file mode 100644 index 0000000000000..0b014b7f000e5 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json @@ -0,0 +1,16 @@ +{ + "xpack.ml.get_calendars": { + "url_params": { + "from": 0, + "size": 0 + }, + "methods": [ + "GET", + "POST" + ], + "patterns": [ + "_xpack/ml/calendars", + "_xpack/ml/calendars/{calendar_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json index 658bca9dfa2e3..1157a0a375880 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json @@ -1,16 +1,16 @@ { - "ml.get_categories": { + "xpack.ml.get_categories": { "url_params": { - "from": "", - "size": "" + "from": 0, + "size": 0 }, "methods": [ "GET", "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/results/categories/{category_id}", - "_ml/anomaly_detectors/{job_id}/results/categories/" + "_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}", + "_xpack/ml/anomaly_detectors/{job_id}/results/categories/" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json index 5c300e444c794..8b5613da5c935 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json @@ -1,5 +1,5 @@ { - "ml.get_datafeed_stats": { + "xpack.ml.get_datafeed_stats": { "url_params": { "allow_no_datafeeds": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}/_stats", - "_ml/datafeeds/_stats" + "_xpack/ml/datafeeds/{datafeed_id}/_stats", + "_xpack/ml/datafeeds/_stats" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json similarity index 70% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json index 9979a685426be..1f44b4aba572a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json @@ -1,5 +1,5 @@ { - "ml.get_datafeeds": { + "xpack.ml.get_datafeeds": { "url_params": { "allow_no_datafeeds": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}", - "_ml/datafeeds" + "_xpack/ml/datafeeds/{datafeed_id}", + "_xpack/ml/datafeeds" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json new file mode 100644 index 0000000000000..0e33294934ba4 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json @@ -0,0 +1,15 @@ +{ + "xpack.ml.get_filters": { + "url_params": { + "from": 0, + "size": 0 + }, + "methods": [ + "GET" + ], + "patterns": [ + "_xpack/ml/filters", + "_xpack/ml/filters/{filter_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json index 4c8b4cb5de388..a4a0a62a8fb5a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json @@ -1,12 +1,12 @@ { - "ml.get_influencers": { + "xpack.ml.get_influencers": { "url_params": { "exclude_interim": "__flag__", - "from": "", - "size": "", + "from": 0, + "size": 0, "start": "", "end": "", - "influencer_score": "", + "influencer_score": 0, "sort": "", "desc": "__flag__" }, @@ -15,7 +15,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/results/influencers" + "_xpack/ml/anomaly_detectors/{job_id}/results/influencers" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json similarity index 65% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json index b28a2655cbefe..644c1a81eb7c5 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json @@ -1,5 +1,5 @@ { - "ml.get_job_stats": { + "xpack.ml.get_job_stats": { "url_params": { "allow_no_jobs": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_ml/anomaly_detectors/_stats", - "_ml/anomaly_detectors/{job_id}/_stats" + "_xpack/ml/anomaly_detectors/_stats", + "_xpack/ml/anomaly_detectors/{job_id}/_stats" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json index 8f7de906578d7..2621d8b56c2ec 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json @@ -1,5 +1,5 @@ { - "ml.get_jobs": { + "xpack.ml.get_jobs": { "url_params": { "allow_no_jobs": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}", - "_ml/anomaly_detectors" + "_xpack/ml/anomaly_detectors/{job_id}", + "_xpack/ml/anomaly_detectors" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json similarity index 58% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json index a4ec4fba38d2e..cf82bd258375f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json @@ -1,8 +1,8 @@ { - "ml.get_model_snapshots": { + "xpack.ml.get_model_snapshots": { "url_params": { - "from": "", - "size": "", + "from": 0, + "size": 0, "start": "", "end": "", "sort": "", @@ -13,8 +13,8 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", - "_ml/anomaly_detectors/{job_id}/model_snapshots" + "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", + "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json similarity index 70% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json index c8cc6ba113bec..ec6da8fb7a2a9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json @@ -1,9 +1,9 @@ { - "ml.get_overall_buckets": { + "xpack.ml.get_overall_buckets": { "url_params": { - "top_n": "", + "top_n": 0, "bucket_span": "", - "overall_score": "", + "overall_score": 0, "exclude_interim": "__flag__", "start": "", "end": "", @@ -14,7 +14,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/results/overall_buckets" + "_xpack/ml/anomaly_detectors/{job_id}/results/overall_buckets" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_records.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_records.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json index 553b75f21c645..e8159e97e1829 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.get_records.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json @@ -1,12 +1,12 @@ { - "ml.get_records": { + "xpack.ml.get_records": { "url_params": { "exclude_interim": "__flag__", - "from": "", - "size": "", + "from": 0, + "size": 0, "start": "", "end": "", - "record_score": "", + "record_score": 0, "sort": "", "desc": "__flag__" }, @@ -15,7 +15,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/results/records" + "_xpack/ml/anomaly_detectors/{job_id}/results/records" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.info.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json similarity index 60% rename from x-pack/plugins/console_extensions/spec/generated/ml.info.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json index 51b571776ead9..6235f74cc6227 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.info.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json @@ -1,10 +1,10 @@ { - "ml.info": { + "xpack.ml.info": { "methods": [ "GET" ], "patterns": [ - "_ml/info" + "_xpack/ml/info" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.open_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/generated/ml.open_job.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json index cd330ec4822c0..d45214d813005 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.open_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json @@ -1,10 +1,10 @@ { - "ml.open_job": { + "xpack.ml.open_job": { "methods": [ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/_open" + "_xpack/ml/anomaly_detectors/{job_id}/_open" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json new file mode 100644 index 0000000000000..ec580842f5120 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.post_calendar_events": { + "methods": [ + "POST" + ], + "patterns": [ + "_xpack/ml/calendars/{calendar_id}/events" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.post_data.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/ml.post_data.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json index cc6f0b658e111..206d2e3e1c064 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.post_data.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json @@ -1,5 +1,5 @@ { - "ml.post_data": { + "xpack.ml.post_data": { "url_params": { "reset_start": "", "reset_end": "" @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/_data" + "_xpack/ml/anomaly_detectors/{job_id}/_data" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json index be3c3d466f37d..9aeca7e1363a0 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json @@ -1,10 +1,10 @@ { - "ml.preview_datafeed": { + "xpack.ml.preview_datafeed": { "methods": [ "GET" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}/_preview" + "_xpack/ml/datafeeds/{datafeed_id}/_preview" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json new file mode 100644 index 0000000000000..706373c53e852 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.put_calendar": { + "methods": [ + "PUT" + ], + "patterns": [ + "_xpack/ml/calendars/{calendar_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json new file mode 100644 index 0000000000000..98a4db0bf0e0e --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.put_calendar_job": { + "methods": [ + "PUT" + ], + "patterns": [ + "_xpack/ml/calendars/{calendar_id}/jobs/{job_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json index a61f9ab465724..db5cb27f4a790 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json @@ -1,10 +1,10 @@ { - "ml.put_datafeed": { + "xpack.ml.put_datafeed": { "methods": [ "PUT" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}" + "_xpack/ml/datafeeds/{datafeed_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json index 6d57c433d71f4..2a2c5815046d4 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json @@ -1,10 +1,10 @@ { - "ml.put_filter": { + "xpack.ml.put_filter": { "methods": [ "PUT" ], "patterns": [ - "_ml/filters/{filter_id}" + "_xpack/ml/filters/{filter_id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_job.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json index d8e38a0bd4b9d..ecd8f59d77574 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.put_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json @@ -1,10 +1,10 @@ { - "ml.put_job": { + "xpack.ml.put_job": { "methods": [ "PUT" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}" + "_xpack/ml/anomaly_detectors/{job_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json index 7b6d74d47a711..9193cbb80d2fd 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json @@ -1,5 +1,5 @@ { - "ml.revert_model_snapshot": { + "xpack.ml.revert_model_snapshot": { "url_params": { "delete_intervening_results": "__flag__" }, @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" + "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json index 8171a792d7e33..40479c8c3f687 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json @@ -1,5 +1,5 @@ { - "ml.start_datafeed": { + "xpack.ml.start_datafeed": { "url_params": { "start": "", "end": "", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}/_start" + "_xpack/ml/datafeeds/{datafeed_id}/_start" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json similarity index 78% rename from x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json index b10fed7010a7f..2af514532f16a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json @@ -1,5 +1,5 @@ { - "ml.stop_datafeed": { + "xpack.ml.stop_datafeed": { "url_params": { "allow_no_datafeeds": "__flag__", "force": "__flag__", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}/_stop" + "_xpack/ml/datafeeds/{datafeed_id}/_stop" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json index 9c0d7502d2fbe..953e08dd08c17 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json @@ -1,10 +1,10 @@ { - "ml.update_datafeed": { + "xpack.ml.update_datafeed": { "methods": [ "POST" ], "patterns": [ - "_ml/datafeeds/{datafeed_id}/_update" + "_xpack/ml/datafeeds/{datafeed_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/ml.update_job.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json index 7276183b2e0c9..e3c8abf72d908 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.update_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json @@ -1,10 +1,10 @@ { - "ml.update_job": { + "xpack.ml.update_job": { "methods": [ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/_update" + "_xpack/ml/anomaly_detectors/{job_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json similarity index 59% rename from x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json index 80e533eb55826..848950d6f5394 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json @@ -1,10 +1,10 @@ { - "ml.update_model_snapshot": { + "xpack.ml.update_model_snapshot": { "methods": [ "POST" ], "patterns": [ - "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" + "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json new file mode 100644 index 0000000000000..9af94e51db0f5 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.validate": { + "methods": [ + "POST" + ], + "patterns": [ + "_xpack/ml/anomaly_detectors/_validate" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json new file mode 100644 index 0000000000000..de0d19b09619a --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json @@ -0,0 +1,10 @@ +{ + "xpack.ml.validate_detector": { + "methods": [ + "POST" + ], + "patterns": [ + "_xpack/ml/anomaly_detectors/_validate/detector" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json b/x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json similarity index 73% rename from x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json rename to x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json index 7cb56a9d79d6e..f98aa70ce7cd3 100644 --- a/x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json @@ -1,5 +1,5 @@ { - "monitoring.bulk": { + "xpack.monitoring.bulk": { "url_params": { "system_id": "", "system_api_version": "", @@ -10,8 +10,8 @@ "PUT" ], "patterns": [ - "_monitoring/bulk", - "_monitoring/{type}/bulk" + "_xpack/monitoring/_bulk", + "_xpack/monitoring/{type}/_bulk" ], "documentation": "http://www.elastic.co/guide/en/monitoring/current/appendix-api-bulk.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json index 586ebd6ff6723..a7c381c2ee7f9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_rollup/job/{id}" + "_xpack/rollup/job/{id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json index 657b68fc214b0..54c535f3a81f7 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_rollup/job/{id}", - "_rollup/job/" + "_xpack/rollup/job/{id}", + "_xpack/rollup/job/" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json index a8145f69eb50b..f619949e63be1 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_rollup/data/{id}", - "_rollup/data/" + "_xpack/rollup/data/{id}", + "_xpack/rollup/data/" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json deleted file mode 100644 index e2f94ae5648ec..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.rollup.get_rollup_index_caps": { - "methods": [ - "GET" - ], - "patterns": [ - "{indices}/_rollup/data" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json index e36ec37c93b68..d55fe948c450c 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json @@ -4,7 +4,7 @@ "PUT" ], "patterns": [ - "_rollup/job/{id}" + "_xpack/rollup/job/{id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json index f6a8caff17201..544d86249b40d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json @@ -1,9 +1,5 @@ { "xpack.rollup.rollup_search": { - "url_params": { - "typed_keys": "__flag__", - "rest_total_hits_as_int": "__flag__" - }, "methods": [ "GET", "POST" diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json index e7b1f48f8cdf5..7a1323f1f79b3 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_rollup/job/{id}/_start" + "_xpack/rollup/job/{id}/_start" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json index 58706694e2ff4..e185077e35f16 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json @@ -1,14 +1,10 @@ { "xpack.rollup.stop_job": { - "url_params": { - "wait_for_completion": "__flag__", - "timeout": "" - }, "methods": [ "POST" ], "patterns": [ - "_rollup/job/{id}/_stop" + "_xpack/rollup/job/{id}/_stop" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json new file mode 100644 index 0000000000000..6ebef7ce874d9 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json @@ -0,0 +1,11 @@ +{ + "xpack.security.authenticate": { + "methods": [ + "GET" + ], + "patterns": [ + "_xpack/security/_authenticate" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json new file mode 100644 index 0000000000000..a811501e4d71f --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json @@ -0,0 +1,20 @@ +{ + "xpack.security.change_password": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_xpack/security/user/{username}/_password", + "_xpack/security/user/_password" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json new file mode 100644 index 0000000000000..2ef0bfaf79df1 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json @@ -0,0 +1,14 @@ +{ + "xpack.security.clear_cached_realms": { + "url_params": { + "usernames": [] + }, + "methods": [ + "POST" + ], + "patterns": [ + "_xpack/security/realm/{realms}/_clear_cache" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json new file mode 100644 index 0000000000000..47baad3ef989f --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json @@ -0,0 +1,11 @@ +{ + "xpack.security.clear_cached_roles": { + "methods": [ + "POST" + ], + "patterns": [ + "_xpack/security/role/{name}/_clear_cache" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json new file mode 100644 index 0000000000000..ad95ac444ef98 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json @@ -0,0 +1,18 @@ +{ + "xpack.security.delete_role": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/security/role/{name}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json new file mode 100644 index 0000000000000..0734c784b80f8 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json @@ -0,0 +1,18 @@ +{ + "xpack.security.delete_role_mapping": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/security/role_mapping/{name}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json new file mode 100644 index 0000000000000..732721143503e --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json @@ -0,0 +1,18 @@ +{ + "xpack.security.delete_user": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/security/user/{username}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json new file mode 100644 index 0000000000000..b9151cf3685a1 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json @@ -0,0 +1,19 @@ +{ + "xpack.security.disable_user": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_xpack/security/user/{username}/_disable" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json new file mode 100644 index 0000000000000..12d1b3c7cf0bb --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json @@ -0,0 +1,19 @@ +{ + "xpack.security.enable_user": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_xpack/security/user/{username}/_enable" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json new file mode 100644 index 0000000000000..e4b887e3d9329 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json @@ -0,0 +1,12 @@ +{ + "xpack.security.get_role": { + "methods": [ + "GET" + ], + "patterns": [ + "_xpack/security/role/{name}", + "_xpack/security/role" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json new file mode 100644 index 0000000000000..45c935277c865 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json @@ -0,0 +1,12 @@ +{ + "xpack.security.get_role_mapping": { + "methods": [ + "GET" + ], + "patterns": [ + "_xpack/security/role_mapping/{name}", + "_xpack/security/role_mapping" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json new file mode 100644 index 0000000000000..208d6e31346b7 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json @@ -0,0 +1,11 @@ +{ + "xpack.security.get_token": { + "methods": [ + "POST" + ], + "patterns": [ + "_xpack/security/oauth2/token" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json new file mode 100644 index 0000000000000..d42d1afbb91c9 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json @@ -0,0 +1,12 @@ +{ + "xpack.security.get_user": { + "methods": [ + "GET" + ], + "patterns": [ + "_xpack/security/user/{username}", + "_xpack/security/user" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json new file mode 100644 index 0000000000000..e9ffac7bd5f92 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json @@ -0,0 +1,11 @@ +{ + "xpack.security.invalidate_token": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_xpack/security/oauth2/token" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json new file mode 100644 index 0000000000000..6cc3523f8b647 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json @@ -0,0 +1,19 @@ +{ + "xpack.security.put_role": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_xpack/security/role/{name}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json new file mode 100644 index 0000000000000..7a426c420fffd --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json @@ -0,0 +1,19 @@ +{ + "xpack.security.put_role_mapping": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_xpack/security/role_mapping/{name}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json new file mode 100644 index 0000000000000..19a13b37c7d91 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json @@ -0,0 +1,19 @@ +{ + "xpack.security.put_user": { + "url_params": { + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_xpack/security/user/{username}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json index 037df31e3277a..f1b357e909bd6 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_sql/close" + "_xpack/sql/close" ], "documentation": "Clear SQL cursor" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json index 6f1f9fda541a6..20b8502f79bfc 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json @@ -8,7 +8,7 @@ "GET" ], "patterns": [ - "_sql" + "_xpack/sql" ], "documentation": "Execute SQL" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json index 32f49659194a1..737a57f9f5ca6 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json @@ -5,7 +5,7 @@ "GET" ], "patterns": [ - "_sql/translate" + "_xpack/sql/translate" ], "documentation": "Translate SQL into Elasticsearch queries" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json new file mode 100644 index 0000000000000..0a4b60b6766e4 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json @@ -0,0 +1,11 @@ +{ + "xpack.ssl.certificates": { + "methods": [ + "GET" + ], + "patterns": [ + "_xpack/ssl/certificates" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json index acda1c9e716dd..53edb6183e2d9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json @@ -5,8 +5,8 @@ "POST" ], "patterns": [ - "_watcher/watch/{watch_id}/_ack", - "_watcher/watch/{watch_id}/_ack/{action_id}" + "_xpack/watcher/watch/{watch_id}/_ack", + "_xpack/watcher/watch/{watch_id}/_ack/{action_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json index d69d581f01195..57a1804b8918d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json @@ -5,7 +5,7 @@ "POST" ], "patterns": [ - "_watcher/watch/{watch_id}/_activate" + "_xpack/watcher/watch/{watch_id}/_activate" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json index 2bc0ad6d9df21..dd1bf97787855 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json @@ -5,7 +5,7 @@ "POST" ], "patterns": [ - "_watcher/watch/{watch_id}/_deactivate" + "_xpack/watcher/watch/{watch_id}/_deactivate" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json index 5f4ca7c6d464a..555e76fb9de2e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_watcher/watch/{id}" + "_xpack/watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json index 3697792424e26..2c64b9b842038 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json @@ -8,8 +8,8 @@ "POST" ], "patterns": [ - "_watcher/watch/{id}/_execute", - "_watcher/watch/_execute" + "_xpack/watcher/watch/{id}/_execute", + "_xpack/watcher/watch/_execute" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json index 53aedbba8a5b4..fc2a7d862fd9a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_watcher/watch/{id}" + "_xpack/watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json index ac24ba1599263..bc6951d058f74 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_watcher/watch/{id}" + "_xpack/watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json index 489965e741944..769b9e4e9c941 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_watcher/_start" + "_xpack/watcher/_start" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json index 4cb7413484f2f..1a1df49a44c74 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json @@ -4,7 +4,6 @@ "metric": [ "_all", "queued_watches", - "current_watches", "pending_watches" ], "emit_stacktraces": "__flag__" @@ -13,17 +12,16 @@ "GET" ], "patterns": [ - "_watcher/stats", - "_watcher/stats/{metrics}" + "_xpack/watcher/stats", + "_xpack/watcher/stats/{metrics}" ], - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html", "url_components": { "metrics": [ "_all", - "current_watches", "pending_watches", "queued_watches" ] - } + }, + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json index 4e5b3f4c52dcf..85e9c63158109 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_watcher/_stop" + "_xpack/watcher/_stop" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html" }