{"action":"created","issue":{"url":"https://api.github.com/repos/changelly/api-changelly/issues/14","repository_url":"https://api.github.com/repos/changelly/api-changelly","labels_url":"https://api.github.com/repos/changelly/api-changelly/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/changelly/api-changelly/issues/14/comments","events_url":"https://api.github.com/repos/changelly/api-changelly/issues/14/events","html_url":"https://github.com/changelly/api-changelly/issues/14","id":369988532,"node_id":"MDU6SXNzdWUzNjk5ODg1MzI=","number":14,"title":"message for socket.io","user":{"login":"lihao6485","id":3205345,"node_id":"MDQ6VXNlcjMyMDUzNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/3205345?v=4","gravatar_id":"","url":"https://api.github.com/users/lihao6485","html_url":"https://github.com/lihao6485","followers_url":"https://api.github.com/users/lihao6485/followers","following_url":"https://api.github.com/users/lihao6485/following{/other_user}","gists_url":"https://api.github.com/users/lihao6485/gists{/gist_id}","starred_url":"https://api.github.com/users/lihao6485/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihao6485/subscriptions","organizations_url":"https://api.github.com/users/lihao6485/orgs","repos_url":"https://api.github.com/users/lihao6485/repos","events_url":"https://api.github.com/users/lihao6485/events{/privacy}","received_events_url":"https://api.github.com/users/lihao6485/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-15T03:48:33Z","updated_at":"2018-10-16T12:50:34Z","closed_at":null,"author_association":"NONE","body":"Hi, I would like to use socket.io to get latest exchange status on my client but I'm not sure what is the valid logon message. Currently I'm using the below message\r\n```\r\nsocket.emit(\"subscribe\", {\r\n   \"apiKey\": apiKey,\r\n   \"sign\": sign,\r\n   \"message\": {\r\n       \"Login\": {}\r\n   }\r\n});\r\n```\r\n\r\nI believe there should have some other required params. Do I need to include the params for getting exchange status and is there some required field in the login object? Please advice, Thanks."},"comment":{"url":"https://api.github.com/repos/changelly/api-changelly/issues/comments/430224687","html_url":"https://github.com/changelly/api-changelly/issues/14#issuecomment-430224687","issue_url":"https://api.github.com/repos/changelly/api-changelly/issues/14","id":430224687,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDIyNDY4Nw==","user":{"login":"changelly","id":19995126,"node_id":"MDQ6VXNlcjE5OTk1MTI2","avatar_url":"https://avatars0.githubusercontent.com/u/19995126?v=4","gravatar_id":"","url":"https://api.github.com/users/changelly","html_url":"https://github.com/changelly","followers_url":"https://api.github.com/users/changelly/followers","following_url":"https://api.github.com/users/changelly/following{/other_user}","gists_url":"https://api.github.com/users/changelly/gists{/gist_id}","starred_url":"https://api.github.com/users/changelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changelly/subscriptions","organizations_url":"https://api.github.com/users/changelly/orgs","repos_url":"https://api.github.com/users/changelly/repos","events_url":"https://api.github.com/users/changelly/events{/privacy}","received_events_url":"https://api.github.com/users/changelly/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T12:50:34Z","updated_at":"2018-10-16T12:50:34Z","author_association":"OWNER","body":"Yes, you will be subscribed to all status change events by all transactions related to api keys, as you mentioned. It's not possible to subscribe by transactionId using the socket.io interface. There is json-rpc function `getStatus` which can be used to track status of individual transaction. "}}
{"actor":{"display_login":"changelly"}}