couchbaselabs / couchbaselabs/sync_gateway_admin_ui

query builder for changes feed in Channels page

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
admin-ui FEATURE: Sync config building icebox
Dominant language
JavaScript
Stars
15
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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:

``` javascript
{
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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.