-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[skip ci] docs: dashboard import/export API #22835
Conversation
-------------------------------------------------- | ||
// KIBANA | ||
|
||
A successful call returns a response code of `200`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This API returns 200 regardless if there are errors within the bulk operations or not. That indicates that the bulk operation itself was successful, but the user will still need to check the results for any errors that may occurred.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just left a short note that we might want to add. I know in the past people were confused that by the fact that it returns 200 on import even when individual operations fail but it's designed this way to be consistent with how the bulk api's work in Elasticsearch.
I pushed some clarifying text for the error handling on import. |
* docs: dashboard import/export API * docs: clarify response handling of errors in import api
* docs: dashboard import/export API * docs: clarify response handling of errors in import api
Closes #14872