{"action":"closed","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1823","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1823/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1823/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1823/events","html_url":"https://github.com/strongloop/loopback/issues/1823","id":117654258,"number":1823,"title":"Can you create a ChangeStream for a single item?","user":{"login":"jbcpollak","id":188558,"avatar_url":"https://avatars.githubusercontent.com/u/188558?v=3","gravatar_id":"","url":"https://api.github.com/users/jbcpollak","html_url":"https://github.com/jbcpollak","followers_url":"https://api.github.com/users/jbcpollak/followers","following_url":"https://api.github.com/users/jbcpollak/following{/other_user}","gists_url":"https://api.github.com/users/jbcpollak/gists{/gist_id}","starred_url":"https://api.github.com/users/jbcpollak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbcpollak/subscriptions","organizations_url":"https://api.github.com/users/jbcpollak/orgs","repos_url":"https://api.github.com/users/jbcpollak/repos","events_url":"https://api.github.com/users/jbcpollak/events{/privacy}","received_events_url":"https://api.github.com/users/jbcpollak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/question","name":"question","color":"eeeeee"}],"state":"closed","locked":false,"assignee":{"login":"gunjpan","id":14811089,"avatar_url":"https://avatars.githubusercontent.com/u/14811089?v=3","gravatar_id":"","url":"https://api.github.com/users/gunjpan","html_url":"https://github.com/gunjpan","followers_url":"https://api.github.com/users/gunjpan/followers","following_url":"https://api.github.com/users/gunjpan/following{/other_user}","gists_url":"https://api.github.com/users/gunjpan/gists{/gist_id}","starred_url":"https://api.github.com/users/gunjpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunjpan/subscriptions","organizations_url":"https://api.github.com/users/gunjpan/orgs","repos_url":"https://api.github.com/users/gunjpan/repos","events_url":"https://api.github.com/users/gunjpan/events{/privacy}","received_events_url":"https://api.github.com/users/gunjpan/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-18T18:50:41Z","updated_at":"2016-02-10T22:33:26Z","closed_at":"2016-02-10T22:33:26Z","body":"The [documentation](https://docs.strongloop.com/display/public/LB/Realtime+server-sent+events) says you can watch a model for changes from the client like this:\r\n\r\n```\r\nvar urlToChangeStream = '/api/MyModels/change-stream?_format=event-stream';\r\nvar src = new EventSource(urlToChangeStream);\r\nsrc.addEventListener('data', function(msg) {\r\n  var data = JSON.parse(msg.data);\r\n  console.log(data); // the change object\r\n});\r\n```\r\n\r\nBut what if you want to watch just a single item for updates? Is the following possible?\r\n\r\n```\r\nvar urlToChangeStream = '/api/MyModels/1/change-stream?_format=event-stream';\r\n```\r\n\r\nIf this isn't automatic, is there a best-practices way to implement this with loopback?"}}