{"action":"opened","issue":{"url":"https://api.github.com/repos/lunches-platform/warehouse-api/issues/44","repository_url":"https://api.github.com/repos/lunches-platform/warehouse-api","labels_url":"https://api.github.com/repos/lunches-platform/warehouse-api/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/lunches-platform/warehouse-api/issues/44/comments","events_url":"https://api.github.com/repos/lunches-platform/warehouse-api/issues/44/events","html_url":"https://github.com/lunches-platform/warehouse-api/issues/44","id":180957241,"number":44,"title":"Return all food aliases when 'like' api request is sent","user":{"login":"warlock39","id":490549,"avatar_url":"https://avatars.githubusercontent.com/u/490549?v=3","gravatar_id":"","url":"https://api.github.com/users/warlock39","html_url":"https://github.com/warlock39","followers_url":"https://api.github.com/users/warlock39/followers","following_url":"https://api.github.com/users/warlock39/following{/other_user}","gists_url":"https://api.github.com/users/warlock39/gists{/gist_id}","starred_url":"https://api.github.com/users/warlock39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warlock39/subscriptions","organizations_url":"https://api.github.com/users/warlock39/orgs","repos_url":"https://api.github.com/users/warlock39/repos","events_url":"https://api.github.com/users/warlock39/events{/privacy}","received_events_url":"https://api.github.com/users/warlock39/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lunches-platform/warehouse-api/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"warlock39","id":490549,"avatar_url":"https://avatars.githubusercontent.com/u/490549?v=3","gravatar_id":"","url":"https://api.github.com/users/warlock39","html_url":"https://github.com/warlock39","followers_url":"https://api.github.com/users/warlock39/followers","following_url":"https://api.github.com/users/warlock39/following{/other_user}","gists_url":"https://api.github.com/users/warlock39/gists{/gist_id}","starred_url":"https://api.github.com/users/warlock39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warlock39/subscriptions","organizations_url":"https://api.github.com/users/warlock39/orgs","repos_url":"https://api.github.com/users/warlock39/repos","events_url":"https://api.github.com/users/warlock39/events{/privacy}","received_events_url":"https://api.github.com/users/warlock39/received_events","type":"User","site_admin":false},"assignees":[{"login":"warlock39","id":490549,"avatar_url":"https://avatars.githubusercontent.com/u/490549?v=3","gravatar_id":"","url":"https://api.github.com/users/warlock39","html_url":"https://github.com/warlock39","followers_url":"https://api.github.com/users/warlock39/followers","following_url":"https://api.github.com/users/warlock39/following{/other_user}","gists_url":"https://api.github.com/users/warlock39/gists{/gist_id}","starred_url":"https://api.github.com/users/warlock39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warlock39/subscriptions","organizations_url":"https://api.github.com/users/warlock39/orgs","repos_url":"https://api.github.com/users/warlock39/repos","events_url":"https://api.github.com/users/warlock39/events{/privacy}","received_events_url":"https://api.github.com/users/warlock39/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/lunches-platform/warehouse-api/milestones/4","html_url":"https://github.com/lunches-platform/warehouse-api/milestones/0.5","labels_url":"https://api.github.com/repos/lunches-platform/warehouse-api/milestones/4/labels","id":2016143,"number":4,"title":"0.5","description":"Main intention of this milestone is to implement inventory. Each Income and each Outcome should influence on inventory remains. \r\n\r\nSecond part of this milestone is Inventorization API. Inventorization is the process of synchronizing actual (physical) warehouse remains with items in DB.","creator":{"login":"warlock39","id":490549,"avatar_url":"https://avatars.githubusercontent.com/u/490549?v=3","gravatar_id":"","url":"https://api.github.com/users/warlock39","html_url":"https://github.com/warlock39","followers_url":"https://api.github.com/users/warlock39/followers","following_url":"https://api.github.com/users/warlock39/following{/other_user}","gists_url":"https://api.github.com/users/warlock39/gists{/gist_id}","starred_url":"https://api.github.com/users/warlock39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warlock39/subscriptions","organizations_url":"https://api.github.com/users/warlock39/orgs","repos_url":"https://api.github.com/users/warlock39/repos","events_url":"https://api.github.com/users/warlock39/events{/privacy}","received_events_url":"https://api.github.com/users/warlock39/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2016-09-20T10:39:27Z","updated_at":"2016-10-04T17:37:09Z","due_on":"2016-09-29T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-10-04T17:37:09Z","updated_at":"2016-10-04T17:37:09Z","closed_at":null,"body":"Usage of `like` api option filters out food aliases which return to client. Example req-resp:\r\n```\r\nGET /app_dev.php/foods?like=Капуста\r\n\r\n[\r\n...\r\n  {\r\n    \"name\": \"​​​​​​​​Капуста​​\",\r\n    \"aliases\": [\r\n      \"​​​​​​​​Капуста​​\"\r\n    ]\r\n  }\r\n]\r\n```\r\nExpected response:\r\n```\r\n[\r\n...\r\n{\r\n  \"id\": \"e3d11c55-c54d-4332-b6ff-02b0132319d0\",\r\n  \"name\": \"​​​​​​​​Капуста​​\",\r\n  \"category\": [],\r\n  \"aliases\": [\r\n    \"Кочанная\",\r\n    \"​​​​​​​​Капуста​​\",\r\n    \"краснокочанная\",\r\n    \"огородная\",\r\n    \"белокочанная\"\r\n  ]\r\n}\r\n]\r\n```"}}
{"actor":{"display_login":"warlock39"}}