{"action":"opened","number":60,"pull_request":{"url":"https://api.github.com/repos/synapsestudios/lively/pulls/60","id":29914248,"html_url":"https://github.com/synapsestudios/lively/pull/60","diff_url":"https://github.com/synapsestudios/lively/pull/60.diff","patch_url":"https://github.com/synapsestudios/lively/pull/60.patch","issue_url":"https://api.github.com/repos/synapsestudios/lively/issues/60","number":60,"state":"open","locked":false,"title":"Allow sending specific param as the body instead of an object","user":{"login":"synbot","id":341352,"avatar_url":"https://avatars.githubusercontent.com/u/341352?v=3","gravatar_id":"","url":"https://api.github.com/users/synbot","html_url":"https://github.com/synbot","followers_url":"https://api.github.com/users/synbot/followers","following_url":"https://api.github.com/users/synbot/following{/other_user}","gists_url":"https://api.github.com/users/synbot/gists{/gist_id}","starred_url":"https://api.github.com/users/synbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synbot/subscriptions","organizations_url":"https://api.github.com/users/synbot/orgs","repos_url":"https://api.github.com/users/synbot/repos","events_url":"https://api.github.com/users/synbot/events{/privacy}","received_events_url":"https://api.github.com/users/synbot/received_events","type":"User","site_admin":false},"body":"## Description\r\nTo do this we need to allow specifying the body type and specify which parameter to use as the root.\r\n\r\n## Acceptance Criteria\r\n1. New body-type config for endpoints (default = json-object, json-param)\r\n1. New body-param config (must be set when body-type == json-param)\r\n1. Executing request sends param as the request body\r\n\r\nNote that going this route not only allows for arrays as the body, but also booleans, strings, etc. depending on the param type.\r\n\r\n## Details\r\n\r\nURL:  http://localhost:9001/github/emails\r\n\r\nReceive a 500 error when entering in an additional email address.\r\n\r\n```\r\n{\r\n    \"message\": \"Server Error\",\r\n    \"documentation_url\": \"https://developer.github.com/v3\"\r\n}\r\n```\r\n\r\n","created_at":"2015-02-24T16:49:54Z","updated_at":"2015-02-24T16:49:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"baohx2000","id":486322,"avatar_url":"https://avatars.githubusercontent.com/u/486322?v=3","gravatar_id":"","url":"https://api.github.com/users/baohx2000","html_url":"https://github.com/baohx2000","followers_url":"https://api.github.com/users/baohx2000/followers","following_url":"https://api.github.com/users/baohx2000/following{/other_user}","gists_url":"https://api.github.com/users/baohx2000/gists{/gist_id}","starred_url":"https://api.github.com/users/baohx2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baohx2000/subscriptions","organizations_url":"https://api.github.com/users/baohx2000/orgs","repos_url":"https://api.github.com/users/baohx2000/repos","events_url":"https://api.github.com/users/baohx2000/events{/privacy}","received_events_url":"https://api.github.com/users/baohx2000/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/synapsestudios/lively/milestones/1","labels_url":"https://api.github.com/repos/synapsestudios/lively/milestones/1/labels","id":708191,"number":1,"title":"Sprint ∞","description":"","creator":{"login":"bobeagan","id":100226,"avatar_url":"https://avatars.githubusercontent.com/u/100226?v=3","gravatar_id":"","url":"https://api.github.com/users/bobeagan","html_url":"https://github.com/bobeagan","followers_url":"https://api.github.com/users/bobeagan/followers","following_url":"https://api.github.com/users/bobeagan/following{/other_user}","gists_url":"https://api.github.com/users/bobeagan/gists{/gist_id}","starred_url":"https://api.github.com/users/bobeagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobeagan/subscriptions","organizations_url":"https://api.github.com/users/bobeagan/orgs","repos_url":"https://api.github.com/users/bobeagan/repos","events_url":"https://api.github.com/users/bobeagan/events{/privacy}","received_events_url":"https://api.github.com/users/bobeagan/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":103,"state":"open","created_at":"2014-07-02T15:24:22Z","updated_at":"2015-02-24T04:29:41Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/synapsestudios/lively/pulls/60/commits","review_comments_url":"https://api.github.com/repos/synapsestudios/lively/pulls/60/comments","review_comment_url":"https://api.github.com/repos/synapsestudios/lively/pulls/comments{/number}","comments_url":"https://api.github.com/repos/synapsestudios/lively/issues/60/comments","statuses_url":"https://api.github.com/repos/synapsestudios/lively/statuses/8e2b84f145dc76f6f2503ddc30468bb6c9c7db77","head":{"label":"synapsestudios:feature/60-body-param","ref":"feature/60-body-param","sha":"8e2b84f145dc76f6f2503ddc30468bb6c9c7db77","user":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"repo":{"id":20110347,"name":"lively","full_name":"synapsestudios/lively","owner":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synapsestudios/lively","description":"","fork":false,"url":"https://api.github.com/repos/synapsestudios/lively","forks_url":"https://api.github.com/repos/synapsestudios/lively/forks","keys_url":"https://api.github.com/repos/synapsestudios/lively/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synapsestudios/lively/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synapsestudios/lively/teams","hooks_url":"https://api.github.com/repos/synapsestudios/lively/hooks","issue_events_url":"https://api.github.com/repos/synapsestudios/lively/issues/events{/number}","events_url":"https://api.github.com/repos/synapsestudios/lively/events","assignees_url":"https://api.github.com/repos/synapsestudios/lively/assignees{/user}","branches_url":"https://api.github.com/repos/synapsestudios/lively/branches{/branch}","tags_url":"https://api.github.com/repos/synapsestudios/lively/tags","blobs_url":"https://api.github.com/repos/synapsestudios/lively/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synapsestudios/lively/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synapsestudios/lively/git/refs{/sha}","trees_url":"https://api.github.com/repos/synapsestudios/lively/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synapsestudios/lively/statuses/{sha}","languages_url":"https://api.github.com/repos/synapsestudios/lively/languages","stargazers_url":"https://api.github.com/repos/synapsestudios/lively/stargazers","contributors_url":"https://api.github.com/repos/synapsestudios/lively/contributors","subscribers_url":"https://api.github.com/repos/synapsestudios/lively/subscribers","subscription_url":"https://api.github.com/repos/synapsestudios/lively/subscription","commits_url":"https://api.github.com/repos/synapsestudios/lively/commits{/sha}","git_commits_url":"https://api.github.com/repos/synapsestudios/lively/git/commits{/sha}","comments_url":"https://api.github.com/repos/synapsestudios/lively/comments{/number}","issue_comment_url":"https://api.github.com/repos/synapsestudios/lively/issues/comments{/number}","contents_url":"https://api.github.com/repos/synapsestudios/lively/contents/{+path}","compare_url":"https://api.github.com/repos/synapsestudios/lively/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synapsestudios/lively/merges","archive_url":"https://api.github.com/repos/synapsestudios/lively/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synapsestudios/lively/downloads","issues_url":"https://api.github.com/repos/synapsestudios/lively/issues{/number}","pulls_url":"https://api.github.com/repos/synapsestudios/lively/pulls{/number}","milestones_url":"https://api.github.com/repos/synapsestudios/lively/milestones{/number}","notifications_url":"https://api.github.com/repos/synapsestudios/lively/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synapsestudios/lively/labels{/name}","releases_url":"https://api.github.com/repos/synapsestudios/lively/releases{/id}","created_at":"2014-05-23T18:47:54Z","updated_at":"2015-02-23T21:25:59Z","pushed_at":"2015-02-24T16:48:59Z","git_url":"git://github.com/synapsestudios/lively.git","ssh_url":"git@github.com:synapsestudios/lively.git","clone_url":"https://github.com/synapsestudios/lively.git","svn_url":"https://github.com/synapsestudios/lively","homepage":null,"size":2952,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":22,"forks":1,"open_issues":22,"watchers":3,"default_branch":"master"}},"base":{"label":"synapsestudios:master","ref":"master","sha":"4154052564c4601a487c977c0ed573d232ec5b25","user":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"repo":{"id":20110347,"name":"lively","full_name":"synapsestudios/lively","owner":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synapsestudios/lively","description":"","fork":false,"url":"https://api.github.com/repos/synapsestudios/lively","forks_url":"https://api.github.com/repos/synapsestudios/lively/forks","keys_url":"https://api.github.com/repos/synapsestudios/lively/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synapsestudios/lively/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synapsestudios/lively/teams","hooks_url":"https://api.github.com/repos/synapsestudios/lively/hooks","issue_events_url":"https://api.github.com/repos/synapsestudios/lively/issues/events{/number}","events_url":"https://api.github.com/repos/synapsestudios/lively/events","assignees_url":"https://api.github.com/repos/synapsestudios/lively/assignees{/user}","branches_url":"https://api.github.com/repos/synapsestudios/lively/branches{/branch}","tags_url":"https://api.github.com/repos/synapsestudios/lively/tags","blobs_url":"https://api.github.com/repos/synapsestudios/lively/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synapsestudios/lively/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synapsestudios/lively/git/refs{/sha}","trees_url":"https://api.github.com/repos/synapsestudios/lively/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synapsestudios/lively/statuses/{sha}","languages_url":"https://api.github.com/repos/synapsestudios/lively/languages","stargazers_url":"https://api.github.com/repos/synapsestudios/lively/stargazers","contributors_url":"https://api.github.com/repos/synapsestudios/lively/contributors","subscribers_url":"https://api.github.com/repos/synapsestudios/lively/subscribers","subscription_url":"https://api.github.com/repos/synapsestudios/lively/subscription","commits_url":"https://api.github.com/repos/synapsestudios/lively/commits{/sha}","git_commits_url":"https://api.github.com/repos/synapsestudios/lively/git/commits{/sha}","comments_url":"https://api.github.com/repos/synapsestudios/lively/comments{/number}","issue_comment_url":"https://api.github.com/repos/synapsestudios/lively/issues/comments{/number}","contents_url":"https://api.github.com/repos/synapsestudios/lively/contents/{+path}","compare_url":"https://api.github.com/repos/synapsestudios/lively/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synapsestudios/lively/merges","archive_url":"https://api.github.com/repos/synapsestudios/lively/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synapsestudios/lively/downloads","issues_url":"https://api.github.com/repos/synapsestudios/lively/issues{/number}","pulls_url":"https://api.github.com/repos/synapsestudios/lively/pulls{/number}","milestones_url":"https://api.github.com/repos/synapsestudios/lively/milestones{/number}","notifications_url":"https://api.github.com/repos/synapsestudios/lively/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synapsestudios/lively/labels{/name}","releases_url":"https://api.github.com/repos/synapsestudios/lively/releases{/id}","created_at":"2014-05-23T18:47:54Z","updated_at":"2015-02-23T21:25:59Z","pushed_at":"2015-02-24T16:48:59Z","git_url":"git://github.com/synapsestudios/lively.git","ssh_url":"git@github.com:synapsestudios/lively.git","clone_url":"https://github.com/synapsestudios/lively.git","svn_url":"https://github.com/synapsestudios/lively","homepage":null,"size":2952,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":22,"forks":1,"open_issues":22,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/synapsestudios/lively/pulls/60"},"html":{"href":"https://github.com/synapsestudios/lively/pull/60"},"issue":{"href":"https://api.github.com/repos/synapsestudios/lively/issues/60"},"comments":{"href":"https://api.github.com/repos/synapsestudios/lively/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/synapsestudios/lively/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/synapsestudios/lively/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/synapsestudios/lively/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/synapsestudios/lively/statuses/8e2b84f145dc76f6f2503ddc30468bb6c9c7db77"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":26,"deletions":6,"changed_files":4}}