Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.65 KB

kibana-plugin-core-server.requesthandlercontext.md

File metadata and controls

22 lines (13 loc) · 1.65 KB

Home > kibana-plugin-core-server > RequestHandlerContext

RequestHandlerContext interface

Plugin specific context passed to a route handler.

Provides the following clients and services: - savedObjects.client - Saved Objects client which uses the credentials of the incoming request - savedObjects.typeRegistry - Type registry containing all the registered types. - elasticsearch.client - Elasticsearch data client which uses the credentials of the incoming request - uiSettings.client - uiSettings client which uses the credentials of the incoming request

Signature:

export interface RequestHandlerContext 

Properties

Property Type Description
core { savedObjects: { client: SavedObjectsClientContract; typeRegistry: ISavedObjectTypeRegistry; getClient: (options?: SavedObjectsClientProviderOptions) => SavedObjectsClientContract; getExporter: (client: SavedObjectsClientContract) => ISavedObjectsExporter; getImporter: (client: SavedObjectsClientContract) => ISavedObjectsImporter; }; elasticsearch: { client: IScopedClusterClient; }; uiSettings: { client: IUiSettingsClient; }; deprecations: { client: DeprecationsClient; }; }