{"action":"opened","number":1368,"pull_request":{"url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1368","id":70105638,"html_url":"https://github.com/mongodb/node-mongodb-native/pull/1368","diff_url":"https://github.com/mongodb/node-mongodb-native/pull/1368.diff","patch_url":"https://github.com/mongodb/node-mongodb-native/pull/1368.patch","issue_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1368","number":1368,"state":"open","locked":false,"title":"Improve documentation for ObjectID.isValid()","user":{"login":"alexjab","id":4493104,"avatar_url":"https://avatars.githubusercontent.com/u/4493104?v=3","gravatar_id":"","url":"https://api.github.com/users/alexjab","html_url":"https://github.com/alexjab","followers_url":"https://api.github.com/users/alexjab/followers","following_url":"https://api.github.com/users/alexjab/following{/other_user}","gists_url":"https://api.github.com/users/alexjab/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjab/subscriptions","organizations_url":"https://api.github.com/users/alexjab/orgs","repos_url":"https://api.github.com/users/alexjab/repos","events_url":"https://api.github.com/users/alexjab/events{/privacy}","received_events_url":"https://api.github.com/users/alexjab/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nI've noticed what appears to be a small mistake in the documentation for `ObjectID.isValid()`.\r\n\r\nThe method is a static, but the documentation omits (unlike the other statics before) to specify that an `ObjectId` should be passed as a parameter.\r\n\r\nPS: I did not find any guidelines on how to contribute to the documentation, so I hope this is the right way.","created_at":"2016-05-14T22:23:47Z","updated_at":"2016-05-14T22:23:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1368/commits","review_comments_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1368/comments","review_comment_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1368/comments","statuses_url":"https://api.github.com/repos/mongodb/node-mongodb-native/statuses/17ad82d689d5df286e421d1629833b5d77b2ac59","head":{"label":"alexjab:gh-pages","ref":"gh-pages","sha":"17ad82d689d5df286e421d1629833b5d77b2ac59","user":{"login":"alexjab","id":4493104,"avatar_url":"https://avatars.githubusercontent.com/u/4493104?v=3","gravatar_id":"","url":"https://api.github.com/users/alexjab","html_url":"https://github.com/alexjab","followers_url":"https://api.github.com/users/alexjab/followers","following_url":"https://api.github.com/users/alexjab/following{/other_user}","gists_url":"https://api.github.com/users/alexjab/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjab/subscriptions","organizations_url":"https://api.github.com/users/alexjab/orgs","repos_url":"https://api.github.com/users/alexjab/repos","events_url":"https://api.github.com/users/alexjab/events{/privacy}","received_events_url":"https://api.github.com/users/alexjab/received_events","type":"User","site_admin":false},"repo":{"id":58832845,"name":"node-mongodb-native","full_name":"alexjab/node-mongodb-native","owner":{"login":"alexjab","id":4493104,"avatar_url":"https://avatars.githubusercontent.com/u/4493104?v=3","gravatar_id":"","url":"https://api.github.com/users/alexjab","html_url":"https://github.com/alexjab","followers_url":"https://api.github.com/users/alexjab/followers","following_url":"https://api.github.com/users/alexjab/following{/other_user}","gists_url":"https://api.github.com/users/alexjab/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjab/subscriptions","organizations_url":"https://api.github.com/users/alexjab/orgs","repos_url":"https://api.github.com/users/alexjab/repos","events_url":"https://api.github.com/users/alexjab/events{/privacy}","received_events_url":"https://api.github.com/users/alexjab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexjab/node-mongodb-native","description":"Mongo DB Native NodeJS Driver","fork":true,"url":"https://api.github.com/repos/alexjab/node-mongodb-native","forks_url":"https://api.github.com/repos/alexjab/node-mongodb-native/forks","keys_url":"https://api.github.com/repos/alexjab/node-mongodb-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexjab/node-mongodb-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexjab/node-mongodb-native/teams","hooks_url":"https://api.github.com/repos/alexjab/node-mongodb-native/hooks","issue_events_url":"https://api.github.com/repos/alexjab/node-mongodb-native/issues/events{/number}","events_url":"https://api.github.com/repos/alexjab/node-mongodb-native/events","assignees_url":"https://api.github.com/repos/alexjab/node-mongodb-native/assignees{/user}","branches_url":"https://api.github.com/repos/alexjab/node-mongodb-native/branches{/branch}","tags_url":"https://api.github.com/repos/alexjab/node-mongodb-native/tags","blobs_url":"https://api.github.com/repos/alexjab/node-mongodb-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexjab/node-mongodb-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexjab/node-mongodb-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexjab/node-mongodb-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexjab/node-mongodb-native/statuses/{sha}","languages_url":"https://api.github.com/repos/alexjab/node-mongodb-native/languages","stargazers_url":"https://api.github.com/repos/alexjab/node-mongodb-native/stargazers","contributors_url":"https://api.github.com/repos/alexjab/node-mongodb-native/contributors","subscribers_url":"https://api.github.com/repos/alexjab/node-mongodb-native/subscribers","subscription_url":"https://api.github.com/repos/alexjab/node-mongodb-native/subscription","commits_url":"https://api.github.com/repos/alexjab/node-mongodb-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexjab/node-mongodb-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexjab/node-mongodb-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexjab/node-mongodb-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexjab/node-mongodb-native/contents/{+path}","compare_url":"https://api.github.com/repos/alexjab/node-mongodb-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexjab/node-mongodb-native/merges","archive_url":"https://api.github.com/repos/alexjab/node-mongodb-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexjab/node-mongodb-native/downloads","issues_url":"https://api.github.com/repos/alexjab/node-mongodb-native/issues{/number}","pulls_url":"https://api.github.com/repos/alexjab/node-mongodb-native/pulls{/number}","milestones_url":"https://api.github.com/repos/alexjab/node-mongodb-native/milestones{/number}","notifications_url":"https://api.github.com/repos/alexjab/node-mongodb-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexjab/node-mongodb-native/labels{/name}","releases_url":"https://api.github.com/repos/alexjab/node-mongodb-native/releases{/id}","deployments_url":"https://api.github.com/repos/alexjab/node-mongodb-native/deployments","created_at":"2016-05-14T22:15:48Z","updated_at":"2016-05-14T22:15:51Z","pushed_at":"2016-05-14T22:22:55Z","git_url":"git://github.com/alexjab/node-mongodb-native.git","ssh_url":"git@github.com:alexjab/node-mongodb-native.git","clone_url":"https://github.com/alexjab/node-mongodb-native.git","svn_url":"https://github.com/alexjab/node-mongodb-native","homepage":"http://mongodb.github.com/node-mongodb-native/","size":75997,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.1"}},"base":{"label":"mongodb:gh-pages","ref":"gh-pages","sha":"c696bb46039f23d189dc056593d0c1665e7e4434","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":462292,"name":"node-mongodb-native","full_name":"mongodb/node-mongodb-native","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/node-mongodb-native","description":"Mongo DB Native NodeJS Driver","fork":false,"url":"https://api.github.com/repos/mongodb/node-mongodb-native","forks_url":"https://api.github.com/repos/mongodb/node-mongodb-native/forks","keys_url":"https://api.github.com/repos/mongodb/node-mongodb-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/node-mongodb-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/node-mongodb-native/teams","hooks_url":"https://api.github.com/repos/mongodb/node-mongodb-native/hooks","issue_events_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/node-mongodb-native/events","assignees_url":"https://api.github.com/repos/mongodb/node-mongodb-native/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/node-mongodb-native/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/node-mongodb-native/tags","blobs_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/node-mongodb-native/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/node-mongodb-native/languages","stargazers_url":"https://api.github.com/repos/mongodb/node-mongodb-native/stargazers","contributors_url":"https://api.github.com/repos/mongodb/node-mongodb-native/contributors","subscribers_url":"https://api.github.com/repos/mongodb/node-mongodb-native/subscribers","subscription_url":"https://api.github.com/repos/mongodb/node-mongodb-native/subscription","commits_url":"https://api.github.com/repos/mongodb/node-mongodb-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/node-mongodb-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/node-mongodb-native/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/node-mongodb-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/node-mongodb-native/merges","archive_url":"https://api.github.com/repos/mongodb/node-mongodb-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/node-mongodb-native/downloads","issues_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/node-mongodb-native/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/node-mongodb-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/node-mongodb-native/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/node-mongodb-native/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/node-mongodb-native/deployments","created_at":"2010-01-07T12:50:50Z","updated_at":"2016-05-14T15:16:08Z","pushed_at":"2016-05-12T08:46:41Z","git_url":"git://github.com/mongodb/node-mongodb-native.git","ssh_url":"git@github.com:mongodb/node-mongodb-native.git","clone_url":"https://github.com/mongodb/node-mongodb-native.git","svn_url":"https://github.com/mongodb/node-mongodb-native","homepage":"http://mongodb.github.com/node-mongodb-native/","size":85557,"stargazers_count":4713,"watchers_count":4713,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1010,"mirror_url":null,"open_issues_count":11,"forks":1010,"open_issues":11,"watchers":4713,"default_branch":"2.1"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1368"},"html":{"href":"https://github.com/mongodb/node-mongodb-native/pull/1368"},"issue":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1368"},"comments":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1368/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1368/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1368/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/statuses/17ad82d689d5df286e421d1629833b5d77b2ac59"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}