{"action":"opened","issue":{"url":"https://api.github.com/repos/AlexKolonitsky/lucidworks-view/issues/25","repository_url":"https://api.github.com/repos/AlexKolonitsky/lucidworks-view","labels_url":"https://api.github.com/repos/AlexKolonitsky/lucidworks-view/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/AlexKolonitsky/lucidworks-view/issues/25/comments","events_url":"https://api.github.com/repos/AlexKolonitsky/lucidworks-view/issues/25/events","html_url":"https://github.com/AlexKolonitsky/lucidworks-view/issues/25","id":160081911,"number":25,"title":"Use `display_type` instead of `type`","user":{"login":"erikhatcher","id":209189,"avatar_url":"https://avatars.githubusercontent.com/u/209189?v=3","gravatar_id":"","url":"https://api.github.com/users/erikhatcher","html_url":"https://github.com/erikhatcher","followers_url":"https://api.github.com/users/erikhatcher/followers","following_url":"https://api.github.com/users/erikhatcher/following{/other_user}","gists_url":"https://api.github.com/users/erikhatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/erikhatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikhatcher/subscriptions","organizations_url":"https://api.github.com/users/erikhatcher/orgs","repos_url":"https://api.github.com/users/erikhatcher/repos","events_url":"https://api.github.com/users/erikhatcher/events{/privacy}","received_events_url":"https://api.github.com/users/erikhatcher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-14T02:01:25Z","updated_at":"2016-06-14T02:01:25Z","closed_at":null,"body":"Rules now have a `display_type` field.   A couple of example documents below.\r\n\r\nThe display_type values are: Redirect, Banner, Set Query Params, Filter List, Block List, Boost List (and Query Rewrite, but this isn't needed here yet)\r\n\r\n```\r\n  {\r\n    \"id\": \"redirect-simple\",\r\n    \"description\": \"Simple keyword redirect\",\r\n    \"type\": \"response_value\",\r\n    \"display_type\": \"Redirect\",\r\n    \"search_terms\": \"Unsubscribe\",\r\n    \"keys\": [\r\n      \"redirect\"\r\n    ],\r\n    \"values\": [\r\n      \"/customer_service.html\"\r\n    ]\r\n  },\r\n  {\r\n    \"id\": \"banner-date-ranges\",\r\n    \"description\": \"Pi Day (US: March 14 = 3/14)\",\r\n    \"type\": \"response_value\",\r\n    \"display_type\": \"Banner\",\r\n    \"effective_range\": [\"2016-03-14\", \"2017-03-14\"],\r\n    \"keys\": [\r\n      \"banner\"\r\n    ],\r\n    \"values\": [\r\n      \"Happy Pi Day!\"\r\n    ]\r\n  }\r\n```"}}
{"actor":{"display_login":"erikhatcher"}}