{"action":"created","issue":{"url":"https://api.github.com/repos/IBM-Bluemix/docs/issues/285","repository_url":"https://api.github.com/repos/IBM-Bluemix/docs","labels_url":"https://api.github.com/repos/IBM-Bluemix/docs/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/IBM-Bluemix/docs/issues/285/comments","events_url":"https://api.github.com/repos/IBM-Bluemix/docs/issues/285/events","html_url":"https://github.com/IBM-Bluemix/docs/issues/285","id":159146036,"number":285,"title":"IoT: Node.js: Be more specific about function arguments","user":{"login":"asmod3us","id":450168,"avatar_url":"https://avatars.githubusercontent.com/u/450168?v=3","gravatar_id":"","url":"https://api.github.com/users/asmod3us","html_url":"https://github.com/asmod3us","followers_url":"https://api.github.com/users/asmod3us/followers","following_url":"https://api.github.com/users/asmod3us/following{/other_user}","gists_url":"https://api.github.com/users/asmod3us/gists{/gist_id}","starred_url":"https://api.github.com/users/asmod3us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmod3us/subscriptions","organizations_url":"https://api.github.com/users/asmod3us/orgs","repos_url":"https://api.github.com/users/asmod3us/repos","events_url":"https://api.github.com/users/asmod3us/events{/privacy}","received_events_url":"https://api.github.com/users/asmod3us/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IBM-Bluemix/docs/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/IBM-Bluemix/docs/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"CaroMac","id":13537298,"avatar_url":"https://avatars.githubusercontent.com/u/13537298?v=3","gravatar_id":"","url":"https://api.github.com/users/CaroMac","html_url":"https://github.com/CaroMac","followers_url":"https://api.github.com/users/CaroMac/followers","following_url":"https://api.github.com/users/CaroMac/following{/other_user}","gists_url":"https://api.github.com/users/CaroMac/gists{/gist_id}","starred_url":"https://api.github.com/users/CaroMac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaroMac/subscriptions","organizations_url":"https://api.github.com/users/CaroMac/orgs","repos_url":"https://api.github.com/users/CaroMac/repos","events_url":"https://api.github.com/users/CaroMac/events{/privacy}","received_events_url":"https://api.github.com/users/CaroMac/received_events","type":"User","site_admin":false},"assignees":[{"login":"CaroMac","id":13537298,"avatar_url":"https://avatars.githubusercontent.com/u/13537298?v=3","gravatar_id":"","url":"https://api.github.com/users/CaroMac","html_url":"https://github.com/CaroMac","followers_url":"https://api.github.com/users/CaroMac/followers","following_url":"https://api.github.com/users/CaroMac/following{/other_user}","gists_url":"https://api.github.com/users/CaroMac/gists{/gist_id}","starred_url":"https://api.github.com/users/CaroMac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaroMac/subscriptions","organizations_url":"https://api.github.com/users/CaroMac/orgs","repos_url":"https://api.github.com/users/CaroMac/repos","events_url":"https://api.github.com/users/CaroMac/events{/privacy}","received_events_url":"https://api.github.com/users/CaroMac/received_events","type":"User","site_admin":false},{"login":"michellepurcell","id":19187948,"avatar_url":"https://avatars.githubusercontent.com/u/19187948?v=3","gravatar_id":"","url":"https://api.github.com/users/michellepurcell","html_url":"https://github.com/michellepurcell","followers_url":"https://api.github.com/users/michellepurcell/followers","following_url":"https://api.github.com/users/michellepurcell/following{/other_user}","gists_url":"https://api.github.com/users/michellepurcell/gists{/gist_id}","starred_url":"https://api.github.com/users/michellepurcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michellepurcell/subscriptions","organizations_url":"https://api.github.com/users/michellepurcell/orgs","repos_url":"https://api.github.com/users/michellepurcell/repos","events_url":"https://api.github.com/users/michellepurcell/events{/privacy}","received_events_url":"https://api.github.com/users/michellepurcell/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-06-08T11:58:27Z","updated_at":"2016-09-19T11:52:42Z","closed_at":null,"body":"In the [Node.js doc for applications](https://github.com/IBM-Bluemix/docs/blob/master/services/IoT/applications/libraries/nodejs.md), and in a lot of other places, can we be more specific about the nature of the function arguments? I.e., what are\r\n\r\n- deviceType\r\n- deviceId\r\n- eventType\r\n- format\r\n- payload - Device event payload\r\n- topic - Original topic\r\n\r\nAs a developer, I'd be interested to learn from the documentation about \r\n- restrictions on type of the argument (string, number, json, object, ...)\r\n- expected format (regex, structure, ...)\r\n- what's the maximum/minimum length/value, if any\r\netc."},"comment":{"url":"https://api.github.com/repos/IBM-Bluemix/docs/issues/comments/247973086","html_url":"https://github.com/IBM-Bluemix/docs/issues/285#issuecomment-247973086","issue_url":"https://api.github.com/repos/IBM-Bluemix/docs/issues/285","id":247973086,"user":{"login":"michellepurcell","id":19187948,"avatar_url":"https://avatars.githubusercontent.com/u/19187948?v=3","gravatar_id":"","url":"https://api.github.com/users/michellepurcell","html_url":"https://github.com/michellepurcell","followers_url":"https://api.github.com/users/michellepurcell/followers","following_url":"https://api.github.com/users/michellepurcell/following{/other_user}","gists_url":"https://api.github.com/users/michellepurcell/gists{/gist_id}","starred_url":"https://api.github.com/users/michellepurcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michellepurcell/subscriptions","organizations_url":"https://api.github.com/users/michellepurcell/orgs","repos_url":"https://api.github.com/users/michellepurcell/repos","events_url":"https://api.github.com/users/michellepurcell/events{/privacy}","received_events_url":"https://api.github.com/users/michellepurcell/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T11:52:42Z","updated_at":"2016-09-19T11:52:42Z","body":"@CaroMac \r\nHello Caroline,\r\nI think you completed the required updates as per your update in the ID docs equivalent issue: https://github.ibm.com/Watson-IoT/Docs/issues/177\r\nCan you confirm whether this issue can now be closed?\r\nThanks\r\nMichelle"}}
{"actor":{"display_login":"michellepurcell"}}