{"action":"closed","issue":{"url":"https://api.github.com/repos/memcmahon/quantified_self/issues/6","repository_url":"https://api.github.com/repos/memcmahon/quantified_self","labels_url":"https://api.github.com/repos/memcmahon/quantified_self/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/memcmahon/quantified_self/issues/6/comments","events_url":"https://api.github.com/repos/memcmahon/quantified_self/issues/6/events","html_url":"https://github.com/memcmahon/quantified_self/issues/6","id":318971682,"number":6,"title":"PATCH /api/v1/foods/:id","user":{"login":"memcmahon","id":32604200,"avatar_url":"https://avatars1.githubusercontent.com/u/32604200?v=4","gravatar_id":"","url":"https://api.github.com/users/memcmahon","html_url":"https://github.com/memcmahon","followers_url":"https://api.github.com/users/memcmahon/followers","following_url":"https://api.github.com/users/memcmahon/following{/other_user}","gists_url":"https://api.github.com/users/memcmahon/gists{/gist_id}","starred_url":"https://api.github.com/users/memcmahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memcmahon/subscriptions","organizations_url":"https://api.github.com/users/memcmahon/orgs","repos_url":"https://api.github.com/users/memcmahon/repos","events_url":"https://api.github.com/users/memcmahon/events{/privacy}","received_events_url":"https://api.github.com/users/memcmahon/received_events","type":"User","site_admin":false},"labels":[{"id":918624063,"url":"https://api.github.com/repos/memcmahon/quantified_self/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-30T17:33:31Z","updated_at":"2018-05-01T18:38:22Z","closed_at":"2018-05-01T18:38:22Z","author_association":"OWNER","body":"As an unregistered user\nWhen I PATCH /api/vi/foods/1\nwith params: { \"food\": { \"name\": \"Mint\", \"calories\": \"14\"} }\nIt returns:\n    {\n    \"id\": 1,\n    \"name\": \"Mint\",\n    \"calories\": 14\n    }\n\nIf unsuccessful, returns 400 status code\n\nName and Calories required."}}
{"actor":{"display_login":"memcmahon"}}