A newer version of this documentation is available.

View Latest
March 23, 2025
+ 12

Description of the Sync Gateway Rest API'

Related REST API topics: Admin REST API | Metrics REST API | Use the REST API?

Using the API Explorer

The API explorer below groups all the endpoints by functionality. You can click on a label to expand the list of endpoints.

You can also send a request to each endpoint against an instance of Sync Gateway. To use this optional feature, enable CORS by adding the following entry to the configuration file.

javascript
{ ... "CORS": { "Origin":["*"], "LoginOrigin":["*"], "Headers":["Content-Type"], "MaxAge": 1728000 }, ... }

API Explorer

Swagger UIswagger

Sync Gateway
 2.0 

[ Base URL: localhost:4984/ ]
_attachments/sync-gateway-public.yaml

This yaml API spec documents the Sync Gateway Public REST API.

The swagger spec isn’t officially supported or actively maintained. It is offered as a convenient starting point for developers.

Models

Error