Get component templates
Added in 7.8.0
Get information about component templates.
Path parameters
-
name
string Required Comma-separated list of component template names used to limit the request. Wildcard (
*
) expressions are supported.
Query parameters
-
flat_settings
boolean If
true
, returns settings in flat format. -
include_defaults
boolean Return all default configurations for the component template (default: false)
-
local
boolean If
true
, the request retrieves information from the local node only. Iffalse
, information is retrieved from the master node. -
master_timeout
string Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
GET
/_component_template/{name}
curl \
--request GET 'http://api.example.com/_component_template/{name}' \
--header "Authorization: $API_KEY"