I created a document with channels[ “vitalsigns” ] and Sync,
Now, when pullReplication.setChannels(Arrays.asList("vitalsigns"));, there is no document downloaded tagged as “vitalsigns”. How?
There are a couple of ways to give a user access to a channel. You can do it explicitly via the admin API, or by calling access(“username”,“vitalsigns”) from your sync function.
The documentation for the access function is here and there is an example included there. Basically, grant the user access to the channel in the same place you add the document to the channel. Does this help clear things up?