All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rest-api-spec.api.ml.upgrade_job_snapshot.json Maven / Gradle / Ivy

There is a newer version: 8.16.0
Show newest version
{
  "ml.upgrade_job_snapshot":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-upgrade-job-model-snapshot.html",
      "description":"Upgrades a given job snapshot to the current major version."
    },
    "stability":"stable",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade",
          "methods":[
            "POST"
          ],
          "parts":{
            "job_id":{
              "type":"string",
              "description":"The ID of the job"
            },
            "snapshot_id":{
              "type":"string",
              "description":"The ID of the snapshot"
            }
          }
        }
      ]
    },
    "params":{
      "timeout":{
        "type":"time",
        "required":false,
        "description":"How long should the API wait for the job to be opened and the old snapshot to be loaded."
      },
      "wait_for_completion":{
        "type":"boolean",
        "required":false,
        "description":"Should the request wait until the task is complete before responding to the caller. Default is false."
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy