{"action":"closed","issue":{"url":"https://api.github.com/repos/tmpfs/rlx/issues/13","repository_url":"https://api.github.com/repos/tmpfs/rlx","labels_url":"https://api.github.com/repos/tmpfs/rlx/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/tmpfs/rlx/issues/13/comments","events_url":"https://api.github.com/repos/tmpfs/rlx/issues/13/events","html_url":"https://github.com/tmpfs/rlx/issues/13","id":223631878,"node_id":"MDU6SXNzdWUyMjM2MzE4Nzg=","number":13,"title":"Creating multiple docs and how to attach a JSON file?","user":{"login":"LarsVoith","id":13261090,"node_id":"MDQ6VXNlcjEzMjYxMDkw","avatar_url":"https://avatars3.githubusercontent.com/u/13261090?v=4","gravatar_id":"","url":"https://api.github.com/users/LarsVoith","html_url":"https://github.com/LarsVoith","followers_url":"https://api.github.com/users/LarsVoith/followers","following_url":"https://api.github.com/users/LarsVoith/following{/other_user}","gists_url":"https://api.github.com/users/LarsVoith/gists{/gist_id}","starred_url":"https://api.github.com/users/LarsVoith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarsVoith/subscriptions","organizations_url":"https://api.github.com/users/LarsVoith/orgs","repos_url":"https://api.github.com/users/LarsVoith/repos","events_url":"https://api.github.com/users/LarsVoith/events{/privacy}","received_events_url":"https://api.github.com/users/LarsVoith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-23T12:13:34Z","updated_at":"2018-06-18T04:47:24Z","closed_at":"2018-06-18T04:47:24Z","author_association":"NONE","body":"Is it possible to create multiple docs with a JSON file using \"db bulk\"?\r\nIf so could you provide an example of the syntax?\r\n\r\nExample:\r\nPOST /source/_bulk_docs HTTP/1.1\r\nAccept: application/json\r\nContent-Length: 323\r\nContent-Type: application/json\r\nHost: localhost:5984\r\n{\r\n    \"docs\": [\r\n        {\r\n            \"_id\": \"FishStew\",\r\n            \"servings\": 4,\r\n            \"subtitle\": \"Delicious with freshly baked bread\",\r\n            \"title\": \"FishStew\"\r\n        },\r\n        {\r\n            \"_id\": \"LambStew\",\r\n            \"servings\": 6,\r\n            \"subtitle\": \"Serve with a whole meal scone topping\",\r\n            \"title\": \"LambStew\"\r\n        },\r\n        {\r\n            \"servings\": 8,\r\n            \"subtitle\": \"Hand-made dumplings make a great accompaniment\",\r\n            \"title\": \"BeefStew\"\r\n        }\r\n    ]\r\n}"}}
{"actor":{"display_login":"tmpfs"}}