{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/api-blueprint/issues/58","repository_url":"https://api.github.com/repos/apiaryio/api-blueprint","labels_url":"https://api.github.com/repos/apiaryio/api-blueprint/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/api-blueprint/issues/58/comments","events_url":"https://api.github.com/repos/apiaryio/api-blueprint/issues/58/events","html_url":"https://github.com/apiaryio/api-blueprint/issues/58","id":27427823,"number":58,"title":"Response based on parameter values","user":{"login":"martijnschouwe","id":2614463,"avatar_url":"https://avatars.githubusercontent.com/u/2614463?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnschouwe","html_url":"https://github.com/martijnschouwe","followers_url":"https://api.github.com/users/martijnschouwe/followers","following_url":"https://api.github.com/users/martijnschouwe/following{/other_user}","gists_url":"https://api.github.com/users/martijnschouwe/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnschouwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnschouwe/subscriptions","organizations_url":"https://api.github.com/users/martijnschouwe/orgs","repos_url":"https://api.github.com/users/martijnschouwe/repos","events_url":"https://api.github.com/users/martijnschouwe/events{/privacy}","received_events_url":"https://api.github.com/users/martijnschouwe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apiaryio/api-blueprint/labels/priority%20(2):%20Next","name":"priority (2): Next","color":"ffffff"},{"url":"https://api.github.com/repos/apiaryio/api-blueprint/labels/scope%20(1):%20Language","name":"scope (1): Language","color":"59A077"},{"url":"https://api.github.com/repos/apiaryio/api-blueprint/labels/status%20(4):%20Parser%20Implementation","name":"status (4): Parser Implementation","color":"5319e7"},{"url":"https://api.github.com/repos/apiaryio/api-blueprint/labels/type%20(2):%20Feature","name":"type (2): Feature","color":"3C7ABD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":78,"created_at":"2014-02-12T11:52:22Z","updated_at":"2016-06-04T05:31:58Z","closed_at":null,"body":"Hi\r\n\r\nI don't know if it is already possible as i could not find something in the examples/documentation.\r\nCan a response be conditional based on a parameter value in the request?\r\ne.g.\r\n+ Parameters\r\n  + where (string, optional) ... \r\n      + Values\r\n         + `Name eq 'My Name'`\r\n         + `Name ne 'My Name'`\r\n\r\n+ Response 200 (application/json) if `Name eq 'My Name'`\r\n   response json x\r\n+ Response 200 (application/json) if `Name ne 'My Name'`\r\n   response json y\r\n\r\nIf it is not possible this would be a nice feature.\r\n\r\nCheers!\r\n "},"comment":{"url":"https://api.github.com/repos/apiaryio/api-blueprint/issues/comments/223737739","html_url":"https://github.com/apiaryio/api-blueprint/issues/58#issuecomment-223737739","issue_url":"https://api.github.com/repos/apiaryio/api-blueprint/issues/58","id":223737739,"user":{"login":"Ib01","id":8787918,"avatar_url":"https://avatars.githubusercontent.com/u/8787918?v=3","gravatar_id":"","url":"https://api.github.com/users/Ib01","html_url":"https://github.com/Ib01","followers_url":"https://api.github.com/users/Ib01/followers","following_url":"https://api.github.com/users/Ib01/following{/other_user}","gists_url":"https://api.github.com/users/Ib01/gists{/gist_id}","starred_url":"https://api.github.com/users/Ib01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ib01/subscriptions","organizations_url":"https://api.github.com/users/Ib01/orgs","repos_url":"https://api.github.com/users/Ib01/repos","events_url":"https://api.github.com/users/Ib01/events{/privacy}","received_events_url":"https://api.github.com/users/Ib01/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T05:31:58Z","updated_at":"2016-06-04T05:31:58Z","body":"oh my god this has to be the clunkiest product ever cannot believe i spent 3 hours on it ... pretty micky mouse and they expect how much a month!!! they must be joking"}}
{"actor":{"display_login":"Ib01"}}