Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions modules/ROOT/assets/attachments/sync-gateway-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,23 @@ paths:
items:
type: object
$ref: '#/definitions/ActiveTaskResponseBody'

/_all_dbs:
get:
tags:
- server
summary: Lists node's databases
description: |+
Return a list all databases running on the node
responses:
200:
description: |+
OK -- Operation successful

The response body contains a string array containing the names of all databases running on this sync gateway node
schema:
$ref: '#/definitions/all_dbs'

/{db}/_bulk_docs:
parameters:
- $ref: '#/parameters/db'
Expand Down Expand Up @@ -1795,6 +1812,16 @@ definitions:
status:
type: string
description: The current status of sgcollect_info
all_dbs:
type: object
properties:
db-names:
type: array
description: |+
A string array containing the names of all databases running on this sync gateway node

For example ```["db1","db2"]```

ExpVars:
type: object
properties:
Expand Down