{"action":"created","issue":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/1977","repository_url":"https://api.github.com/repos/gearpump/gearpump","labels_url":"https://api.github.com/repos/gearpump/gearpump/issues/1977/labels{/name}","comments_url":"https://api.github.com/repos/gearpump/gearpump/issues/1977/comments","events_url":"https://api.github.com/repos/gearpump/gearpump/issues/1977/events","html_url":"https://github.com/gearpump/gearpump/issues/1977","id":136100855,"number":1977,"title":"REST API for submitting DAG","user":{"login":"karol-brejna-i","id":10846210,"avatar_url":"https://avatars.githubusercontent.com/u/10846210?v=3","gravatar_id":"","url":"https://api.github.com/users/karol-brejna-i","html_url":"https://github.com/karol-brejna-i","followers_url":"https://api.github.com/users/karol-brejna-i/followers","following_url":"https://api.github.com/users/karol-brejna-i/following{/other_user}","gists_url":"https://api.github.com/users/karol-brejna-i/gists{/gist_id}","starred_url":"https://api.github.com/users/karol-brejna-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karol-brejna-i/subscriptions","organizations_url":"https://api.github.com/users/karol-brejna-i/orgs","repos_url":"https://api.github.com/users/karol-brejna-i/repos","events_url":"https://api.github.com/users/karol-brejna-i/events{/privacy}","received_events_url":"https://api.github.com/users/karol-brejna-i/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T15:53:19Z","updated_at":"2016-02-24T16:30:46Z","closed_at":null,"body":"1. \r\nCouldn't find description of endpoint for submitting GP application (http://www.gearpump.io/releases/latest/dev-rest-api.html)\r\n\r\n2. \r\nI've noticed that the arguments ('arguments' field in submit form) are passed as URL encoded value which causes problems for longer values\r\nExample: \r\nhttp://demo.gearpump.io/api/v1.0/master/submitapp?args=param1%20param2%20param3%20fdsafads%20param5\r\n\r\nCan we pass them as field in the form? (So we avoid request size limit problem)\r\n\r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/comments/188339115","html_url":"https://github.com/gearpump/gearpump/issues/1977#issuecomment-188339115","issue_url":"https://api.github.com/repos/gearpump/gearpump/issues/1977","id":188339115,"user":{"login":"kkasravi","id":146453,"avatar_url":"https://avatars.githubusercontent.com/u/146453?v=3","gravatar_id":"","url":"https://api.github.com/users/kkasravi","html_url":"https://github.com/kkasravi","followers_url":"https://api.github.com/users/kkasravi/followers","following_url":"https://api.github.com/users/kkasravi/following{/other_user}","gists_url":"https://api.github.com/users/kkasravi/gists{/gist_id}","starred_url":"https://api.github.com/users/kkasravi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkasravi/subscriptions","organizations_url":"https://api.github.com/users/kkasravi/orgs","repos_url":"https://api.github.com/users/kkasravi/repos","events_url":"https://api.github.com/users/kkasravi/events{/privacy}","received_events_url":"https://api.github.com/users/kkasravi/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T16:30:45Z","updated_at":"2016-02-24T16:30:45Z","body":"@karol-brejna-i \r\n\r\n```\r\n1. Couldn't find description of endpoint for submitting GP application (http://www.gearpump.io/releases/latest/dev-rest-api.html)\r\n```\r\nWe haven't formally documented this REST endpoint. See #1849.\r\n\r\n```\r\n2. I've noticed that the arguments ('arguments' field in submit form) are passed as URL encoded value which causes problems for longer values\r\nExample: \r\nhttp://demo.gearpump.io/api/v1.0/master/submitapp?args=param1%20param2%20param3%20fdsafads%20param5\r\n\r\nCan we pass them as field in the form? (So we avoid request size limit problem)\r\n```\r\nMy recommendation is we include them in the JSON payload so we avoid the application/x-www-form-urlencoded mime-type. @stanleyxu2005 may have a preference."}}