kibana/docs/development/core/server/kibana-plugin-server.savedobjectsclient.md
Gidi Meir Morris f5eec37026
[Saved Objects] Add support for bulkUpdate to SavedObjectsClient (#47540) (#48502)
This PR adds support for `bulkUpdate` to the Saved Objects API and exposes it on all Saved Objects clients (base client, encrypted, spaces etc.).
2019-10-17 14:29:41 +01:00

2 KiB

Home > kibana-plugin-server > SavedObjectsClient

SavedObjectsClient class

Signature:

export declare class SavedObjectsClient 

Constructors

Constructor Modifiers Description
(constructor)(repository) Constructs a new instance of the SavedObjectsClient class

Properties

Property Modifiers Type Description
errors typeof SavedObjectsErrorHelpers
errors static typeof SavedObjectsErrorHelpers

Methods

Method Modifiers Description
bulkCreate(objects, options) Persists multiple documents batched together as a single request
bulkGet(objects, options) Returns an array of objects by id
bulkUpdate(objects, options) Bulk Updates multiple SavedObject at once
create(type, attributes, options) Persists a SavedObject
delete(type, id, options) Deletes a SavedObject
find(options) Find all SavedObjects matching the search query
get(type, id, options) Retrieves a single object
update(type, id, attributes, options) Updates an SavedObject