Couchbase · Capability
Couchbase Sync Gateway Admin REST API — Database Management
Couchbase Sync Gateway Admin REST API — Database Management. 11 operations. Lead operation: Compact database. Self-contained Naftiko capability covering one Couchbase business surface.
What You Can Do
POST
Compactdatabase
— Compact database
/v1/{db}/compact
GET
Getdatabaseconfig
— Get database configuration
/v1/{db}/config
PUT
Updatedatabaseconfig
— Update database configuration
/v1/{db}/config
POST
Createdatabase
— Create a database
/v1/{db}/config
DELETE
Deletedatabase
— Delete a database
/v1/{db}/config
GET
Getsyncfunction
— Get sync function
/v1/{db}/config/sync
PUT
Updatesyncfunction
— Update sync function
/v1/{db}/config/sync
POST
Takedatabaseoffline
— Take database offline
/v1/{db}/offline
POST
Bringdatabaseonline
— Bring database online
/v1/{db}/online
POST
Purgedocuments
— Purge documents
/v1/{db}/purge
POST
Resyncdatabase
— Resync database
/v1/{db}/resync
MCP Tools
compact-database
Compact database
get-database-configuration
Get database configuration
read-only
idempotent
update-database-configuration
Update database configuration
idempotent
create-database
Create a database
delete-database
Delete a database
idempotent
get-sync-function
Get sync function
read-only
idempotent
update-sync-function
Update sync function
idempotent
take-database-offline
Take database offline
bring-database-online
Bring database online
purge-documents
Purge documents
resync-database
Resync database