[ML] Add documentation to rest spec (elastic/x-pack-elasticsearch#1756)
Original commit: elastic/x-pack-elasticsearch@7d7de84a5a
This commit is contained in:
parent
03652e7497
commit
ae70a657dd
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.close_job": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-close-job.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_close",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.delete_datafeed": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-datafeed.html",
|
||||
"methods": [ "DELETE" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/datafeeds/{datafeed_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.delete_job": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-job.html",
|
||||
"methods": [ "DELETE" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.delete_model_snapshot": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-snapshot.html",
|
||||
"methods": [ "DELETE" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.flush_job": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-flush-job.html",
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_buckets": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-bucket.html",
|
||||
"methods": [ "GET", "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_categories": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-category.html",
|
||||
"methods": [ "GET", "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_datafeed_stats": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-datafeed-stats.html",
|
||||
"methods": [ "GET"],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_stats",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_datafeeds": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-datafeed.html",
|
||||
"methods": [ "GET"],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/datafeeds/{datafeed_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_influencers": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-influencer.html",
|
||||
"methods": [ "GET", "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/influencers",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_job_stats": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-job-stats.html",
|
||||
"methods": [ "GET"],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_stats",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_jobs": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-job.html",
|
||||
"methods": [ "GET"],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_model_snapshots": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-snapshot.html",
|
||||
"methods": [ "GET", "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.get_records": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-record.html",
|
||||
"methods": ["GET", "POST"],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/records",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.open_job": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-open-job.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_open",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.post_data": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-post-data.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_data",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.preview_datafeed": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-preview-datafeed.html",
|
||||
"methods": [ "GET" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_preview",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.put_datafeed": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-put-datafeed.html",
|
||||
"methods": [ "PUT" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/datafeeds/{datafeed_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.put_job": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-put-job.html",
|
||||
"methods": [ "PUT" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.revert_model_snapshot": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-revert-snapshot.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.start_datafeed": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-start-datafeed.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_start",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.stop_datafeed": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-stop-datafeed.html",
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.update_datafeed": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-datafeed.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_update",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.update_job": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-job.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_update",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.update_model_snapshot": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-snapshot.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.validate": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-valid-job.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/_validate",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"xpack.ml.validate_detector": {
|
||||
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-valid-detector.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_xpack/ml/anomaly_detectors/_validate/detector",
|
||||
|
|
Loading…
Reference in New Issue