diff --git a/docs/development/core/public/kibana-plugin-public.httpbody.md b/docs/development/core/public/kibana-plugin-public.httpbody.md
new file mode 100644
index 0000000000000..ab31f28b8dc38
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpbody.md
@@ -0,0 +1,12 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpBody](./kibana-plugin-public.httpbody.md)
+
+## HttpBody type
+
+
+Signature:
+
+```typescript
+export declare type HttpBody = BodyInit | null | any;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httperrorrequest.error.md b/docs/development/core/public/kibana-plugin-public.httperrorrequest.error.md
new file mode 100644
index 0000000000000..a8b511f889cdf
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httperrorrequest.error.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpErrorRequest](./kibana-plugin-public.httperrorrequest.md) > [error](./kibana-plugin-public.httperrorrequest.error.md)
+
+## HttpErrorRequest.error property
+
+Signature:
+
+```typescript
+error: Error;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httperrorrequest.md b/docs/development/core/public/kibana-plugin-public.httperrorrequest.md
new file mode 100644
index 0000000000000..e28d092eda71d
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httperrorrequest.md
@@ -0,0 +1,20 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpErrorRequest](./kibana-plugin-public.httperrorrequest.md)
+
+## HttpErrorRequest interface
+
+
+Signature:
+
+```typescript
+export interface HttpErrorRequest
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [error](./kibana-plugin-public.httperrorrequest.error.md) | Error
| |
+| [request](./kibana-plugin-public.httperrorrequest.request.md) | Request
| |
+
diff --git a/docs/development/core/public/kibana-plugin-public.httperrorrequest.request.md b/docs/development/core/public/kibana-plugin-public.httperrorrequest.request.md
new file mode 100644
index 0000000000000..7a8a33307612f
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httperrorrequest.request.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpErrorRequest](./kibana-plugin-public.httperrorrequest.md) > [request](./kibana-plugin-public.httperrorrequest.request.md)
+
+## HttpErrorRequest.request property
+
+Signature:
+
+```typescript
+request?: Request;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httperrorresponse.error.md b/docs/development/core/public/kibana-plugin-public.httperrorresponse.error.md
new file mode 100644
index 0000000000000..cb82a1f37f84e
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httperrorresponse.error.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpErrorResponse](./kibana-plugin-public.httperrorresponse.md) > [error](./kibana-plugin-public.httperrorresponse.error.md)
+
+## HttpErrorResponse.error property
+
+Signature:
+
+```typescript
+error: Error | HttpFetchError;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httperrorresponse.md b/docs/development/core/public/kibana-plugin-public.httperrorresponse.md
new file mode 100644
index 0000000000000..ff001e4401c6c
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httperrorresponse.md
@@ -0,0 +1,19 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpErrorResponse](./kibana-plugin-public.httperrorresponse.md)
+
+## HttpErrorResponse interface
+
+
+Signature:
+
+```typescript
+export interface HttpErrorResponse extends HttpResponse
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [error](./kibana-plugin-public.httperrorresponse.error.md) | Error | HttpFetchError
| |
+
diff --git a/docs/development/core/public/kibana-plugin-public.httpfetchoptions.headers.md b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.headers.md
new file mode 100644
index 0000000000000..2fb4c448fe237
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.headers.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpFetchOptions](./kibana-plugin-public.httpfetchoptions.md) > [headers](./kibana-plugin-public.httpfetchoptions.headers.md)
+
+## HttpFetchOptions.headers property
+
+Signature:
+
+```typescript
+headers?: HttpHeadersInit;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httpfetchoptions.md b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.md
new file mode 100644
index 0000000000000..93fabb053871a
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.md
@@ -0,0 +1,21 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpFetchOptions](./kibana-plugin-public.httpfetchoptions.md)
+
+## HttpFetchOptions interface
+
+
+Signature:
+
+```typescript
+export interface HttpFetchOptions extends HttpRequestInit
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [headers](./kibana-plugin-public.httpfetchoptions.headers.md) | HttpHeadersInit
| |
+| [prependBasePath](./kibana-plugin-public.httpfetchoptions.prependbasepath.md) | boolean
| |
+| [query](./kibana-plugin-public.httpfetchoptions.query.md) | HttpFetchQuery
| |
+
diff --git a/docs/development/core/public/kibana-plugin-public.httpfetchoptions.prependbasepath.md b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.prependbasepath.md
new file mode 100644
index 0000000000000..5fff6c3518b56
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.prependbasepath.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpFetchOptions](./kibana-plugin-public.httpfetchoptions.md) > [prependBasePath](./kibana-plugin-public.httpfetchoptions.prependbasepath.md)
+
+## HttpFetchOptions.prependBasePath property
+
+Signature:
+
+```typescript
+prependBasePath?: boolean;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httpfetchoptions.query.md b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.query.md
new file mode 100644
index 0000000000000..2c24a3a3a548d
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpfetchoptions.query.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpFetchOptions](./kibana-plugin-public.httpfetchoptions.md) > [query](./kibana-plugin-public.httpfetchoptions.query.md)
+
+## HttpFetchOptions.query property
+
+Signature:
+
+```typescript
+query?: HttpFetchQuery;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httpfetchquery.md b/docs/development/core/public/kibana-plugin-public.httpfetchquery.md
new file mode 100644
index 0000000000000..e09b22b074453
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpfetchquery.md
@@ -0,0 +1,12 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpFetchQuery](./kibana-plugin-public.httpfetchquery.md)
+
+## HttpFetchQuery interface
+
+
+Signature:
+
+```typescript
+export interface HttpFetchQuery
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httphandler.md b/docs/development/core/public/kibana-plugin-public.httphandler.md
new file mode 100644
index 0000000000000..8bc9c3302252f
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httphandler.md
@@ -0,0 +1,12 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpHandler](./kibana-plugin-public.httphandler.md)
+
+## HttpHandler type
+
+
+Signature:
+
+```typescript
+export declare type HttpHandler = (path: string, options?: HttpFetchOptions) => Promise;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httpheadersinit.md b/docs/development/core/public/kibana-plugin-public.httpheadersinit.md
new file mode 100644
index 0000000000000..15877a55fcddc
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpheadersinit.md
@@ -0,0 +1,12 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpHeadersInit](./kibana-plugin-public.httpheadersinit.md)
+
+## HttpHeadersInit interface
+
+
+Signature:
+
+```typescript
+export interface HttpHeadersInit
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.body.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.body.md
new file mode 100644
index 0000000000000..ecf8343ab529c
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.body.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [body](./kibana-plugin-public.httprequestinit.body.md)
+
+## HttpRequestInit.body property
+
+Signature:
+
+```typescript
+body?: BodyInit | null;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.cache.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.cache.md
new file mode 100644
index 0000000000000..813639b51f814
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.cache.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [cache](./kibana-plugin-public.httprequestinit.cache.md)
+
+## HttpRequestInit.cache property
+
+Signature:
+
+```typescript
+cache?: RequestCache;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.credentials.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.credentials.md
new file mode 100644
index 0000000000000..26e86722a8219
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.credentials.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [credentials](./kibana-plugin-public.httprequestinit.credentials.md)
+
+## HttpRequestInit.credentials property
+
+Signature:
+
+```typescript
+credentials?: RequestCredentials;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.headers.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.headers.md
new file mode 100644
index 0000000000000..2e5f86ebe38ef
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.headers.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [headers](./kibana-plugin-public.httprequestinit.headers.md)
+
+## HttpRequestInit.headers property
+
+Signature:
+
+```typescript
+headers?: HttpHeadersInit;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.integrity.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.integrity.md
new file mode 100644
index 0000000000000..9d8b3644aa9d7
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.integrity.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [integrity](./kibana-plugin-public.httprequestinit.integrity.md)
+
+## HttpRequestInit.integrity property
+
+Signature:
+
+```typescript
+integrity?: string;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.keepalive.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.keepalive.md
new file mode 100644
index 0000000000000..bb1a50c280dce
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.keepalive.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [keepalive](./kibana-plugin-public.httprequestinit.keepalive.md)
+
+## HttpRequestInit.keepalive property
+
+Signature:
+
+```typescript
+keepalive?: boolean;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.md
new file mode 100644
index 0000000000000..89fa6d5379581
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.md
@@ -0,0 +1,31 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md)
+
+## HttpRequestInit interface
+
+
+Signature:
+
+```typescript
+export interface HttpRequestInit
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [body](./kibana-plugin-public.httprequestinit.body.md) | BodyInit | null
| |
+| [cache](./kibana-plugin-public.httprequestinit.cache.md) | RequestCache
| |
+| [credentials](./kibana-plugin-public.httprequestinit.credentials.md) | RequestCredentials
| |
+| [headers](./kibana-plugin-public.httprequestinit.headers.md) | HttpHeadersInit
| |
+| [integrity](./kibana-plugin-public.httprequestinit.integrity.md) | string
| |
+| [keepalive](./kibana-plugin-public.httprequestinit.keepalive.md) | boolean
| |
+| [method](./kibana-plugin-public.httprequestinit.method.md) | string
| |
+| [mode](./kibana-plugin-public.httprequestinit.mode.md) | RequestMode
| |
+| [redirect](./kibana-plugin-public.httprequestinit.redirect.md) | RequestRedirect
| |
+| [referrer](./kibana-plugin-public.httprequestinit.referrer.md) | string
| |
+| [referrerPolicy](./kibana-plugin-public.httprequestinit.referrerpolicy.md) | ReferrerPolicy
| |
+| [signal](./kibana-plugin-public.httprequestinit.signal.md) | AbortSignal | null
| |
+| [window](./kibana-plugin-public.httprequestinit.window.md) | any
| |
+
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.method.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.method.md
new file mode 100644
index 0000000000000..2aab899405576
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.method.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [method](./kibana-plugin-public.httprequestinit.method.md)
+
+## HttpRequestInit.method property
+
+Signature:
+
+```typescript
+method?: string;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.mode.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.mode.md
new file mode 100644
index 0000000000000..611671331ee58
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.mode.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [mode](./kibana-plugin-public.httprequestinit.mode.md)
+
+## HttpRequestInit.mode property
+
+Signature:
+
+```typescript
+mode?: RequestMode;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.redirect.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.redirect.md
new file mode 100644
index 0000000000000..6795e99d370f3
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.redirect.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [redirect](./kibana-plugin-public.httprequestinit.redirect.md)
+
+## HttpRequestInit.redirect property
+
+Signature:
+
+```typescript
+redirect?: RequestRedirect;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.referrer.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.referrer.md
new file mode 100644
index 0000000000000..60e249cc9cf1d
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.referrer.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [referrer](./kibana-plugin-public.httprequestinit.referrer.md)
+
+## HttpRequestInit.referrer property
+
+Signature:
+
+```typescript
+referrer?: string;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.referrerpolicy.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.referrerpolicy.md
new file mode 100644
index 0000000000000..3f92ee021f9cc
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.referrerpolicy.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [referrerPolicy](./kibana-plugin-public.httprequestinit.referrerpolicy.md)
+
+## HttpRequestInit.referrerPolicy property
+
+Signature:
+
+```typescript
+referrerPolicy?: ReferrerPolicy;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.signal.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.signal.md
new file mode 100644
index 0000000000000..8657c6b7a1242
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.signal.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [signal](./kibana-plugin-public.httprequestinit.signal.md)
+
+## HttpRequestInit.signal property
+
+Signature:
+
+```typescript
+signal?: AbortSignal | null;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httprequestinit.window.md b/docs/development/core/public/kibana-plugin-public.httprequestinit.window.md
new file mode 100644
index 0000000000000..aec7fad7e3927
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httprequestinit.window.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) > [window](./kibana-plugin-public.httprequestinit.window.md)
+
+## HttpRequestInit.window property
+
+Signature:
+
+```typescript
+window?: any;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httpresponse.body.md b/docs/development/core/public/kibana-plugin-public.httpresponse.body.md
new file mode 100644
index 0000000000000..c590c9ec49d1b
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpresponse.body.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpResponse](./kibana-plugin-public.httpresponse.md) > [body](./kibana-plugin-public.httpresponse.body.md)
+
+## HttpResponse.body property
+
+Signature:
+
+```typescript
+body?: HttpBody;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httpresponse.md b/docs/development/core/public/kibana-plugin-public.httpresponse.md
new file mode 100644
index 0000000000000..b2ec48fd4d6b5
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpresponse.md
@@ -0,0 +1,21 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpResponse](./kibana-plugin-public.httpresponse.md)
+
+## HttpResponse interface
+
+
+Signature:
+
+```typescript
+export interface HttpResponse
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [body](./kibana-plugin-public.httpresponse.body.md) | HttpBody
| |
+| [request](./kibana-plugin-public.httpresponse.request.md) | Request
| |
+| [response](./kibana-plugin-public.httpresponse.response.md) | Response
| |
+
diff --git a/docs/development/core/public/kibana-plugin-public.httpresponse.request.md b/docs/development/core/public/kibana-plugin-public.httpresponse.request.md
new file mode 100644
index 0000000000000..3aaae6f8af091
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpresponse.request.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpResponse](./kibana-plugin-public.httpresponse.md) > [request](./kibana-plugin-public.httpresponse.request.md)
+
+## HttpResponse.request property
+
+Signature:
+
+```typescript
+request: Request;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.httpresponse.response.md b/docs/development/core/public/kibana-plugin-public.httpresponse.response.md
new file mode 100644
index 0000000000000..44c8eb4295f1c
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.httpresponse.response.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpResponse](./kibana-plugin-public.httpresponse.md) > [response](./kibana-plugin-public.httpresponse.response.md)
+
+## HttpResponse.response property
+
+Signature:
+
+```typescript
+response?: Response;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.md b/docs/development/core/public/kibana-plugin-public.md
index 98b6a8703f543..4cecfb23632a8 100644
--- a/docs/development/core/public/kibana-plugin-public.md
+++ b/docs/development/core/public/kibana-plugin-public.md
@@ -40,7 +40,14 @@ The plugin integrates with the core system via lifecycle events: `setup`
| [ErrorToastOptions](./kibana-plugin-public.errortoastoptions.md) | |
| [FatalErrorInfo](./kibana-plugin-public.fatalerrorinfo.md) | Represents the message
and stack
of a fatal Error |
| [FatalErrorsSetup](./kibana-plugin-public.fatalerrorssetup.md) | FatalErrors stop the Kibana Public Core and displays a fatal error screen with details about the Kibana build and the error. |
+| [HttpErrorRequest](./kibana-plugin-public.httperrorrequest.md) | |
+| [HttpErrorResponse](./kibana-plugin-public.httperrorresponse.md) | |
+| [HttpFetchOptions](./kibana-plugin-public.httpfetchoptions.md) | |
+| [HttpFetchQuery](./kibana-plugin-public.httpfetchquery.md) | |
+| [HttpHeadersInit](./kibana-plugin-public.httpheadersinit.md) | |
| [HttpInterceptor](./kibana-plugin-public.httpinterceptor.md) | |
+| [HttpRequestInit](./kibana-plugin-public.httprequestinit.md) | |
+| [HttpResponse](./kibana-plugin-public.httpresponse.md) | |
| [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) | |
| [I18nStart](./kibana-plugin-public.i18nstart.md) | I18nStart.Context is required by any localizable React component from @kbn/i18n and @elastic/eui packages and is supposed to be used as the topmost component for any i18n-compatible React tree. |
| [LegacyNavLink](./kibana-plugin-public.legacynavlink.md) | |
@@ -58,6 +65,8 @@ The plugin integrates with the core system via lifecycle events: `setup`
| --- | --- |
| [ChromeHelpExtension](./kibana-plugin-public.chromehelpextension.md) | |
| [ChromeNavLinkUpdateableFields](./kibana-plugin-public.chromenavlinkupdateablefields.md) | |
+| [HttpBody](./kibana-plugin-public.httpbody.md) | |
+| [HttpHandler](./kibana-plugin-public.httphandler.md) | |
| [HttpSetup](./kibana-plugin-public.httpsetup.md) | |
| [HttpStart](./kibana-plugin-public.httpstart.md) | |
| [PluginInitializer](./kibana-plugin-public.plugininitializer.md) | The plugin
export at the root of a plugin's public
directory should conform to this interface. |
diff --git a/src/core/public/index.ts b/src/core/public/index.ts
index 2a88ebf86ab0c..91d27b41a0185 100644
--- a/src/core/public/index.ts
+++ b/src/core/public/index.ts
@@ -50,7 +50,7 @@ import {
ChromeRecentlyAccessedHistoryItem,
} from './chrome';
import { FatalErrorsSetup, FatalErrorInfo } from './fatal_errors';
-import { HttpServiceBase, HttpSetup, HttpStart, HttpInterceptor } from './http';
+import { HttpSetup, HttpStart } from './http';
import { I18nStart } from './i18n';
import { InjectedMetadataSetup, InjectedMetadataStart, LegacyNavLink } from './injected_metadata';
import {
@@ -69,6 +69,19 @@ import { DocLinksStart } from './doc_links';
export { CoreContext, CoreSystem } from './core_system';
export { RecursiveReadonly } from '../utils';
+export {
+ HttpServiceBase,
+ HttpHeadersInit,
+ HttpRequestInit,
+ HttpFetchOptions,
+ HttpFetchQuery,
+ HttpErrorResponse,
+ HttpErrorRequest,
+ HttpInterceptor,
+ HttpResponse,
+ HttpHandler,
+ HttpBody,
+} from './http';
/**
* Core services exposed to the `Plugin` setup lifecycle
@@ -150,8 +163,6 @@ export {
ErrorToastOptions,
FatalErrorInfo,
FatalErrorsSetup,
- HttpInterceptor,
- HttpServiceBase,
HttpSetup,
HttpStart,
I18nStart,
diff --git a/src/core/public/public.api.md b/src/core/public/public.api.md
index 36c5ed84cd248..0bd485e34ecdb 100644
--- a/src/core/public/public.api.md
+++ b/src/core/public/public.api.md
@@ -329,26 +329,104 @@ export interface FatalErrorsSetup {
get$: () => Rx.Observable;
}
+// @public (undocumented)
+export type HttpBody = BodyInit | null | any;
+
+// @public (undocumented)
+export interface HttpErrorRequest {
+ // (undocumented)
+ error: Error;
+ // (undocumented)
+ request?: Request;
+}
+
+// @public (undocumented)
+export interface HttpErrorResponse extends HttpResponse {
+ // Warning: (ae-forgotten-export) The symbol "HttpFetchError" needs to be exported by the entry point index.d.ts
+ //
+ // (undocumented)
+ error: Error | HttpFetchError;
+}
+
+// @public (undocumented)
+export interface HttpFetchOptions extends HttpRequestInit {
+ // (undocumented)
+ headers?: HttpHeadersInit;
+ // (undocumented)
+ prependBasePath?: boolean;
+ // (undocumented)
+ query?: HttpFetchQuery;
+}
+
+// @public (undocumented)
+export interface HttpFetchQuery {
+ // (undocumented)
+ [key: string]: string | number | boolean | undefined;
+}
+
+// @public (undocumented)
+export type HttpHandler = (path: string, options?: HttpFetchOptions) => Promise;
+
+// @public (undocumented)
+export interface HttpHeadersInit {
+ // (undocumented)
+ [name: string]: any;
+}
+
// @public (undocumented)
export interface HttpInterceptor {
// Warning: (ae-forgotten-export) The symbol "HttpInterceptController" needs to be exported by the entry point index.d.ts
//
// (undocumented)
request?(request: Request, controller: HttpInterceptController): Promise | Request | void;
- // Warning: (ae-forgotten-export) The symbol "HttpErrorRequest" needs to be exported by the entry point index.d.ts
- //
// (undocumented)
requestError?(httpErrorRequest: HttpErrorRequest, controller: HttpInterceptController): Promise | Request | void;
- // Warning: (ae-forgotten-export) The symbol "HttpResponse" needs to be exported by the entry point index.d.ts
- //
// (undocumented)
response?(httpResponse: HttpResponse, controller: HttpInterceptController): Promise | HttpResponse | void;
- // Warning: (ae-forgotten-export) The symbol "HttpErrorResponse" needs to be exported by the entry point index.d.ts
- //
// (undocumented)
responseError?(httpErrorResponse: HttpErrorResponse, controller: HttpInterceptController): Promise | HttpResponse | void;
}
+// @public (undocumented)
+export interface HttpRequestInit {
+ // (undocumented)
+ body?: BodyInit | null;
+ // (undocumented)
+ cache?: RequestCache;
+ // (undocumented)
+ credentials?: RequestCredentials;
+ // (undocumented)
+ headers?: HttpHeadersInit;
+ // (undocumented)
+ integrity?: string;
+ // (undocumented)
+ keepalive?: boolean;
+ // (undocumented)
+ method?: string;
+ // (undocumented)
+ mode?: RequestMode;
+ // (undocumented)
+ redirect?: RequestRedirect;
+ // (undocumented)
+ referrer?: string;
+ // (undocumented)
+ referrerPolicy?: ReferrerPolicy;
+ // (undocumented)
+ signal?: AbortSignal | null;
+ // (undocumented)
+ window?: any;
+}
+
+// @public (undocumented)
+export interface HttpResponse {
+ // (undocumented)
+ body?: HttpBody;
+ // (undocumented)
+ request: Request;
+ // (undocumented)
+ response?: Response;
+}
+
// @public (undocumented)
export interface HttpServiceBase {
// (undocumented)
@@ -361,8 +439,6 @@ export interface HttpServiceBase {
};
// (undocumented)
delete: HttpHandler;
- // Warning: (ae-forgotten-export) The symbol "HttpHandler" needs to be exported by the entry point index.d.ts
- //
// (undocumented)
fetch: HttpHandler;
// (undocumented)