[DOCS] Update doc links for ML APIs (elastic/x-pack-elasticsearch#1882)

Original commit: elastic/x-pack-elasticsearch@cdc45f282d
This commit is contained in:
Lisa Cawley 2017-07-04 11:10:34 -07:00 committed by GitHub
parent 0ff26e7566
commit 04ff94a180
27 changed files with 28 additions and 31 deletions

View File

@ -1,6 +1,6 @@
{
"xpack.ml.close_job": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-close-job.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_close",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.delete_datafeed": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-datafeed.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html",
"methods": [ "DELETE" ],
"url": {
"path": "/_xpack/ml/datafeeds/{datafeed_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.delete_job": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-job.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html",
"methods": [ "DELETE" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.delete_model_snapshot": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-snapshot.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html",
"methods": [ "DELETE" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.flush_job": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-flush-job.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html",
"methods": [
"POST"
],

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_buckets": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-bucket.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html",
"methods": [ "GET", "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_categories": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-category.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html",
"methods": [ "GET", "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_datafeed_stats": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-datafeed-stats.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html",
"methods": [ "GET"],
"url": {
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_stats",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_datafeeds": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-datafeed.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html",
"methods": [ "GET"],
"url": {
"path": "/_xpack/ml/datafeeds/{datafeed_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_influencers": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-influencer.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html",
"methods": [ "GET", "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/influencers",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_job_stats": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-job-stats.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html",
"methods": [ "GET"],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_stats",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_jobs": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-job.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html",
"methods": [ "GET"],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_model_snapshots": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-snapshot.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html",
"methods": [ "GET", "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.get_records": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-record.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html",
"methods": ["GET", "POST"],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/results/records",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.open_job": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-open-job.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_open",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.post_data": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-post-data.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_data",
@ -30,4 +30,3 @@
}
}
}

View File

@ -1,6 +1,6 @@
{
"xpack.ml.preview_datafeed": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-preview-datafeed.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html",
"methods": [ "GET" ],
"url": {
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_preview",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.put_datafeed": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-put-datafeed.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html",
"methods": [ "PUT" ],
"url": {
"path": "/_xpack/ml/datafeeds/{datafeed_id}",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.put_job": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-put-job.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html",
"methods": [ "PUT" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}",
@ -16,6 +16,6 @@
"body": {
"description" : "The job",
"required" : true
}
}
}
}

View File

@ -1,6 +1,6 @@
{
"xpack.ml.revert_model_snapshot": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-revert-snapshot.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.start_datafeed": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-start-datafeed.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_start",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.stop_datafeed": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-stop-datafeed.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html",
"methods": [
"POST"
],

View File

@ -1,6 +1,6 @@
{
"xpack.ml.update_datafeed": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-datafeed.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/datafeeds/{datafeed_id}/_update",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.update_job": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-job.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/_update",

View File

@ -1,6 +1,6 @@
{
"xpack.ml.update_model_snapshot": {
"documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-snapshot.html",
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html",
"methods": [ "POST" ],
"url": {
"path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update",

View File

@ -1,6 +1,5 @@
{
"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",
@ -10,6 +9,6 @@
"body": {
"description" : "The job config",
"required" : true
}
}
}
}

View File

@ -1,6 +1,5 @@
{
"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",
@ -10,6 +9,6 @@
"body": {
"description" : "The detector",
"required" : true
}
}
}
}