Can we use SG Rest admin api to popullate data other than user?


I am new to couchbase.I want to know if i can use sg admin api to popullate data other than users data.the data i am talking about here is from enterprise data provider through rest api.This data will be added as a documents in different channels.

Another thing i want to know is if i directly put my documents in couchbase server then will SG sync those documents to respective channels?

If both possible then what is the best to do?

Thank you.

Hi, you can use the Sync Gateway REST API to import data. But you have to go through the Sync Gateway, because the sync function that does all the cool work is on the Sync Gateway.
It won’t work if you go straight to Couchbase Server.