{"action":"opened","issue":{"url":"https://api.github.com/repos/ssbc/scuttlebot/issues/356","repository_url":"https://api.github.com/repos/ssbc/scuttlebot","labels_url":"https://api.github.com/repos/ssbc/scuttlebot/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/ssbc/scuttlebot/issues/356/comments","events_url":"https://api.github.com/repos/ssbc/scuttlebot/issues/356/events","html_url":"https://github.com/ssbc/scuttlebot/issues/356","id":172383396,"number":356,"title":"Inconsistency in links api doc","user":{"login":"uiureo","id":116057,"avatar_url":"https://avatars.githubusercontent.com/u/116057?v=3","gravatar_id":"","url":"https://api.github.com/users/uiureo","html_url":"https://github.com/uiureo","followers_url":"https://api.github.com/users/uiureo/followers","following_url":"https://api.github.com/users/uiureo/following{/other_user}","gists_url":"https://api.github.com/users/uiureo/gists{/gist_id}","starred_url":"https://api.github.com/users/uiureo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiureo/subscriptions","organizations_url":"https://api.github.com/users/uiureo/orgs","repos_url":"https://api.github.com/users/uiureo/repos","events_url":"https://api.github.com/users/uiureo/events{/privacy}","received_events_url":"https://api.github.com/users/uiureo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-22T07:12:43Z","updated_at":"2016-08-22T07:12:43Z","closed_at":null,"body":"The doc of `links` api says `values (default: true)`, but the current behavior is `default: false`.\r\n\r\n```\r\nvalues (boolean, default: true): whether the data event should contain values. If set to true and keys set to false then data events will simply be values, rather than objects with a value property.\r\n```\r\n\r\nhttps://github.com/ssbc/scuttlebot/blob/e76ad26a3bc3baefb01277038df3744e64642cd3/api.md#links-source\r\n\r\nAlso, the api doc of  `secure-scuttlebutt` says `opts.values` is `default: false`.\r\n\r\nhttps://github.com/ssbc/secure-scuttlebutt/blob/36140e6a6fde03200a46bbd30289135048ed8f71/README.md#securescuttlebuttlinks-source-feedid-dest-feedidmsgidblobid-rel-string-meta-true-keys-true-values-false-livefalse-reverse-false---pullsource\r\n\r\nI could just create a pull request on this, but I'm not sure if you have some automated ways to update docs. So I just report it for now."}}
{"actor":{"display_login":"uiureo"}}