{"action":"created","issue":{"url":"https://api.github.com/repos/SoftInstigate/restheart/issues/164","repository_url":"https://api.github.com/repos/SoftInstigate/restheart","labels_url":"https://api.github.com/repos/SoftInstigate/restheart/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/SoftInstigate/restheart/issues/164/comments","events_url":"https://api.github.com/repos/SoftInstigate/restheart/issues/164/events","html_url":"https://github.com/SoftInstigate/restheart/issues/164","id":187343828,"number":164,"title":"BulkWrite issue..cant pass array of documents' properties.","user":{"login":"genxlogics","id":23261817,"avatar_url":"https://avatars.githubusercontent.com/u/23261817?v=3","gravatar_id":"","url":"https://api.github.com/users/genxlogics","html_url":"https://github.com/genxlogics","followers_url":"https://api.github.com/users/genxlogics/followers","following_url":"https://api.github.com/users/genxlogics/following{/other_user}","gists_url":"https://api.github.com/users/genxlogics/gists{/gist_id}","starred_url":"https://api.github.com/users/genxlogics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genxlogics/subscriptions","organizations_url":"https://api.github.com/users/genxlogics/orgs","repos_url":"https://api.github.com/users/genxlogics/repos","events_url":"https://api.github.com/users/genxlogics/events{/privacy}","received_events_url":"https://api.github.com/users/genxlogics/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-04T14:14:31Z","updated_at":"2016-11-07T06:38:29Z","closed_at":null,"body":"Hi All,\r\ni am trying to use PATCH to bulkwrite. so in the collection i got multiple documents to update,\r\ni know there identifiers and their one property that needs to be updated. issue is documents will have different value for that property to be updated.\r\n\r\nhow do i do that? i get either 207 response (Multi status) or Restheart reports the error saying \"json document is expected\". i cant pass the array.\r\n\r\n\r\n\r\nplease help !!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SoftInstigate/restheart/issues/comments/258758048","html_url":"https://github.com/SoftInstigate/restheart/issues/164#issuecomment-258758048","issue_url":"https://api.github.com/repos/SoftInstigate/restheart/issues/164","id":258758048,"user":{"login":"genxlogics","id":23261817,"avatar_url":"https://avatars.githubusercontent.com/u/23261817?v=3","gravatar_id":"","url":"https://api.github.com/users/genxlogics","html_url":"https://github.com/genxlogics","followers_url":"https://api.github.com/users/genxlogics/followers","following_url":"https://api.github.com/users/genxlogics/following{/other_user}","gists_url":"https://api.github.com/users/genxlogics/gists{/gist_id}","starred_url":"https://api.github.com/users/genxlogics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genxlogics/subscriptions","organizations_url":"https://api.github.com/users/genxlogics/orgs","repos_url":"https://api.github.com/users/genxlogics/repos","events_url":"https://api.github.com/users/genxlogics/events{/privacy}","received_events_url":"https://api.github.com/users/genxlogics/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T06:38:29Z","updated_at":"2016-11-07T06:38:29Z","body":"hi @ujibang ,\r\nit doesnt work for me,\r\nwhen i POST the array as below, it creates two new documents for me.\r\n\r\n[\r\n\t{\r\n\t\"emp-id\":\"1\",\r\n\t\"$set\":{\r\n\t\t\"emp-name\":\"EMP1\"\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\t\"emp-id\":\"2\",\r\n\t\t\"$set\":{\r\n\t\t\t\"emp-name\":\"EMP2\"\r\n\t\t}\r\n\t}\r\n\t\r\n]"}}
{"actor":{"display_login":"genxlogics"}}