File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
modules/ROOT/assets/attachments Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,23 @@ paths:
8888 items :
8989 type : object
9090 $ref : ' #/definitions/ActiveTaskResponseBody'
91+
92+ /_all_dbs :
93+ get :
94+ tags :
95+ - server
96+ summary : Lists node's databases
97+ description : |+
98+ Return a list all databases running on the node
99+ responses :
100+ 200 :
101+ description : |+
102+ OK -- Operation successful
103+
104+ The response body contains a string array containing the names of all databases running on this sync gateway node
105+ schema :
106+ $ref : ' #/definitions/all_dbs'
107+
91108 /{db}/_bulk_docs :
92109 parameters :
93110 - $ref : ' #/parameters/db'
@@ -1795,6 +1812,16 @@ definitions:
17951812 status :
17961813 type : string
17971814 description : The current status of sgcollect_info
1815+ all_dbs :
1816+ type : object
1817+ properties :
1818+ db-names :
1819+ type : array
1820+ description : |+
1821+ A string array containing the names of all databases running on this sync gateway node
1822+
1823+ For example ```["db1","db2"]```
1824+
17981825 ExpVars :
17991826 type : object
18001827 properties :
You can’t perform that action at this time.
0 commit comments