{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/smart_proxy_dynflow/issues/6","labels_url":"https://api.github.com/repos/theforeman/smart_proxy_dynflow/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/smart_proxy_dynflow/issues/6/comments","events_url":"https://api.github.com/repos/theforeman/smart_proxy_dynflow/issues/6/events","html_url":"https://github.com/theforeman/smart_proxy_dynflow/pull/6","id":103001096,"number":6,"title":"Support for providing task status on demand","user":{"login":"adamruzicka","id":7326770,"avatar_url":"https://avatars.githubusercontent.com/u/7326770?v=3","gravatar_id":"","url":"https://api.github.com/users/adamruzicka","html_url":"https://github.com/adamruzicka","followers_url":"https://api.github.com/users/adamruzicka/followers","following_url":"https://api.github.com/users/adamruzicka/following{/other_user}","gists_url":"https://api.github.com/users/adamruzicka/gists{/gist_id}","starred_url":"https://api.github.com/users/adamruzicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamruzicka/subscriptions","organizations_url":"https://api.github.com/users/adamruzicka/orgs","repos_url":"https://api.github.com/users/adamruzicka/repos","events_url":"https://api.github.com/users/adamruzicka/events{/privacy}","received_events_url":"https://api.github.com/users/adamruzicka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-25T11:16:08Z","updated_at":"2015-08-26T12:59:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/smart_proxy_dynflow/pulls/6","html_url":"https://github.com/theforeman/smart_proxy_dynflow/pull/6","diff_url":"https://github.com/theforeman/smart_proxy_dynflow/pull/6.diff","patch_url":"https://github.com/theforeman/smart_proxy_dynflow/pull/6.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/theforeman/smart_proxy_dynflow/issues/comments/134998982","html_url":"https://github.com/theforeman/smart_proxy_dynflow/pull/6#issuecomment-134998982","issue_url":"https://api.github.com/repos/theforeman/smart_proxy_dynflow/issues/6","id":134998982,"user":{"login":"jlsherrill","id":395077,"avatar_url":"https://avatars.githubusercontent.com/u/395077?v=3","gravatar_id":"","url":"https://api.github.com/users/jlsherrill","html_url":"https://github.com/jlsherrill","followers_url":"https://api.github.com/users/jlsherrill/followers","following_url":"https://api.github.com/users/jlsherrill/following{/other_user}","gists_url":"https://api.github.com/users/jlsherrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jlsherrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlsherrill/subscriptions","organizations_url":"https://api.github.com/users/jlsherrill/orgs","repos_url":"https://api.github.com/users/jlsherrill/repos","events_url":"https://api.github.com/users/jlsherrill/events{/privacy}","received_events_url":"https://api.github.com/users/jlsherrill/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T12:59:10Z","updated_at":"2015-08-26T12:59:10Z","body":"Not sure why but I was testing this and can't get it to work:\r\ncreate a task:\r\n```\r\njlsherri~/git/smart_proxy_dynflow (master)$ curl http://localhost:8001/dynflow/tasks       -X POST -H 'Content-Type: application/json'      -d '{\"action_name\":  \"Proxy::RemoteExecution::Ssh::CommandAction\", \"action_input\": {\"task_id\" : \"1234'$RANDOM'\",\r\n                \"script\": \"ls \\\"/home/jlsherri/\\\"\",\r\n                 \"hostname\": \"localhost\",\r\n                 \"effective_user\": \"jlsherri\"}}'\r\n{\"task_id\":\"c6f168f1-5ba4-424e-a401-a0aeb7a770c0\"}\r\n```\r\nbut:\r\n```\r\ncurl -X GET http://localhost:8001/dynflow/tasks/c6f168f1-5ba4-424e-a401-a0aeb7a770c0/status\r\n```\r\nthrows a 404.  I'm sure 'm just doing something wrong :)\r\n\r\n"}}