Skip to content

[6.8] [DOCS] Fixes ML get scheduled events API (#78809) #78847

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 2 commits into from
Oct 18, 2021

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Oct 7, 2021

Backports the following commits to 6.8:

Also removes request body, since in tests on 6.8.19, any request objects such as:

GET _xpack/ml/calendars/planned-outages/events
{
"page":{
"from": 0,
"size": 5
},
"start": "1640390300000",
"end": "1640476900000"
}

Returns errors:

{
"error": {
"root_cause": [
{
"type": "x_content_parse_exception",
"reason": "[2:3] [cluster:admin/xpack/ml/calendars/events/post] unknown field [page], parser not found"
}
],
"type": "x_content_parse_exception",
"reason": "[2:3] [cluster:admin/xpack/ml/calendars/events/post] unknown field [page], parser not found"
},
"status": 400
}

@lcawl lcawl marked this pull request as ready for review October 7, 2021 23:50
@lcawl lcawl merged commit 678e82d into elastic:6.8 Oct 18, 2021
@lcawl lcawl deleted the 68-get-sheduled-events branch October 18, 2021 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants