{"action":"created","issue":{"url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/201","repository_url":"https://api.github.com/repos/ansible-semaphore/semaphore","labels_url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/201/comments","events_url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/201/events","html_url":"https://github.com/ansible-semaphore/semaphore/issues/201","id":183237008,"number":201,"title":"Cannot trigger project task via API","user":{"login":"berndonline","id":14909515,"avatar_url":"https://avatars.githubusercontent.com/u/14909515?v=3","gravatar_id":"","url":"https://api.github.com/users/berndonline","html_url":"https://github.com/berndonline","followers_url":"https://api.github.com/users/berndonline/followers","following_url":"https://api.github.com/users/berndonline/following{/other_user}","gists_url":"https://api.github.com/users/berndonline/gists{/gist_id}","starred_url":"https://api.github.com/users/berndonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berndonline/subscriptions","organizations_url":"https://api.github.com/users/berndonline/orgs","repos_url":"https://api.github.com/users/berndonline/repos","events_url":"https://api.github.com/users/berndonline/events{/privacy}","received_events_url":"https://api.github.com/users/berndonline/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-15T22:35:23Z","updated_at":"2016-11-04T01:28:27Z","closed_at":null,"body":"Hello,\nI really like Ansible Semaphore, really great tool but I am not very successful with the API.\nThe authentication via the API works but when I trigger the task http 400.\n\n[GIN] 2016/10/15 - 23:22:34 | 204 |  210.459635ms | 192.168.100.1 |   POST    /api/auth/login\n[GIN] 2016/10/15 - 23:22:34 | 400 |    1.928326ms | 192.168.100.1 |   POST    /api/project/3/tasks\n\nI use postman and run authentication and task in a collection.\nI dont know if I do something wrong, here the config:\n\nPOST /api/auth/login HTTP/1.1\nHost: 192.168.100.149:3000\nAccept: application/json\nContent-Type: application/json\nCache-Control: no-cache\nPostman-Token: a2d953ff-dae8-b4af-c892-eaa114183427\n{\n  \"auth\": \"username\",\n  \"password\": \"password\"\n}\n\nPOST /api/project/3/tasks HTTP/1.1\nHost: 192.168.100.149:3000\nAccept: application/json\nContent-Type: application/json\nCache-Control: no-cache\nPostman-Token: b36ba8ca-b3de-7880-73d8-278ebe00da71\n\n{\n  \"task\": \"cumulus/site.yml\"\n}\n"},"comment":{"url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/comments/258322308","html_url":"https://github.com/ansible-semaphore/semaphore/issues/201#issuecomment-258322308","issue_url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/201","id":258322308,"user":{"login":"pianzide1117","id":7685462,"avatar_url":"https://avatars.githubusercontent.com/u/7685462?v=3","gravatar_id":"","url":"https://api.github.com/users/pianzide1117","html_url":"https://github.com/pianzide1117","followers_url":"https://api.github.com/users/pianzide1117/followers","following_url":"https://api.github.com/users/pianzide1117/following{/other_user}","gists_url":"https://api.github.com/users/pianzide1117/gists{/gist_id}","starred_url":"https://api.github.com/users/pianzide1117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pianzide1117/subscriptions","organizations_url":"https://api.github.com/users/pianzide1117/orgs","repos_url":"https://api.github.com/users/pianzide1117/repos","events_url":"https://api.github.com/users/pianzide1117/events{/privacy}","received_events_url":"https://api.github.com/users/pianzide1117/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T01:28:27Z","updated_at":"2016-11-04T01:28:27Z","body":"@berndonline  api-docs.yml is out of date. task post body is wrong and you must send cookie which return form login."}}
{"actor":{"display_login":"pianzide1117"}}