{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/7666","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/7666/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/7666/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/7666/events","html_url":"https://github.com/elastic/kibana/issues/7666","id":164336918,"number":7666,"title":"Expose deprecation warnings in Console","user":{"login":"clintongormley","id":56599,"avatar_url":"https://avatars.githubusercontent.com/u/56599?v=3","gravatar_id":"","url":"https://api.github.com/users/clintongormley","html_url":"https://github.com/clintongormley","followers_url":"https://api.github.com/users/clintongormley/followers","following_url":"https://api.github.com/users/clintongormley/following{/other_user}","gists_url":"https://api.github.com/users/clintongormley/gists{/gist_id}","starred_url":"https://api.github.com/users/clintongormley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintongormley/subscriptions","organizations_url":"https://api.github.com/users/clintongormley/orgs","repos_url":"https://api.github.com/users/clintongormley/repos","events_url":"https://api.github.com/users/clintongormley/events{/privacy}","received_events_url":"https://api.github.com/users/clintongormley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T15:25:51Z","updated_at":"2016-07-07T15:25:51Z","closed_at":null,"body":"Elasticsearch now returns `Warning:` headers if the user sends a request with deprecated features, eg:\r\n\r\n```\r\ncurl -XPUT localhost:9200/test -d '{\r\n  \"settings\": {\r\n    \"number_of_shards\" : 1\r\n  },\r\n  \"mappings\": {\r\n\r\n    \"type\": {\r\n\r\n     \"properties\": {\r\n       \"field\" : {\r\n\r\n         \"type\" : \"string\"\r\n       }, \"field2\" : { \"type\":\"string\"}\r\n     }\r\n    }\r\n  }\r\n}' -i\r\nHTTP/1.1 200 OK\r\nWarning: The [string] field is deprecated, please use [text] or [keyword] instead on [field]\r\nWarning: The [string] field is deprecated, please use [text] or [keyword] instead on [field2]\r\nContent-Type: application/json; charset=UTF-8\r\nContent-Length: 21\r\n````\r\n\r\nIt would be awesome to expose these warnings in Console"}}
{"actor":{"display_login":"clintongormley"}}