rest-api-spec.api.ml.upgrade_job_snapshot.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-spec Show documentation
Show all versions of rest-api-spec Show documentation
Elasticsearch subproject :rest-api-spec
{
"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."
}
}
}
}