{"action":"opened","number":7327,"pull_request":{"url":"https://api.github.com/repos/Automattic/mongoose/pulls/7327","id":238157342,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MTU3MzQy","html_url":"https://github.com/Automattic/mongoose/pull/7327","diff_url":"https://github.com/Automattic/mongoose/pull/7327.diff","patch_url":"https://github.com/Automattic/mongoose/pull/7327.patch","issue_url":"https://api.github.com/repos/Automattic/mongoose/issues/7327","number":7327,"state":"open","locked":false,"title":"docs(middleware): add findOneAndDelete","user":{"login":"danielkesselberg","id":3902676,"node_id":"MDQ6VXNlcjM5MDI2NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3902676?v=4","gravatar_id":"","url":"https://api.github.com/users/danielkesselberg","html_url":"https://github.com/danielkesselberg","followers_url":"https://api.github.com/users/danielkesselberg/followers","following_url":"https://api.github.com/users/danielkesselberg/following{/other_user}","gists_url":"https://api.github.com/users/danielkesselberg/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkesselberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkesselberg/subscriptions","organizations_url":"https://api.github.com/users/danielkesselberg/orgs","repos_url":"https://api.github.com/users/danielkesselberg/repos","events_url":"https://api.github.com/users/danielkesselberg/events{/privacy}","received_events_url":"https://api.github.com/users/danielkesselberg/received_events","type":"User","site_admin":false},"body":"<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory. -->\r\n\r\n**Summary**\r\n\r\nAdd `findOneAndDelete` to middleware guide\r\n\r\n<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->\r\n\r\n**Test plan**\r\n\r\n* `make docclean`\r\n* `make gendocs`\r\n* `node static.js`\r\n\r\n<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->\r\n","created_at":"2018-12-12T19:36:16Z","updated_at":"2018-12-12T19:36:16Z","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/Automattic/mongoose/pulls/7327/commits","review_comments_url":"https://api.github.com/repos/Automattic/mongoose/pulls/7327/comments","review_comment_url":"https://api.github.com/repos/Automattic/mongoose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/mongoose/issues/7327/comments","statuses_url":"https://api.github.com/repos/Automattic/mongoose/statuses/c00455db512b7f97a979fe807e72598ee740c8c5","head":{"label":"danielkesselberg:add-find-one-and-delete-to-docs","ref":"add-find-one-and-delete-to-docs","sha":"c00455db512b7f97a979fe807e72598ee740c8c5","user":{"login":"danielkesselberg","id":3902676,"node_id":"MDQ6VXNlcjM5MDI2NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3902676?v=4","gravatar_id":"","url":"https://api.github.com/users/danielkesselberg","html_url":"https://github.com/danielkesselberg","followers_url":"https://api.github.com/users/danielkesselberg/followers","following_url":"https://api.github.com/users/danielkesselberg/following{/other_user}","gists_url":"https://api.github.com/users/danielkesselberg/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkesselberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkesselberg/subscriptions","organizations_url":"https://api.github.com/users/danielkesselberg/orgs","repos_url":"https://api.github.com/users/danielkesselberg/repos","events_url":"https://api.github.com/users/danielkesselberg/events{/privacy}","received_events_url":"https://api.github.com/users/danielkesselberg/received_events","type":"User","site_admin":false},"repo":{"id":161532606,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE1MzI2MDY=","name":"mongoose","full_name":"danielkesselberg/mongoose","private":false,"owner":{"login":"danielkesselberg","id":3902676,"node_id":"MDQ6VXNlcjM5MDI2NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3902676?v=4","gravatar_id":"","url":"https://api.github.com/users/danielkesselberg","html_url":"https://github.com/danielkesselberg","followers_url":"https://api.github.com/users/danielkesselberg/followers","following_url":"https://api.github.com/users/danielkesselberg/following{/other_user}","gists_url":"https://api.github.com/users/danielkesselberg/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkesselberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkesselberg/subscriptions","organizations_url":"https://api.github.com/users/danielkesselberg/orgs","repos_url":"https://api.github.com/users/danielkesselberg/repos","events_url":"https://api.github.com/users/danielkesselberg/events{/privacy}","received_events_url":"https://api.github.com/users/danielkesselberg/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danielkesselberg/mongoose","description":"MongoDB object modeling designed to work in an asynchronous environment.","fork":true,"url":"https://api.github.com/repos/danielkesselberg/mongoose","forks_url":"https://api.github.com/repos/danielkesselberg/mongoose/forks","keys_url":"https://api.github.com/repos/danielkesselberg/mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielkesselberg/mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielkesselberg/mongoose/teams","hooks_url":"https://api.github.com/repos/danielkesselberg/mongoose/hooks","issue_events_url":"https://api.github.com/repos/danielkesselberg/mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/danielkesselberg/mongoose/events","assignees_url":"https://api.github.com/repos/danielkesselberg/mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/danielkesselberg/mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/danielkesselberg/mongoose/tags","blobs_url":"https://api.github.com/repos/danielkesselberg/mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielkesselberg/mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielkesselberg/mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielkesselberg/mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielkesselberg/mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/danielkesselberg/mongoose/languages","stargazers_url":"https://api.github.com/repos/danielkesselberg/mongoose/stargazers","contributors_url":"https://api.github.com/repos/danielkesselberg/mongoose/contributors","subscribers_url":"https://api.github.com/repos/danielkesselberg/mongoose/subscribers","subscription_url":"https://api.github.com/repos/danielkesselberg/mongoose/subscription","commits_url":"https://api.github.com/repos/danielkesselberg/mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielkesselberg/mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielkesselberg/mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielkesselberg/mongoose/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielkesselberg/mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/danielkesselberg/mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielkesselberg/mongoose/merges","archive_url":"https://api.github.com/repos/danielkesselberg/mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielkesselberg/mongoose/downloads","issues_url":"https://api.github.com/repos/danielkesselberg/mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/danielkesselberg/mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/danielkesselberg/mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/danielkesselberg/mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielkesselberg/mongoose/labels{/name}","releases_url":"https://api.github.com/repos/danielkesselberg/mongoose/releases{/id}","deployments_url":"https://api.github.com/repos/danielkesselberg/mongoose/deployments","created_at":"2018-12-12T19:04:03Z","updated_at":"2018-12-12T19:04:09Z","pushed_at":"2018-12-12T19:34:51Z","git_url":"git://github.com/danielkesselberg/mongoose.git","ssh_url":"git@github.com:danielkesselberg/mongoose.git","clone_url":"https://github.com/danielkesselberg/mongoose.git","svn_url":"https://github.com/danielkesselberg/mongoose","homepage":"http://mongoosejs.com","size":46670,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"515050394aefdd122f22045463344e0e359c8306","user":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":597879,"node_id":"MDEwOlJlcG9zaXRvcnk1OTc4Nzk=","name":"mongoose","full_name":"Automattic/mongoose","private":false,"owner":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Automattic/mongoose","description":"MongoDB object modeling designed to work in an asynchronous environment.","fork":false,"url":"https://api.github.com/repos/Automattic/mongoose","forks_url":"https://api.github.com/repos/Automattic/mongoose/forks","keys_url":"https://api.github.com/repos/Automattic/mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/mongoose/teams","hooks_url":"https://api.github.com/repos/Automattic/mongoose/hooks","issue_events_url":"https://api.github.com/repos/Automattic/mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/mongoose/events","assignees_url":"https://api.github.com/repos/Automattic/mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/mongoose/tags","blobs_url":"https://api.github.com/repos/Automattic/mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/mongoose/languages","stargazers_url":"https://api.github.com/repos/Automattic/mongoose/stargazers","contributors_url":"https://api.github.com/repos/Automattic/mongoose/contributors","subscribers_url":"https://api.github.com/repos/Automattic/mongoose/subscribers","subscription_url":"https://api.github.com/repos/Automattic/mongoose/subscription","commits_url":"https://api.github.com/repos/Automattic/mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/mongoose/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/mongoose/merges","archive_url":"https://api.github.com/repos/Automattic/mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/mongoose/downloads","issues_url":"https://api.github.com/repos/Automattic/mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/mongoose/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/mongoose/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/mongoose/deployments","created_at":"2010-04-06T21:39:05Z","updated_at":"2018-12-12T18:17:18Z","pushed_at":"2018-12-12T19:29:57Z","git_url":"git://github.com/Automattic/mongoose.git","ssh_url":"git@github.com:Automattic/mongoose.git","clone_url":"https://github.com/Automattic/mongoose.git","svn_url":"https://github.com/Automattic/mongoose","homepage":"http://mongoosejs.com","size":46693,"stargazers_count":17532,"watchers_count":17532,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2514,"mirror_url":null,"archived":false,"open_issues_count":317,"license":null,"forks":2514,"open_issues":317,"watchers":17532,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/mongoose/pulls/7327"},"html":{"href":"https://github.com/Automattic/mongoose/pull/7327"},"issue":{"href":"https://api.github.com/repos/Automattic/mongoose/issues/7327"},"comments":{"href":"https://api.github.com/repos/Automattic/mongoose/issues/7327/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/mongoose/pulls/7327/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/mongoose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/mongoose/pulls/7327/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/mongoose/statuses/c00455db512b7f97a979fe807e72598ee740c8c5"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"danielkesselberg"}}