Home > kibana-plugin-core-server > RequestHandlerContext
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
Property | Type | Description |
---|---|---|
core | { savedObjects: { client: SavedObjectsClientContract; typeRegistry: ISavedObjectTypeRegistry; }; elasticsearch: { dataClient: IScopedClusterClient; adminClient: IScopedClusterClient; }; uiSettings: { client: IUiSettingsClient; }; } |