{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1313","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1313/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1313/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1313/events","html_url":"https://github.com/couchbase/sync_gateway/issues/1313","id":118715808,"number":1313,"title":"accept _local docs in _bulk_docs post","user":{"login":"jchris","id":253,"avatar_url":"https://avatars.githubusercontent.com/u/253?v=3","gravatar_id":"","url":"https://api.github.com/users/jchris","html_url":"https://github.com/jchris","followers_url":"https://api.github.com/users/jchris/followers","following_url":"https://api.github.com/users/jchris/following{/other_user}","gists_url":"https://api.github.com/users/jchris/gists{/gist_id}","starred_url":"https://api.github.com/users/jchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchris/subscriptions","organizations_url":"https://api.github.com/users/jchris/orgs","repos_url":"https://api.github.com/users/jchris/repos","events_url":"https://api.github.com/users/jchris/events{/privacy}","received_events_url":"https://api.github.com/users/jchris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"jchris","id":253,"avatar_url":"https://avatars.githubusercontent.com/u/253?v=3","gravatar_id":"","url":"https://api.github.com/users/jchris","html_url":"https://github.com/jchris","followers_url":"https://api.github.com/users/jchris/followers","following_url":"https://api.github.com/users/jchris/following{/other_user}","gists_url":"https://api.github.com/users/jchris/gists{/gist_id}","starred_url":"https://api.github.com/users/jchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchris/subscriptions","organizations_url":"https://api.github.com/users/jchris/orgs","repos_url":"https://api.github.com/users/jchris/repos","events_url":"https://api.github.com/users/jchris/events{/privacy}","received_events_url":"https://api.github.com/users/jchris/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/16","html_url":"https://github.com/couchbase/sync_gateway/milestones/1.3","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/16/labels","id":1267127,"number":16,"title":"1.3","description":"","creator":{"login":"zgramana","id":759830,"avatar_url":"https://avatars.githubusercontent.com/u/759830?v=3","gravatar_id":"","url":"https://api.github.com/users/zgramana","html_url":"https://github.com/zgramana","followers_url":"https://api.github.com/users/zgramana/followers","following_url":"https://api.github.com/users/zgramana/following{/other_user}","gists_url":"https://api.github.com/users/zgramana/gists{/gist_id}","starred_url":"https://api.github.com/users/zgramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgramana/subscriptions","organizations_url":"https://api.github.com/users/zgramana/orgs","repos_url":"https://api.github.com/users/zgramana/repos","events_url":"https://api.github.com/users/zgramana/events{/privacy}","received_events_url":"https://api.github.com/users/zgramana/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":0,"state":"open","created_at":"2015-08-22T00:09:34Z","updated_at":"2015-12-07T20:20:58Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-11-24T22:18:47Z","updated_at":"2015-12-09T20:09:16Z","closed_at":null,"body":"PouchDB 5.1 does this, and there's no reason we shouldn't accept it.\r\n\r\nCode will  require reusing some of the logic from  `handleGetLocalDoc` and `handlePutLocalDoc` in the places that currently call `realDocID`."},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/163376832","html_url":"https://github.com/couchbase/sync_gateway/issues/1313#issuecomment-163376832","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1313","id":163376832,"user":{"login":"DanailMinchev","id":7883702,"avatar_url":"https://avatars.githubusercontent.com/u/7883702?v=3","gravatar_id":"","url":"https://api.github.com/users/DanailMinchev","html_url":"https://github.com/DanailMinchev","followers_url":"https://api.github.com/users/DanailMinchev/followers","following_url":"https://api.github.com/users/DanailMinchev/following{/other_user}","gists_url":"https://api.github.com/users/DanailMinchev/gists{/gist_id}","starred_url":"https://api.github.com/users/DanailMinchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanailMinchev/subscriptions","organizations_url":"https://api.github.com/users/DanailMinchev/orgs","repos_url":"https://api.github.com/users/DanailMinchev/repos","events_url":"https://api.github.com/users/DanailMinchev/events{/privacy}","received_events_url":"https://api.github.com/users/DanailMinchev/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T20:09:15Z","updated_at":"2015-12-09T20:09:15Z","body":"I am not sure which `_bulk_docs` you need, that's why I am pasting screenshots from my Chrome's dev console (can't find proper plugin to log http request/response with the bodies - only http headers are available, that's why I'm using screenshots for now).\r\n\r\nThis is the log after adding the first record \" First Name 1 / Last Name 1 / email1@mail.com \"\r\n\r\n![1](https://cloud.githubusercontent.com/assets/7883702/11697128/16eafe92-9eb0-11e5-83d8-973092285945.png)\r\n![2](https://cloud.githubusercontent.com/assets/7883702/11697143/278b7b0a-9eb0-11e5-9088-f10f13e805a3.png)\r\n![3](https://cloud.githubusercontent.com/assets/7883702/11697145/2b71f5d2-9eb0-11e5-83fa-a5a03f67d524.png)\r\n![4](https://cloud.githubusercontent.com/assets/7883702/11697150/2f9a8b38-9eb0-11e5-9df8-c8605157f099.png)\r\n![5](https://cloud.githubusercontent.com/assets/7883702/11697154/339c23d6-9eb0-11e5-9e93-aaeaed0f6bf0.png)\r\n![6](https://cloud.githubusercontent.com/assets/7883702/11697156/37207020-9eb0-11e5-9e9b-d9f8624c6ff2.png)\r\n![7](https://cloud.githubusercontent.com/assets/7883702/11697160/3a55922a-9eb0-11e5-9143-4222c47a8b97.png)\r\n![8](https://cloud.githubusercontent.com/assets/7883702/11697165/3e4137cc-9eb0-11e5-8f07-4fce35b4917e.png)\r\n![9](https://cloud.githubusercontent.com/assets/7883702/11697168/4236a0f6-9eb0-11e5-9381-42924e8e90e5.png)\r\n![10](https://cloud.githubusercontent.com/assets/7883702/11697170/453c44e0-9eb0-11e5-8424-9144c4abd1f5.png)\r\n![11](https://cloud.githubusercontent.com/assets/7883702/11697180/516a9f0a-9eb0-11e5-986d-29b33a0c65ce.png)\r\n![12](https://cloud.githubusercontent.com/assets/7883702/11697186/5586990e-9eb0-11e5-8d3a-016b3f4dab3a.png)\r\n![13](https://cloud.githubusercontent.com/assets/7883702/11697189/58e8fd1c-9eb0-11e5-9354-76114e4f101c.png)\r\n![14](https://cloud.githubusercontent.com/assets/7883702/11697194/5c55e60e-9eb0-11e5-851a-f1cd2e966539.png)\r\n![15](https://cloud.githubusercontent.com/assets/7883702/11697197/5fe37d40-9eb0-11e5-9137-76a7e5a3ac3f.png)\r\n![16](https://cloud.githubusercontent.com/assets/7883702/11697201/63219bcc-9eb0-11e5-88ab-6985123a4abc.png)\r\n![17](https://cloud.githubusercontent.com/assets/7883702/11697202/6634274e-9eb0-11e5-8f0d-bf51b3dda3ee.png)\r\n![18](https://cloud.githubusercontent.com/assets/7883702/11697205/693cea84-9eb0-11e5-8954-f15e311b3aa5.png)\r\n![19](https://cloud.githubusercontent.com/assets/7883702/11697207/6bffc836-9eb0-11e5-8384-ccc067786bba.png)\r\n![20](https://cloud.githubusercontent.com/assets/7883702/11697211/70b3ae24-9eb0-11e5-8619-34f3e70e7b3d.png)\r\n![21](https://cloud.githubusercontent.com/assets/7883702/11697215/73c89ba6-9eb0-11e5-821e-344dfd768d91.png)\r\n![22](https://cloud.githubusercontent.com/assets/7883702/11697218/76490456-9eb0-11e5-9dc6-688e2806b119.png)\r\n![23](https://cloud.githubusercontent.com/assets/7883702/11697221/78b24680-9eb0-11e5-948f-b7cf60f8774f.png)\r\n![24](https://cloud.githubusercontent.com/assets/7883702/11697222/7b1a067e-9eb0-11e5-8c78-6cb07caf5311.png)\r\n![25](https://cloud.githubusercontent.com/assets/7883702/11697225/7d380028-9eb0-11e5-81c4-9ae4198f318b.png)\r\n![26](https://cloud.githubusercontent.com/assets/7883702/11697229/7f60b764-9eb0-11e5-97a0-f58705b1a738.png)\r\n![27](https://cloud.githubusercontent.com/assets/7883702/11697231/816f4ce6-9eb0-11e5-8a6d-526fd5288470.png)\r\n![28](https://cloud.githubusercontent.com/assets/7883702/11697233/836a7714-9eb0-11e5-94ec-fc902c03ac68.png)\r\n![29](https://cloud.githubusercontent.com/assets/7883702/11697234/856dfa5e-9eb0-11e5-80b8-a0abbda8f855.png)\r\n![30](https://cloud.githubusercontent.com/assets/7883702/11697237/885fe100-9eb0-11e5-953e-ebb9db632095.png)\r\n![31](https://cloud.githubusercontent.com/assets/7883702/11697240/8a64051c-9eb0-11e5-9a5b-95c46c7d7afb.png)\r\n![32](https://cloud.githubusercontent.com/assets/7883702/11697244/8c452d02-9eb0-11e5-8d95-366778c5b057.png)\r\n![33](https://cloud.githubusercontent.com/assets/7883702/11697246/8e320c48-9eb0-11e5-8c78-05e971f788e0.png)\r\n"}}