Update xpack console specs (#29506)

* updating xpack console specs for _xpack namespace deprecation

* fixing stray xpack

* adding additional spec

* fixing issues with stray _xpack
This commit is contained in:
Bill McConaghy 2019-01-31 08:28:37 -05:00 committed by GitHub
parent a6291afd7d
commit 779c9e1fd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
133 changed files with 400 additions and 519 deletions

View file

@ -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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -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"
}
}

View file

@ -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"
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}

View file

@ -1,10 +1,10 @@
{
"xpack.ml.delete_filter": {
"ml.delete_calendar": {
"methods": [
"DELETE"
],
"patterns": [
"_xpack/ml/filters/{filter_id}"
"_ml/calendars/{calendar_id}"
]
}
}

View file

@ -0,0 +1,10 @@
{
"ml.delete_calendar_event": {
"methods": [
"DELETE"
],
"patterns": [
"_ml/calendars/{calendar_id}/events/{event_id}"
]
}
}

View file

@ -0,0 +1,10 @@
{
"ml.delete_calendar_job": {
"methods": [
"DELETE"
],
"patterns": [
"_ml/calendars/{calendar_id}/jobs/{job_id}"
]
}
}

View file

@ -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"
}

View file

@ -0,0 +1,10 @@
{
"ml.delete_expired_data": {
"methods": [
"DELETE"
],
"patterns": [
"_ml/_delete_expired_data"
]
}
}

View file

@ -0,0 +1,10 @@
{
"ml.delete_filter": {
"methods": [
"DELETE"
],
"patterns": [
"_ml/filters/{filter_id}"
]
}
}

View file

@ -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"
}
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -0,0 +1,31 @@
{
"ml.find_file_structure": {
"url_params": {
"lines_to_sample": 0,
"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"
}
}

View file

@ -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"
}

View file

