{"action":"created","issue":{"url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/972","repository_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk","labels_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/972/comments","events_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/972/events","html_url":"https://github.com/watson-developer-cloud/java-sdk/issues/972","id":345826670,"node_id":"MDU6SXNzdWUzNDU4MjY2NzA=","number":972,"title":"Error in the Documentation ","user":{"login":"foward","id":249026,"node_id":"MDQ6VXNlcjI0OTAyNg==","avatar_url":"https://avatars2.githubusercontent.com/u/249026?v=4","gravatar_id":"","url":"https://api.github.com/users/foward","html_url":"https://github.com/foward","followers_url":"https://api.github.com/users/foward/followers","following_url":"https://api.github.com/users/foward/following{/other_user}","gists_url":"https://api.github.com/users/foward/gists{/gist_id}","starred_url":"https://api.github.com/users/foward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foward/subscriptions","organizations_url":"https://api.github.com/users/foward/orgs","repos_url":"https://api.github.com/users/foward/repos","events_url":"https://api.github.com/users/foward/events{/privacy}","received_events_url":"https://api.github.com/users/foward/received_events","type":"User","site_admin":false},"labels":[{"id":805379848,"node_id":"MDU6TGFiZWw4MDUzNzk4NDg=","url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/labels/support","name":"support","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T16:09:18Z","updated_at":"2018-07-31T19:01:43Z","closed_at":null,"author_association":"NONE","body":"https://github.com/watson-developer-cloud/java-sdk#default-headers\r\n\r\n```java\r\nPersonalityInsights service = new PersonalityInsights(\"2016-10-19\");\r\n\r\nMap<String, String> headers = new HashMap<String, String>();\r\nheaders.put(HttpHeaders.X_WATSON_LEARNING_OPT_OUT, 1);\r\n\r\nservice.setDefaultHeaders(headers);\r\n\r\n// All the api calls from now on will send the default headers\r\n```\r\n\r\nThe headers is a Map of String and String and you are giving an Integer ... so is that a \"1\" or a \"true\" ?\r\n\r\nplease correct,\r\n\r\nThanks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/comments/409332040","html_url":"https://github.com/watson-developer-cloud/java-sdk/issues/972#issuecomment-409332040","issue_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/972","id":409332040,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTMzMjA0MA==","user":{"login":"lpatino10","id":8710772,"node_id":"MDQ6VXNlcjg3MTA3NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/8710772?v=4","gravatar_id":"","url":"https://api.github.com/users/lpatino10","html_url":"https://github.com/lpatino10","followers_url":"https://api.github.com/users/lpatino10/followers","following_url":"https://api.github.com/users/lpatino10/following{/other_user}","gists_url":"https://api.github.com/users/lpatino10/gists{/gist_id}","starred_url":"https://api.github.com/users/lpatino10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpatino10/subscriptions","organizations_url":"https://api.github.com/users/lpatino10/orgs","repos_url":"https://api.github.com/users/lpatino10/repos","events_url":"https://api.github.com/users/lpatino10/events{/privacy}","received_events_url":"https://api.github.com/users/lpatino10/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T19:01:43Z","updated_at":"2018-07-31T19:01:43Z","author_association":"MEMBER","body":"Good catch! It should be \"true\" for clarity. I'll be sure to make the change in the release this week."}}
{"actor":{"display_login":"lpatino10"}}