View documents from a specific channel on sync gateway

Each of my users have their own channel and I’d like to view the documents on one channel. I tried to create a view via the sync gateway rest api and the design document seems to save correctly but when I try to access the view defined I get a 404 -

What’s the easiest way to view data that is in the sync gateway. It’s been quite tricky to debug stuff with customers with not being able to see what should have been synced.

Hello @kanundrum,

You may execute a curl request on the sync gateway endpoint to view the document(s) and content as well.

Any progress and resolutions on your ends?

Yeah… the rest api is the way to go. I messed up my data trying to access it through couchbase (fortunately it’s very fault tolerant in that i blew the data away and it all sync’d back).