Sync Gateway Admin REST API: Go Python
Couchbase Lite REST API: Java C# Swift Python
A configuration file determines the runtime behavior of Sync Gateway, including server configuration and the database or set of databases with which a Sync Gateway instance can interact.
Using a configuration file is the recommended approach for configuring Sync Gateway, because you can provide values for all configuration properties and you can define configurations for multiple Couchbase Server databases.
When specifying a configuration file, the format to run Sync Gateway is:
$ sync_gateway sync-gateway-config.json