[SERVER-1909] expose ability to list db's via REST Created: 07/Oct/10 Updated: 12/Jul/16 Resolved: 08/Oct/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.2 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kenny Gorman | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
For various monitoring mechanisms it's nice to get a list of DB's via REST like: http://localhost:28017/listDatabases?text=1 |
| Comments |
| Comment by auto [ 08/Oct/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: expose listDatabases to rest |
| Comment by Kenny Gorman [ 07/Oct/10 ] |
|
Thx Scott. Yeah, agreed, simplifying the API would be nice. |
| Comment by Scott Hernandez (Inactive) [ 07/Oct/10 ] |
|
http://localhost:28017/admin/$cmd/?filter_listDatabases=1&limit=1 But it would be nice to run any (admin db) command by just adding the command name to the end of the url like the ones listed on the default page. http://localhost:28017/isMaster?text=1 |