Skip to content

Update rest-api-spec main #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"ml.put_trained_model_definition_part": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-definition-part.html",
"description": "Creates part of a trained model definition"
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_ml/trained_models/{model_id}/definition/{part}",
"methods": ["PUT"],
"parts": {
"model_id": {
"type": "string",
"description": "The ID of the trained model for this definition part"
},
"part": {
"type": "integer",
"description": "The part number"
}
}
}
]
},
"body": {
"description": "The trained model definition part",
"required": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
"required": false,
"description": "Controls the amount of time to wait for the model to deploy.",
"default": "20s"
},
"wait_for": {
"type": "string",
"required": false,
"description": "The allocation status for which to wait",
"options": ["starting", "started", "fully_allocated"],
"default": "started"
}
}
}
Expand Down