Skip to content

Commit

Permalink
Update rest-api-spec main (#1080)
Browse files Browse the repository at this point in the history
Co-authored-by: delvedor <[email protected]>
  • Loading branch information
github-actions[bot] and delvedor authored Nov 30, 2021
1 parent f69621a commit 9642b12
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
21 changes: 21 additions & 0 deletions output/schema/schema.json

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

7 changes: 7 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.

5 changes: 5 additions & 0 deletions specification/_json_spec/ml.delete_trained_model.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"required": false,
"description": "Controls the amount of time to wait for the model to be deleted.",
"default": "30s"
},
"force": {
"type": "boolean",
"required": false,
"description": "True if the model should be forcefully deleted"
}
}
}
Expand Down
34 changes: 34 additions & 0 deletions specification/_json_spec/transform.reset_transform.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"transform.reset_transform": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html",
"description": "Resets an existing transform."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_transform/{transform_id}/_reset",
"methods": ["POST"],
"parts": {
"transform_id": {
"type": "string",
"description": "The id of the transform to reset"
}
}
}
]
},
"params": {
"force": {
"type": "boolean",
"required": false,
"description": "When `true`, the transform is reset regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be reset."
}
}
}
}

0 comments on commit 9642b12

Please sign in to comment.