Hi, I want to access sync gateway data on Public REST API on web. for this i want to create different API calls. i read all the documents and i found two solutions.
If you have a few views and very infrequent queries Design Documents are a good options
If you need scale and throughput N1QL is the best option.