{"action":"opened","number":136,"pull_request":{"url":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/136","id":62996677,"html_url":"https://github.com/bigchaindb/bigchaindb/pull/136","diff_url":"https://github.com/bigchaindb/bigchaindb/pull/136.diff","patch_url":"https://github.com/bigchaindb/bigchaindb/pull/136.patch","issue_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/136","number":136,"state":"open","locked":false,"title":"Public validation function","user":{"login":"thedoctor","id":1939836,"avatar_url":"https://avatars.githubusercontent.com/u/1939836?v=3","gravatar_id":"","url":"https://api.github.com/users/thedoctor","html_url":"https://github.com/thedoctor","followers_url":"https://api.github.com/users/thedoctor/followers","following_url":"https://api.github.com/users/thedoctor/following{/other_user}","gists_url":"https://api.github.com/users/thedoctor/gists{/gist_id}","starred_url":"https://api.github.com/users/thedoctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedoctor/subscriptions","organizations_url":"https://api.github.com/users/thedoctor/orgs","repos_url":"https://api.github.com/users/thedoctor/repos","events_url":"https://api.github.com/users/thedoctor/events{/privacy}","received_events_url":"https://api.github.com/users/thedoctor/received_events","type":"User","site_admin":false},"body":"This PR adds a `validate` function to the REST API & the python client.\r\nIt returns a bool and error message (which is currently just `repr(exception)`).\r\n\r\nI'm not sure if you guys want this – but I needed it, so feel free to merge, comment or close. :)\r\n\r\nNote: This is branched off of #99, first commit in this branch is: 8e615b9 (which along with 513ed9c may be of value independently of the other changes)","created_at":"2016-03-16T00:05:52Z","updated_at":"2016-03-16T00:05:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/136/commits","review_comments_url":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/136/comments","review_comment_url":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/136/comments","statuses_url":"https://api.github.com/repos/bigchaindb/bigchaindb/statuses/e3441aa011ed43ab570ac6cd59512b2a64f08ace","head":{"label":"GemHQ:public-validation-functions","ref":"public-validation-functions","sha":"e3441aa011ed43ab570ac6cd59512b2a64f08ace","user":{"login":"GemHQ","id":6866060,"avatar_url":"https://avatars.githubusercontent.com/u/6866060?v=3","gravatar_id":"","url":"https://api.github.com/users/GemHQ","html_url":"https://github.com/GemHQ","followers_url":"https://api.github.com/users/GemHQ/followers","following_url":"https://api.github.com/users/GemHQ/following{/other_user}","gists_url":"https://api.github.com/users/GemHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/GemHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GemHQ/subscriptions","organizations_url":"https://api.github.com/users/GemHQ/orgs","repos_url":"https://api.github.com/users/GemHQ/repos","events_url":"https://api.github.com/users/GemHQ/events{/privacy}","received_events_url":"https://api.github.com/users/GemHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":52827816,"name":"bigchaindb","full_name":"GemHQ/bigchaindb","owner":{"login":"GemHQ","id":6866060,"avatar_url":"https://avatars.githubusercontent.com/u/6866060?v=3","gravatar_id":"","url":"https://api.github.com/users/GemHQ","html_url":"https://github.com/GemHQ","followers_url":"https://api.github.com/users/GemHQ/followers","following_url":"https://api.github.com/users/GemHQ/following{/other_user}","gists_url":"https://api.github.com/users/GemHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/GemHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GemHQ/subscriptions","organizations_url":"https://api.github.com/users/GemHQ/orgs","repos_url":"https://api.github.com/users/GemHQ/repos","events_url":"https://api.github.com/users/GemHQ/events{/privacy}","received_events_url":"https://api.github.com/users/GemHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GemHQ/bigchaindb","description":"A scalable blockchain database","fork":true,"url":"https://api.github.com/repos/GemHQ/bigchaindb","forks_url":"https://api.github.com/repos/GemHQ/bigchaindb/forks","keys_url":"https://api.github.com/repos/GemHQ/bigchaindb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GemHQ/bigchaindb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GemHQ/bigchaindb/teams","hooks_url":"https://api.github.com/repos/GemHQ/bigchaindb/hooks","issue_events_url":"https://api.github.com/repos/GemHQ/bigchaindb/issues/events{/number}","events_url":"https://api.github.com/repos/GemHQ/bigchaindb/events","assignees_url":"https://api.github.com/repos/GemHQ/bigchaindb/assignees{/user}","branches_url":"https://api.github.com/repos/GemHQ/bigchaindb/branches{/branch}","tags_url":"https://api.github.com/repos/GemHQ/bigchaindb/tags","blobs_url":"https://api.github.com/repos/GemHQ/bigchaindb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GemHQ/bigchaindb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GemHQ/bigchaindb/git/refs{/sha}","trees_url":"https://api.github.com/repos/GemHQ/bigchaindb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GemHQ/bigchaindb/statuses/{sha}","languages_url":"https://api.github.com/repos/GemHQ/bigchaindb/languages","stargazers_url":"https://api.github.com/repos/GemHQ/bigchaindb/stargazers","contributors_url":"https://api.github.com/repos/GemHQ/bigchaindb/contributors","subscribers_url":"https://api.github.com/repos/GemHQ/bigchaindb/subscribers","subscription_url":"https://api.github.com/repos/GemHQ/bigchaindb/subscription","commits_url":"https://api.github.com/repos/GemHQ/bigchaindb/commits{/sha}","git_commits_url":"https://api.github.com/repos/GemHQ/bigchaindb/git/commits{/sha}","comments_url":"https://api.github.com/repos/GemHQ/bigchaindb/comments{/number}","issue_comment_url":"https://api.github.com/repos/GemHQ/bigchaindb/issues/comments{/number}","contents_url":"https://api.github.com/repos/GemHQ/bigchaindb/contents/{+path}","compare_url":"https://api.github.com/repos/GemHQ/bigchaindb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GemHQ/bigchaindb/merges","archive_url":"https://api.github.com/repos/GemHQ/bigchaindb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GemHQ/bigchaindb/downloads","issues_url":"https://api.github.com/repos/GemHQ/bigchaindb/issues{/number}","pulls_url":"https://api.github.com/repos/GemHQ/bigchaindb/pulls{/number}","milestones_url":"https://api.github.com/repos/GemHQ/bigchaindb/milestones{/number}","notifications_url":"https://api.github.com/repos/GemHQ/bigchaindb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GemHQ/bigchaindb/labels{/name}","releases_url":"https://api.github.com/repos/GemHQ/bigchaindb/releases{/id}","deployments_url":"https://api.github.com/repos/GemHQ/bigchaindb/deployments","created_at":"2016-02-29T21:57:46Z","updated_at":"2016-02-29T21:57:47Z","pushed_at":"2016-03-15T23:55:55Z","git_url":"git://github.com/GemHQ/bigchaindb.git","ssh_url":"git@github.com:GemHQ/bigchaindb.git","clone_url":"https://github.com/GemHQ/bigchaindb.git","svn_url":"https://github.com/GemHQ/bigchaindb","homepage":"https://www.bigchaindb.com/","size":756,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"bigchaindb:develop","ref":"develop","sha":"fdd1f297a656612b7ed21ce1e22addd10a6a457a","user":{"login":"bigchaindb","id":17097586,"avatar_url":"https://avatars.githubusercontent.com/u/17097586?v=3","gravatar_id":"","url":"https://api.github.com/users/bigchaindb","html_url":"https://github.com/bigchaindb","followers_url":"https://api.github.com/users/bigchaindb/followers","following_url":"https://api.github.com/users/bigchaindb/following{/other_user}","gists_url":"https://api.github.com/users/bigchaindb/gists{/gist_id}","starred_url":"https://api.github.com/users/bigchaindb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigchaindb/subscriptions","organizations_url":"https://api.github.com/users/bigchaindb/orgs","repos_url":"https://api.github.com/users/bigchaindb/repos","events_url":"https://api.github.com/users/bigchaindb/events{/privacy}","received_events_url":"https://api.github.com/users/bigchaindb/received_events","type":"Organization","site_admin":false},"repo":{"id":51290852,"name":"bigchaindb","full_name":"bigchaindb/bigchaindb","owner":{"login":"bigchaindb","id":17097586,"avatar_url":"https://avatars.githubusercontent.com/u/17097586?v=3","gravatar_id":"","url":"https://api.github.com/users/bigchaindb","html_url":"https://github.com/bigchaindb","followers_url":"https://api.github.com/users/bigchaindb/followers","following_url":"https://api.github.com/users/bigchaindb/following{/other_user}","gists_url":"https://api.github.com/users/bigchaindb/gists{/gist_id}","starred_url":"https://api.github.com/users/bigchaindb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigchaindb/subscriptions","organizations_url":"https://api.github.com/users/bigchaindb/orgs","repos_url":"https://api.github.com/users/bigchaindb/repos","events_url":"https://api.github.com/users/bigchaindb/events{/privacy}","received_events_url":"https://api.github.com/users/bigchaindb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigchaindb/bigchaindb","description":"A scalable blockchain database","fork":false,"url":"https://api.github.com/repos/bigchaindb/bigchaindb","forks_url":"https://api.github.com/repos/bigchaindb/bigchaindb/forks","keys_url":"https://api.github.com/repos/bigchaindb/bigchaindb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigchaindb/bigchaindb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigchaindb/bigchaindb/teams","hooks_url":"https://api.github.com/repos/bigchaindb/bigchaindb/hooks","issue_events_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/events{/number}","events_url":"https://api.github.com/repos/bigchaindb/bigchaindb/events","assignees_url":"https://api.github.com/repos/bigchaindb/bigchaindb/assignees{/user}","branches_url":"https://api.github.com/repos/bigchaindb/bigchaindb/branches{/branch}","tags_url":"https://api.github.com/repos/bigchaindb/bigchaindb/tags","blobs_url":"https://api.github.com/repos/bigchaindb/bigchaindb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigchaindb/bigchaindb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigchaindb/bigchaindb/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigchaindb/bigchaindb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigchaindb/bigchaindb/statuses/{sha}","languages_url":"https://api.github.com/repos/bigchaindb/bigchaindb/languages","stargazers_url":"https://api.github.com/repos/bigchaindb/bigchaindb/stargazers","contributors_url":"https://api.github.com/repos/bigchaindb/bigchaindb/contributors","subscribers_url":"https://api.github.com/repos/bigchaindb/bigchaindb/subscribers","subscription_url":"https://api.github.com/repos/bigchaindb/bigchaindb/subscription","commits_url":"https://api.github.com/repos/bigchaindb/bigchaindb/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigchaindb/bigchaindb/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigchaindb/bigchaindb/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigchaindb/bigchaindb/contents/{+path}","compare_url":"https://api.github.com/repos/bigchaindb/bigchaindb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigchaindb/bigchaindb/merges","archive_url":"https://api.github.com/repos/bigchaindb/bigchaindb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigchaindb/bigchaindb/downloads","issues_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues{/number}","pulls_url":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls{/number}","milestones_url":"https://api.github.com/repos/bigchaindb/bigchaindb/milestones{/number}","notifications_url":"https://api.github.com/repos/bigchaindb/bigchaindb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigchaindb/bigchaindb/labels{/name}","releases_url":"https://api.github.com/repos/bigchaindb/bigchaindb/releases{/id}","deployments_url":"https://api.github.com/repos/bigchaindb/bigchaindb/deployments","created_at":"2016-02-08T10:12:58Z","updated_at":"2016-03-15T09:26:34Z","pushed_at":"2016-03-15T03:02:34Z","git_url":"git://github.com/bigchaindb/bigchaindb.git","ssh_url":"git@github.com:bigchaindb/bigchaindb.git","clone_url":"https://github.com/bigchaindb/bigchaindb.git","svn_url":"https://github.com/bigchaindb/bigchaindb","homepage":"https://www.bigchaindb.com/","size":780,"stargazers_count":370,"watchers_count":370,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":37,"forks":38,"open_issues":37,"watchers":370,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/136"},"html":{"href":"https://github.com/bigchaindb/bigchaindb/pull/136"},"issue":{"href":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/136"},"comments":{"href":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bigchaindb/bigchaindb/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/bigchaindb/bigchaindb/statuses/e3441aa011ed43ab570ac6cd59512b2a64f08ace"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":20,"additions":578,"deletions":84,"changed_files":13}}