{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-mapper-attachments/issues/101","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch-mapper-attachments/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch-mapper-attachments/issues/101/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch-mapper-attachments/issues/101/events","html_url":"https://github.com/elasticsearch/elasticsearch-mapper-attachments/issues/101","id":58103935,"number":101,"title":"Confused by documentation","user":{"login":"dminkovsky","id":218725,"avatar_url":"https://avatars.githubusercontent.com/u/218725?v=3","gravatar_id":"","url":"https://api.github.com/users/dminkovsky","html_url":"https://github.com/dminkovsky","followers_url":"https://api.github.com/users/dminkovsky/followers","following_url":"https://api.github.com/users/dminkovsky/following{/other_user}","gists_url":"https://api.github.com/users/dminkovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dminkovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dminkovsky/subscriptions","organizations_url":"https://api.github.com/users/dminkovsky/orgs","repos_url":"https://api.github.com/users/dminkovsky/repos","events_url":"https://api.github.com/users/dminkovsky/events{/privacy}","received_events_url":"https://api.github.com/users/dminkovsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-mapper-attachments/labels/doc","name":"doc","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-18T18:01:06Z","updated_at":"2015-02-18T18:06:13Z","closed_at":null,"body":"In the [reference docs](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-attachment-type.html) you find:\r\n\r\n```\r\n{\r\n    \"my_attachment\" : {\r\n        \"_content_type\" : \"application/pdf\",\r\n        \"_name\" : \"resource/name/of/my.pdf\",\r\n        \"content\" : \"... base64 encoded attachment ...\"\r\n    }\r\n}\r\n```\r\n\r\nbut in [README.md](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/400910e53efa2245d4fbaaba0a113cfce4d791b9/README.md#using-mapper-attachments) you find:\r\n\r\n```\r\nPUT /test/person/1\r\n{\r\n    \"my_attachment\" : {\r\n        \"_content_type\" : \"application/pdf\",\r\n        \"_name\" : \"resource/name/of/my.pdf\",\r\n        \"_language\" : \"en\",\r\n        \"_content\" : \"... base64 encoded attachment ...\"\r\n    }\r\n}\r\n```\r\n\r\nWhen using this form of submission, should the base64 encoded content be put on `content` or `_content`? \r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-mapper-attachments/issues/comments/74914683","html_url":"https://github.com/elasticsearch/elasticsearch-mapper-attachments/issues/101#issuecomment-74914683","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch-mapper-attachments/issues/101","id":74914683,"user":{"login":"dminkovsky","id":218725,"avatar_url":"https://avatars.githubusercontent.com/u/218725?v=3","gravatar_id":"","url":"https://api.github.com/users/dminkovsky","html_url":"https://github.com/dminkovsky","followers_url":"https://api.github.com/users/dminkovsky/followers","following_url":"https://api.github.com/users/dminkovsky/following{/other_user}","gists_url":"https://api.github.com/users/dminkovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dminkovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dminkovsky/subscriptions","organizations_url":"https://api.github.com/users/dminkovsky/orgs","repos_url":"https://api.github.com/users/dminkovsky/repos","events_url":"https://api.github.com/users/dminkovsky/events{/privacy}","received_events_url":"https://api.github.com/users/dminkovsky/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T18:06:13Z","updated_at":"2015-02-18T18:06:13Z","body":"Thank you!"}}