Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.88 KB

kibana-plugin-core-server.requesthandlercontext.md

File metadata and controls

22 lines (13 loc) · 1.88 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.dataClient - Elasticsearch data client which uses the credentials of the incoming request - elasticsearch.adminClient - Elasticsearch admin 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;
};
elasticsearch: {
dataClient: IScopedClusterClient;
adminClient: IScopedClusterClient;
};
uiSettings: {
client: IUiSettingsClient;
};
}