It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Proxy HTTP GET request
editProxy HTTP GET request
editDEPRECATED (Scheduled to be removed in the next major version): 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
editGET /api/v1/clusters/enterprise_search/{cluster_id}/proxy/{enterprise_search_path}
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
The Enterprise Search deployment identifier |
|
|
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
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
When set to |
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')
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request example
editcurl -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