Proxy HTTP GET request

edit

This endpoint is deprecated and scheduled to be removed in the next major version. Use proxy GET request to resource instead.

Proxies the HTTP GET request to the cluster. You must specify the X-Management-Request HTTP header. NOTE: Use this endpoint for management purposes. It does not provide high performance.

Request

edit

GET /api/v1/clusters/enterprise_search/{cluster_id}/proxy/{enterprise_search_path}

Path parameters

edit
Name Type Required Description

cluster_id

string

Y

The Enterprise Search deployment identifier

enterprise_search_path

string

Y

The URL part to proxy to the Enterprise Search cluster. Example: /api/ent/v1/internal/read_only_mode or /api/ent/v1/internal/health

Headers

edit
Name Type Required Description

X-Management-Request

string

Y

When set to true, includes the X-Management-Request header value.

Responses

edit
200

The request has been processed successfully through the proxy

404

(BasicFailedReply)

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

Request example

edit
curl -XGET https://{{hostname}}/api/v1/clusters/enterprise_search/{cluster_id}/proxy/{enterprise_search_path} \
-H "Authorization: ApiKey $ECE_API_KEY" \
-H X-Management-Request: string