{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/825","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/825/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/825/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/825/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/825","id":97476847,"number":825,"title":"Phonegap Todo-lite channel creation issue","user":{"login":"JPDas","id":13522414,"avatar_url":"https://avatars.githubusercontent.com/u/13522414?v=3","gravatar_id":"","url":"https://api.github.com/users/JPDas","html_url":"https://github.com/JPDas","followers_url":"https://api.github.com/users/JPDas/followers","following_url":"https://api.github.com/users/JPDas/following{/other_user}","gists_url":"https://api.github.com/users/JPDas/gists{/gist_id}","starred_url":"https://api.github.com/users/JPDas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPDas/subscriptions","organizations_url":"https://api.github.com/users/JPDas/orgs","repos_url":"https://api.github.com/users/JPDas/repos","events_url":"https://api.github.com/users/JPDas/events{/privacy}","received_events_url":"https://api.github.com/users/JPDas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/docs","name":"docs","color":"fad8c7"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"JeffThomasWriter","id":12157466,"avatar_url":"https://avatars.githubusercontent.com/u/12157466?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffThomasWriter","html_url":"https://github.com/JeffThomasWriter","followers_url":"https://api.github.com/users/JeffThomasWriter/followers","following_url":"https://api.github.com/users/JeffThomasWriter/following{/other_user}","gists_url":"https://api.github.com/users/JeffThomasWriter/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffThomasWriter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffThomasWriter/subscriptions","organizations_url":"https://api.github.com/users/JeffThomasWriter/orgs","repos_url":"https://api.github.com/users/JeffThomasWriter/repos","events_url":"https://api.github.com/users/JeffThomasWriter/events{/privacy}","received_events_url":"https://api.github.com/users/JeffThomasWriter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/milestones/13","html_url":"https://github.com/couchbase/couchbase-lite-ios/milestones/1.2","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/milestones/13/labels","id":873603,"number":13,"title":"1.2","description":"Feature release, incorporating ForestDB storage engine","creator":{"login":"snej","id":43241,"avatar_url":"https://avatars.githubusercontent.com/u/43241?v=3","gravatar_id":"","url":"https://api.github.com/users/snej","html_url":"https://github.com/snej","followers_url":"https://api.github.com/users/snej/followers","following_url":"https://api.github.com/users/snej/following{/other_user}","gists_url":"https://api.github.com/users/snej/gists{/gist_id}","starred_url":"https://api.github.com/users/snej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snej/subscriptions","organizations_url":"https://api.github.com/users/snej/orgs","repos_url":"https://api.github.com/users/snej/repos","events_url":"https://api.github.com/users/snej/events{/privacy}","received_events_url":"https://api.github.com/users/snej/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":30,"state":"open","created_at":"2014-11-20T01:04:30Z","updated_at":"2015-07-27T23:45:53Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-27T14:29:46Z","updated_at":"2015-07-28T09:16:20Z","closed_at":null,"body":"We are not able to mimic the native API functionality of “sync/replicate with channel filter” using CBL REST API….Is there anything specific we have to do ???\r\nWe are using the coax module from phonegap “Todo-lite” app….\r\n \r\nThe problem as far as I can tell, is the “replicate” CBL REST endpoint is not taking the “channels” parameter……\r\n"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/comments/125515909","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/825#issuecomment-125515909","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/825","id":125515909,"user":{"login":"JPDas","id":13522414,"avatar_url":"https://avatars.githubusercontent.com/u/13522414?v=3","gravatar_id":"","url":"https://api.github.com/users/JPDas","html_url":"https://github.com/JPDas","followers_url":"https://api.github.com/users/JPDas/followers","following_url":"https://api.github.com/users/JPDas/following{/other_user}","gists_url":"https://api.github.com/users/JPDas/gists{/gist_id}","starred_url":"https://api.github.com/users/JPDas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPDas/subscriptions","organizations_url":"https://api.github.com/users/JPDas/orgs","repos_url":"https://api.github.com/users/JPDas/repos","events_url":"https://api.github.com/users/JPDas/events{/privacy}","received_events_url":"https://api.github.com/users/JPDas/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T09:16:20Z","updated_at":"2015-07-28T09:16:20Z","body":"Thanks Snej, \r\nIssue got resolved after adding the below params.\r\n\r\npull = {\r\n\t        \ttarget : self.dbName,\r\n\t        \tsource : remote,\r\n\t        \tcontinuous : true,\r\n\t        \tfilter: \"sync_gateway/bychannel\",\r\n    \t\t\tquery_params: {\"channels\": \"11111\"}\r\n\t    \t};\r\n"}}