{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/32","id":228137996,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTM3OTk2","html_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app/pull/32","diff_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app/pull/32.diff","patch_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app/pull/32.patch","issue_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/32","number":32,"state":"open","locked":false,"title":"Adapt error structure","user":{"login":"larribas","id":3601671,"node_id":"MDQ6VXNlcjM2MDE2NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/3601671?v=4","gravatar_id":"","url":"https://api.github.com/users/larribas","html_url":"https://github.com/larribas","followers_url":"https://api.github.com/users/larribas/followers","following_url":"https://api.github.com/users/larribas/following{/other_user}","gists_url":"https://api.github.com/users/larribas/gists{/gist_id}","starred_url":"https://api.github.com/users/larribas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larribas/subscriptions","organizations_url":"https://api.github.com/users/larribas/orgs","repos_url":"https://api.github.com/users/larribas/repos","events_url":"https://api.github.com/users/larribas/events{/privacy}","received_events_url":"https://api.github.com/users/larribas/received_events","type":"User","site_admin":false},"body":"Depends on #30 \r\n\r\nCloses #26 \r\n\r\nExposed structure for an error response:\r\n\r\n```\r\n{\r\n    \"errors\": {\r\n        \"email\": \"is in invalid format\",\r\n        \"username\": \"length must be within 4 - 30\"\r\n    }\r\n}\r\n```","created_at":"2018-11-03T19:56:22Z","updated_at":"2018-11-03T19:56:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/32/commits","review_comments_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/32/comments","review_comment_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/32/comments","statuses_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/statuses/83f5cf7c341f47ba4456ef6b632647cddb7d34bb","head":{"label":"schoolhouse-io:adapt-error-structure","ref":"adapt-error-structure","sha":"83f5cf7c341f47ba4456ef6b632647cddb7d34bb","user":{"login":"schoolhouse-io","id":44120742,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIwNzQy","avatar_url":"https://avatars1.githubusercontent.com/u/44120742?v=4","gravatar_id":"","url":"https://api.github.com/users/schoolhouse-io","html_url":"https://github.com/schoolhouse-io","followers_url":"https://api.github.com/users/schoolhouse-io/followers","following_url":"https://api.github.com/users/schoolhouse-io/following{/other_user}","gists_url":"https://api.github.com/users/schoolhouse-io/gists{/gist_id}","starred_url":"https://api.github.com/users/schoolhouse-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoolhouse-io/subscriptions","organizations_url":"https://api.github.com/users/schoolhouse-io/orgs","repos_url":"https://api.github.com/users/schoolhouse-io/repos","events_url":"https://api.github.com/users/schoolhouse-io/events{/privacy}","received_events_url":"https://api.github.com/users/schoolhouse-io/received_events","type":"Organization","site_admin":false},"repo":{"id":152893481,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4OTM0ODE=","name":"colmena-realworld-example-app","full_name":"schoolhouse-io/colmena-realworld-example-app","private":false,"owner":{"login":"schoolhouse-io","id":44120742,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIwNzQy","avatar_url":"https://avatars1.githubusercontent.com/u/44120742?v=4","gravatar_id":"","url":"https://api.github.com/users/schoolhouse-io","html_url":"https://github.com/schoolhouse-io","followers_url":"https://api.github.com/users/schoolhouse-io/followers","following_url":"https://api.github.com/users/schoolhouse-io/following{/other_user}","gists_url":"https://api.github.com/users/schoolhouse-io/gists{/gist_id}","starred_url":"https://api.github.com/users/schoolhouse-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoolhouse-io/subscriptions","organizations_url":"https://api.github.com/users/schoolhouse-io/orgs","repos_url":"https://api.github.com/users/schoolhouse-io/repos","events_url":"https://api.github.com/users/schoolhouse-io/events{/privacy}","received_events_url":"https://api.github.com/users/schoolhouse-io/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app","description":"Exemplary real world JSON API built with Colmena (Ruby) https://realworld.io/","fork":false,"url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app","forks_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/forks","keys_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/teams","hooks_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/hooks","issue_events_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/events{/number}","events_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/events","assignees_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/assignees{/user}","branches_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/branches{/branch}","tags_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/tags","blobs_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/statuses/{sha}","languages_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/languages","stargazers_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/stargazers","contributors_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/contributors","subscribers_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/subscribers","subscription_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/subscription","commits_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/contents/{+path}","compare_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/merges","archive_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/downloads","issues_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues{/number}","pulls_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls{/number}","milestones_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/milestones{/number}","notifications_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/labels{/name}","releases_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/releases{/id}","deployments_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/deployments","created_at":"2018-10-13T16:51:06Z","updated_at":"2018-10-29T12:02:26Z","pushed_at":"2018-11-03T19:55:23Z","git_url":"git://github.com/schoolhouse-io/colmena-realworld-example-app.git","ssh_url":"git@github.com:schoolhouse-io/colmena-realworld-example-app.git","clone_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app.git","svn_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app","homepage":null,"size":839,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"schoolhouse-io:master","ref":"master","sha":"18c78c8c6337fcad32a63c0061a784edd9bae3e4","user":{"login":"schoolhouse-io","id":44120742,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIwNzQy","avatar_url":"https://avatars1.githubusercontent.com/u/44120742?v=4","gravatar_id":"","url":"https://api.github.com/users/schoolhouse-io","html_url":"https://github.com/schoolhouse-io","followers_url":"https://api.github.com/users/schoolhouse-io/followers","following_url":"https://api.github.com/users/schoolhouse-io/following{/other_user}","gists_url":"https://api.github.com/users/schoolhouse-io/gists{/gist_id}","starred_url":"https://api.github.com/users/schoolhouse-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoolhouse-io/subscriptions","organizations_url":"https://api.github.com/users/schoolhouse-io/orgs","repos_url":"https://api.github.com/users/schoolhouse-io/repos","events_url":"https://api.github.com/users/schoolhouse-io/events{/privacy}","received_events_url":"https://api.github.com/users/schoolhouse-io/received_events","type":"Organization","site_admin":false},"repo":{"id":152893481,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4OTM0ODE=","name":"colmena-realworld-example-app","full_name":"schoolhouse-io/colmena-realworld-example-app","private":false,"owner":{"login":"schoolhouse-io","id":44120742,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIwNzQy","avatar_url":"https://avatars1.githubusercontent.com/u/44120742?v=4","gravatar_id":"","url":"https://api.github.com/users/schoolhouse-io","html_url":"https://github.com/schoolhouse-io","followers_url":"https://api.github.com/users/schoolhouse-io/followers","following_url":"https://api.github.com/users/schoolhouse-io/following{/other_user}","gists_url":"https://api.github.com/users/schoolhouse-io/gists{/gist_id}","starred_url":"https://api.github.com/users/schoolhouse-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoolhouse-io/subscriptions","organizations_url":"https://api.github.com/users/schoolhouse-io/orgs","repos_url":"https://api.github.com/users/schoolhouse-io/repos","events_url":"https://api.github.com/users/schoolhouse-io/events{/privacy}","received_events_url":"https://api.github.com/users/schoolhouse-io/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app","description":"Exemplary real world JSON API built with Colmena (Ruby) https://realworld.io/","fork":false,"url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app","forks_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/forks","keys_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/teams","hooks_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/hooks","issue_events_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/events{/number}","events_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/events","assignees_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/assignees{/user}","branches_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/branches{/branch}","tags_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/tags","blobs_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/statuses/{sha}","languages_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/languages","stargazers_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/stargazers","contributors_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/contributors","subscribers_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/subscribers","subscription_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/subscription","commits_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/contents/{+path}","compare_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/merges","archive_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/downloads","issues_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues{/number}","pulls_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls{/number}","milestones_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/milestones{/number}","notifications_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/labels{/name}","releases_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/releases{/id}","deployments_url":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/deployments","created_at":"2018-10-13T16:51:06Z","updated_at":"2018-10-29T12:02:26Z","pushed_at":"2018-11-03T19:55:23Z","git_url":"git://github.com/schoolhouse-io/colmena-realworld-example-app.git","ssh_url":"git@github.com:schoolhouse-io/colmena-realworld-example-app.git","clone_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app.git","svn_url":"https://github.com/schoolhouse-io/colmena-realworld-example-app","homepage":null,"size":839,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/32"},"html":{"href":"https://github.com/schoolhouse-io/colmena-realworld-example-app/pull/32"},"issue":{"href":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/32"},"comments":{"href":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/schoolhouse-io/colmena-realworld-example-app/statuses/83f5cf7c341f47ba4456ef6b632647cddb7d34bb"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":22,"additions":2708,"deletions":36,"changed_files":75}}
{"actor":{"display_login":"larribas"}}