Get deprecation information Generally available; Added in 6.1.0
All methods and paths for this operation:
GET /_migration/deprecations
GET /{index}/_migration/deprecations
Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
TIP: This APIs is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
Required authorization
- Cluster privileges:
manage
GET /{index}/_migration/deprecations
Console
GET /_migration/deprecations
resp = client.migration.deprecations()
const response = await client.migration.deprecations();
response = client.migration.deprecations
$resp = $client->migration()->deprecations();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_migration/deprecations"
client.migration().deprecations(d -> d);
Response examples (200)
An abbreviated response from `GET /_migration/deprecations`.
{ "cluster_settings": [ { "level": "critical", "message": "Cluster name cannot contain ':'", "url": "https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#_literal_literal_is_no_longer_allowed_in_cluster_name", "details": "This cluster is named [mycompany:logging], which contains the illegal character ':'." } ], "node_settings": [], "index_settings": { "logs:apache": [ { "level": "warning", "message": "Index name cannot contain ':'", "url": "https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#_literal_literal_is_no_longer_allowed_in_index_name", "details": "This index is named [logs:apache], which contains the illegal character ':'." } ] }, "ml_settings": [] }