IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Get Deployment App Search Resource Info

edit

Get info about an App Search Resource belonging to a given Deployment.

Request

edit

GET /api/v1/deployments/{deployment_id}/appsearch/{ref_id}

Path parameters

edit
Name Type Required Description

deployment_id

string

Y

Identifier for the Deployment

ref_id

string

Y

User-specified RefId for the Resource

Query parameters

edit
Name Type Required Description

show_metadata

boolean; default: false

N

Whether to include the full cluster metadata in the response - can be large per cluster and also include credentials

show_plan_defaults

boolean; default: false

N

If showing plans, whether to show values that are left at their default value (less readable but more informative)

show_plan_history

boolean; default: false

N

Whether to include with the current and pending plan information the plan history- can be very large per cluster

show_plan_logs

boolean; default: false

N

Whether to include with the current and pending plan information the attempt log - can be very large per cluster

show_plans

boolean; default: true

N

Whether to include the full current and pending plan information in the response - can be large per cluster

show_settings

boolean; default: false

N

Whether to show cluster settings in the response.

Responses

edit
200

(AppSearchResourceInfo) Standard response

401

(BasicFailedReply) You are not authorized to perform this action

404

(BasicFailedReply) The Deployment specified by {deployment_id} cannot be found

500

(BasicFailedReply) We have failed you.

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XGET {{hostname}}/api/v1/deployments/{deployment_id}/appsearch/{ref_id} \
-H "Authorization: ApiKey $ECE_API_KEY"