{"action":"created","issue":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/1466","labels_url":"https://api.github.com/repos/projectkudu/kudu/issues/1466/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/kudu/issues/1466/comments","events_url":"https://api.github.com/repos/projectkudu/kudu/issues/1466/events","html_url":"https://github.com/projectkudu/kudu/issues/1466","id":57558393,"number":1466,"title":"\"Invoke a triggered job\" documentation either incorrect or misleading?","user":{"login":"mattwithoos","id":5545627,"avatar_url":"https://avatars.githubusercontent.com/u/5545627?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwithoos","html_url":"https://github.com/mattwithoos","followers_url":"https://api.github.com/users/mattwithoos/followers","following_url":"https://api.github.com/users/mattwithoos/following{/other_user}","gists_url":"https://api.github.com/users/mattwithoos/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwithoos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwithoos/subscriptions","organizations_url":"https://api.github.com/users/mattwithoos/orgs","repos_url":"https://api.github.com/users/mattwithoos/repos","events_url":"https://api.github.com/users/mattwithoos/events{/privacy}","received_events_url":"https://api.github.com/users/mattwithoos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-02-13T04:33:55Z","updated_at":"2015-02-25T00:53:38Z","closed_at":"2015-02-13T17:57:47Z","body":"I was trying to debug why I couldn't invoke a triggered job over POST. The docs say I need to specify the following:\r\n\r\nPOST /api/triggeredwebjobs/{jobname}/run\r\n\r\nAfter almost half a day of pulling my hair out, frantic Googling and even posting a question on StackOverflow, I discovered the correct usage was:\r\n\r\nPOST /jobs/triggered/{jobname}/run\r\n\r\nAdditionally, I only found very limited resources on the internet on actually using the API outside of ASP.net (such as PHP deployment), but each resource suggested a different API URL - it was a hard-to-find answer on Stack Overflow that suggested the one that worked for me."},"comment":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/comments/75884309","html_url":"https://github.com/projectkudu/kudu/issues/1466#issuecomment-75884309","issue_url":"https://api.github.com/repos/projectkudu/kudu/issues/1466","id":75884309,"user":{"login":"mattwithoos","id":5545627,"avatar_url":"https://avatars.githubusercontent.com/u/5545627?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwithoos","html_url":"https://github.com/mattwithoos","followers_url":"https://api.github.com/users/mattwithoos/followers","following_url":"https://api.github.com/users/mattwithoos/following{/other_user}","gists_url":"https://api.github.com/users/mattwithoos/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwithoos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwithoos/subscriptions","organizations_url":"https://api.github.com/users/mattwithoos/orgs","repos_url":"https://api.github.com/users/mattwithoos/repos","events_url":"https://api.github.com/users/mattwithoos/events{/privacy}","received_events_url":"https://api.github.com/users/mattwithoos/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T00:53:38Z","updated_at":"2015-02-25T00:53:38Z","body":"Ah, good point, you're right.\r\n\r\nIf I'm ever in the US I'll have to buy you a bottle of wine... Thanks again!"}}