{"action":"closed","number":80,"pull_request":{"url":"https://api.github.com/repos/c2corg/v6_api/pulls/80","id":51504705,"html_url":"https://github.com/c2corg/v6_api/pull/80","diff_url":"https://github.com/c2corg/v6_api/pull/80.diff","patch_url":"https://github.com/c2corg/v6_api/pull/80.patch","issue_url":"https://api.github.com/repos/c2corg/v6_api/issues/80","number":80,"state":"closed","locked":false,"title":"Obey convention for cornice errors","user":{"login":"gberaudo","id":7294662,"avatar_url":"https://avatars.githubusercontent.com/u/7294662?v=3","gravatar_id":"","url":"https://api.github.com/users/gberaudo","html_url":"https://github.com/gberaudo","followers_url":"https://api.github.com/users/gberaudo/followers","following_url":"https://api.github.com/users/gberaudo/following{/other_user}","gists_url":"https://api.github.com/users/gberaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/gberaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gberaudo/subscriptions","organizations_url":"https://api.github.com/users/gberaudo/orgs","repos_url":"https://api.github.com/users/gberaudo/repos","events_url":"https://api.github.com/users/gberaudo/events{/privacy}","received_events_url":"https://api.github.com/users/gberaudo/received_events","type":"User","site_admin":false},"body":"See\r\nhttp://cornice.readthedocs.org/en/latest/validation.html#dealing-with-errors\r\n\r\nWith errors being a JSON dictionary with the keys “location”, “name” and “description”.\r\n- location is the location of the error. It can be “querystring”, “header” or “body”\r\n- name is the eventual name of the value that caused problems\r\n- description is a description of the problem encountered.","created_at":"2015-11-23T10:11:03Z","updated_at":"2015-11-24T09:02:55Z","closed_at":"2015-11-24T09:02:55Z","merged_at":"2015-11-24T09:02:54Z","merge_commit_sha":"8fd61694cffa64c60fe8b53649dffc964c2b5084","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/c2corg/v6_api/pulls/80/commits","review_comments_url":"https://api.github.com/repos/c2corg/v6_api/pulls/80/comments","review_comment_url":"https://api.github.com/repos/c2corg/v6_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/c2corg/v6_api/issues/80/comments","statuses_url":"https://api.github.com/repos/c2corg/v6_api/statuses/f896dcb7c35af70c71a3c84a75335c2aedf219f0","head":{"label":"c2corg:obey_cornice_validation_conventions","ref":"obey_cornice_validation_conventions","sha":"f896dcb7c35af70c71a3c84a75335c2aedf219f0","user":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"repo":{"id":41029840,"name":"v6_api","full_name":"c2corg/v6_api","owner":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/c2corg/v6_api","description":"REST API for c2c.org v6","fork":false,"url":"https://api.github.com/repos/c2corg/v6_api","forks_url":"https://api.github.com/repos/c2corg/v6_api/forks","keys_url":"https://api.github.com/repos/c2corg/v6_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c2corg/v6_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c2corg/v6_api/teams","hooks_url":"https://api.github.com/repos/c2corg/v6_api/hooks","issue_events_url":"https://api.github.com/repos/c2corg/v6_api/issues/events{/number}","events_url":"https://api.github.com/repos/c2corg/v6_api/events","assignees_url":"https://api.github.com/repos/c2corg/v6_api/assignees{/user}","branches_url":"https://api.github.com/repos/c2corg/v6_api/branches{/branch}","tags_url":"https://api.github.com/repos/c2corg/v6_api/tags","blobs_url":"https://api.github.com/repos/c2corg/v6_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c2corg/v6_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c2corg/v6_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/c2corg/v6_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c2corg/v6_api/statuses/{sha}","languages_url":"https://api.github.com/repos/c2corg/v6_api/languages","stargazers_url":"https://api.github.com/repos/c2corg/v6_api/stargazers","contributors_url":"https://api.github.com/repos/c2corg/v6_api/contributors","subscribers_url":"https://api.github.com/repos/c2corg/v6_api/subscribers","subscription_url":"https://api.github.com/repos/c2corg/v6_api/subscription","commits_url":"https://api.github.com/repos/c2corg/v6_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/c2corg/v6_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/c2corg/v6_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/c2corg/v6_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/c2corg/v6_api/contents/{+path}","compare_url":"https://api.github.com/repos/c2corg/v6_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c2corg/v6_api/merges","archive_url":"https://api.github.com/repos/c2corg/v6_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c2corg/v6_api/downloads","issues_url":"https://api.github.com/repos/c2corg/v6_api/issues{/number}","pulls_url":"https://api.github.com/repos/c2corg/v6_api/pulls{/number}","milestones_url":"https://api.github.com/repos/c2corg/v6_api/milestones{/number}","notifications_url":"https://api.github.com/repos/c2corg/v6_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c2corg/v6_api/labels{/name}","releases_url":"https://api.github.com/repos/c2corg/v6_api/releases{/id}","created_at":"2015-08-19T11:21:39Z","updated_at":"2015-08-25T15:58:19Z","pushed_at":"2015-11-24T09:02:54Z","git_url":"git://github.com/c2corg/v6_api.git","ssh_url":"git@github.com:c2corg/v6_api.git","clone_url":"https://github.com/c2corg/v6_api.git","svn_url":"https://github.com/c2corg/v6_api","homepage":"","size":240,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":3,"default_branch":"master"}},"base":{"label":"c2corg:master","ref":"master","sha":"7b798828c9b25b2d2a3ec5a6715ac360202cdd6a","user":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"repo":{"id":41029840,"name":"v6_api","full_name":"c2corg/v6_api","owner":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/c2corg/v6_api","description":"REST API for c2c.org v6","fork":false,"url":"https://api.github.com/repos/c2corg/v6_api","forks_url":"https://api.github.com/repos/c2corg/v6_api/forks","keys_url":"https://api.github.com/repos/c2corg/v6_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c2corg/v6_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c2corg/v6_api/teams","hooks_url":"https://api.github.com/repos/c2corg/v6_api/hooks","issue_events_url":"https://api.github.com/repos/c2corg/v6_api/issues/events{/number}","events_url":"https://api.github.com/repos/c2corg/v6_api/events","assignees_url":"https://api.github.com/repos/c2corg/v6_api/assignees{/user}","branches_url":"https://api.github.com/repos/c2corg/v6_api/branches{/branch}","tags_url":"https://api.github.com/repos/c2corg/v6_api/tags","blobs_url":"https://api.github.com/repos/c2corg/v6_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c2corg/v6_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c2corg/v6_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/c2corg/v6_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c2corg/v6_api/statuses/{sha}","languages_url":"https://api.github.com/repos/c2corg/v6_api/languages","stargazers_url":"https://api.github.com/repos/c2corg/v6_api/stargazers","contributors_url":"https://api.github.com/repos/c2corg/v6_api/contributors","subscribers_url":"https://api.github.com/repos/c2corg/v6_api/subscribers","subscription_url":"https://api.github.com/repos/c2corg/v6_api/subscription","commits_url":"https://api.github.com/repos/c2corg/v6_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/c2corg/v6_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/c2corg/v6_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/c2corg/v6_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/c2corg/v6_api/contents/{+path}","compare_url":"https://api.github.com/repos/c2corg/v6_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c2corg/v6_api/merges","archive_url":"https://api.github.com/repos/c2corg/v6_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c2corg/v6_api/downloads","issues_url":"https://api.github.com/repos/c2corg/v6_api/issues{/number}","pulls_url":"https://api.github.com/repos/c2corg/v6_api/pulls{/number}","milestones_url":"https://api.github.com/repos/c2corg/v6_api/milestones{/number}","notifications_url":"https://api.github.com/repos/c2corg/v6_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c2corg/v6_api/labels{/name}","releases_url":"https://api.github.com/repos/c2corg/v6_api/releases{/id}","created_at":"2015-08-19T11:21:39Z","updated_at":"2015-08-25T15:58:19Z","pushed_at":"2015-11-24T09:02:54Z","git_url":"git://github.com/c2corg/v6_api.git","ssh_url":"git@github.com:c2corg/v6_api.git","clone_url":"https://github.com/c2corg/v6_api.git","svn_url":"https://github.com/c2corg/v6_api","homepage":"","size":240,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/80"},"html":{"href":"https://github.com/c2corg/v6_api/pull/80"},"issue":{"href":"https://api.github.com/repos/c2corg/v6_api/issues/80"},"comments":{"href":"https://api.github.com/repos/c2corg/v6_api/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/c2corg/v6_api/statuses/f896dcb7c35af70c71a3c84a75335c2aedf219f0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gberaudo","id":7294662,"avatar_url":"https://avatars.githubusercontent.com/u/7294662?v=3","gravatar_id":"","url":"https://api.github.com/users/gberaudo","html_url":"https://github.com/gberaudo","followers_url":"https://api.github.com/users/gberaudo/followers","following_url":"https://api.github.com/users/gberaudo/following{/other_user}","gists_url":"https://api.github.com/users/gberaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/gberaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gberaudo/subscriptions","organizations_url":"https://api.github.com/users/gberaudo/orgs","repos_url":"https://api.github.com/users/gberaudo/repos","events_url":"https://api.github.com/users/gberaudo/events{/privacy}","received_events_url":"https://api.github.com/users/gberaudo/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":5,"deletions":5,"changed_files":2}}