To get database name:

Method : GET

URI : /db

Example

curl -X GET http://192.168.1.105:18080/db

Response

{
   "dbname":"mydb"
}