@ -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"
]
}
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_buckets": {
"ml.get_buckets": {
"url_params": {
"expand": "__flag__",
"exclude_interim": "__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"
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_calendar_events": {
"ml.get_calendar_events": {
"url_params": {
"job_id": "",
"start": "",
@ -11,7 +11,7 @@
"GET"
],
"patterns": [
"_xpack/ml/calendars/{calendar_id}/events"
"_ml/calendars/{calendar_id}/events"
]
}
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_calendars": {
"ml.get_calendars": {
"url_params": {
"from": 0,
"size": 0
@ -9,8 +9,8 @@
"POST"
],
"patterns": [
"_xpack/ml/calendars",
"_xpack/ml/calendars/{calendar_id}"
"_ml/calendars",
"_ml/calendars/{calendar_id}"
]
}
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_categories": {
"ml.get_categories": {
"url_params": {
"from": 0,
"size": 0
@ -9,8 +9,8 @@
"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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_filters": {
"ml.get_filters": {
"url_params": {
"from": 0,
"size": 0
@ -8,8 +8,8 @@
"GET"
],
"patterns": [
"_xpack/ml/filters",
"_xpack/ml/filters/{filter_id}"
"_ml/filters",
"_ml/filters/{filter_id}"
]
}
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_influencers": {
"ml.get_influencers": {
"url_params": {
"exclude_interim": "__flag__",
"from": 0,
@ -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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_model_snapshots": {
"ml.get_model_snapshots": {
"url_params": {
"from": 0,
"size": 0,
@ -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"
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_overall_buckets": {
"ml.get_overall_buckets": {
"url_params": {
"top_n": 0,
"bucket_span": "",
@ -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"
}

View file

@ -1,5 +1,5 @@
{
"xpack.ml.get_records": {
"ml.get_records": {
"url_params": {
"exclude_interim": "__flag__",
"from": 0,
@ -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"
}

View file

@ -1,10 +1,10 @@
{
"xpack.ml.info": {
"ml.info": {
"methods": [
"GET"
],
"patterns": [
"_xpack/ml/info"
"_ml/info"
]
}
}

View file

@ -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"
}

View file

@ -0,0 +1,10 @@
{
"ml.post_calendar_events": {
"methods": [
"POST"
],
"patterns": [
"_ml/calendars/{calendar_id}/events"
]
}
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -1,10 +1,10 @@
{
"xpack.ml.put_filter": {
"ml.put_calendar": {
"methods": [
"PUT"
],
"patterns": [
"_xpack/ml/filters/{filter_id}"
"_ml/calendars/{calendar_id}"
]
}
}

View file

@ -0,0 +1,10 @@
{
"ml.put_calendar_job": {
"methods": [
"PUT"
],
"patterns": [
"_ml/calendars/{calendar_id}/jobs/{job_id}"
]
}
}

View file

@ -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"
}

View file

@ -0,0 +1,10 @@
{
"ml.put_filter": {
"methods": [
"PUT"
],
"patterns": [
"_ml/filters/{filter_id}"
]
}
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -0,0 +1,15 @@
{
"ml.set_upgrade_mode": {
"url_params": {
"enabled": "__flag__",
"timeout": ""
},
"methods": [
"POST"
],
"patterns": [
"_ml/set_upgrade_mode"
],
"documentation": "TODO"
}
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -0,0 +1,10 @@
{
"ml.update_filter": {
"methods": [
"POST"
],
"patterns": [
"_ml/filters/{filter_id}/_update"
]
}
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -0,0 +1,14 @@
{
"ml.upgrade": {
"url_params": {
"wait_for_completion": "__flag__"
},
"methods": [
"POST"
],
"patterns": [
"_ml/_upgrade"
],
"documentation": "TODO"
}
}

View file

@ -0,0 +1,10 @@
{
"ml.validate": {
"methods": [
"POST"
],
"patterns": [
"_ml/anomaly_detectors/_validate"
]
}
}

View file

@ -0,0 +1,10 @@
{
"ml.validate_detector": {
"methods": [
"POST"
],
"patterns": [
"_ml/anomaly_detectors/_validate/detector"
]
}
}

View file

@ -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"
}

View file

@ -5,6 +5,7 @@
],
"patterns": [
"_security/user/_privileges"
]
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html"
}
}

View file

@ -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"
}

View file

@ -4,7 +4,7 @@
"DELETE"
],
"patterns": [
"_xpack/license"
"_license"
],
"documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html"
}

View file

@ -7,7 +7,7 @@
"GET"
],
"patterns": [
"_xpack/license"
"_license"
],
"documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -8,7 +8,7 @@
"POST"
],
"patterns": [
"_xpack/license"
"_license"
],
"documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -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"
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.delete_calendar": {
"methods": [
"DELETE"
],
"patterns": [
"_xpack/ml/calendars/{calendar_id}"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.delete_calendar_event": {
"methods": [
"DELETE"
],
"patterns": [
"_xpack/ml/calendars/{calendar_id}/events/{event_id}"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.delete_calendar_job": {
"methods": [
"DELETE"
],
"patterns": [
"_xpack/ml/calendars/{calendar_id}/jobs/{job_id}"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.delete_expired_data": {
"methods": [
"DELETE"
],
"patterns": [
"_xpack/ml/_delete_expired_data"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.post_calendar_events": {
"methods": [
"POST"
],
"patterns": [
"_xpack/ml/calendars/{calendar_id}/events"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.put_calendar": {
"methods": [
"PUT"
],
"patterns": [
"_xpack/ml/calendars/{calendar_id}"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.put_calendar_job": {
"methods": [
"PUT"
],
"patterns": [
"_xpack/ml/calendars/{calendar_id}/jobs/{job_id}"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.validate": {
"methods": [
"POST"
],
"patterns": [
"_xpack/ml/anomaly_detectors/_validate"
]
}
}

View file

@ -1,10 +0,0 @@
{
"xpack.ml.validate_detector": {
"methods": [
"POST"
],
"patterns": [
"_xpack/ml/anomaly_detectors/_validate/detector"
]
}
}

View file

@ -4,7 +4,7 @@
"DELETE"
],
"patterns": [
"_xpack/rollup/job/{id}"
"_rollup/job/{id}"
]
}
}

View file

@ -4,8 +4,8 @@
"GET"
],
"patterns": [
"_xpack/rollup/job/{id}",
"_xpack/rollup/job/"
"_rollup/job/{id}",
"_rollup/job/"
]
}
}

View file

@ -4,8 +4,8 @@
"GET"
],
"patterns": [
"_xpack/rollup/data/{id}",
"_xpack/rollup/data/"
"_rollup/data/{id}",
"_rollup/data/"
]
}
}

View file

@ -0,0 +1,10 @@
{
"xpack.rollup.get_rollup_index_caps": {
"methods": [
"GET"
],
"patterns": [
"{indices}/_rollup/data"
]
}
}

View file

@ -4,7 +4,7 @@
"PUT"
],
"patterns": [
"_xpack/rollup/job/{id}"
"_rollup/job/{id}"
]
}
}

View file

@ -1,5 +1,9 @@
{
"xpack.rollup.rollup_search": {
"url_params": {
"typed_keys": "__flag__",
"rest_total_hits_as_int": "__flag__"
},
"methods": [
"GET",
"POST"

View file

@ -4,7 +4,7 @@
"POST"
],
"patterns": [
"_xpack/rollup/job/{id}/_start"
"_rollup/job/{id}/_start"
]
}
}

View file

@ -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"
]
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

Some files were not shown because too many files have changed in this diff Show more