Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query builder for changes feed in Channels page #8

Open
jchris opened this issue Jan 31, 2014 · 0 comments
Open

query builder for changes feed in Channels page #8

jchris opened this issue Jan 31, 2014 · 0 comments

Comments

@jchris
Copy link
Contributor

jchris commented Jan 31, 2014

To aid developers who want to create async channel workers, we should offer code snippets in the Channels page for how to trigger replication of the current set of channels, and how to query a changes feed with the current set of channels.

It's not easy because it looks like this:

{
  source: "http://sync.example.com/mydb",
  target: "localdb",
  filter: "sync_gateway/bychannel",
  query_params: {
    channels: "comma,seperated,list,of,channel,names"
  }
}

Or like this:

curl http://localhost:4985/chat8/_changes?filter=sync_gateway/bychannel&channels=9hb2i58hjf488,profiles,da40ajgc14h4
@pasin pasin added admin-ui and removed admin-ui labels Jun 3, 2016
@djpongh djpongh added this to the 2.2.0 milestone Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants