mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
Return import errors for saved objects referencing a missing index pattern or search (#33005) (#33277)
* cherry-pick fd2bc9b * Return errors when objects are missing references * Fix import tslint * Fix failing jest tests * Fix x-pack integration tests * Rename ensureReferencesExist to validateReferences * Fix test naming to use validateReferences * Update resolve_import_errors API to reflect new type attribute * Validate references for search type as well * Clarify comment * Apply PR feedback * Modify saved object bulkGet to be able to filter fields * Apply PR feedback
This commit is contained in:
parent
c1e28581d4
commit
17f2f23f11
16 changed files with 854 additions and 43 deletions
|
@ -23,6 +23,9 @@ contains the following properties:
|
|||
`id` (required)::
|
||||
(string) ID of object to retrieve
|
||||
|
||||
`fields` (optional)::
|
||||
(array) The fields to return in the object's response
|
||||
|
||||
==== Response body
|
||||
|
||||
The response body will have a top level `saved_objects` property that contains
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue