/cfg/dbi

    API URL/cfg/dbi
    DescriptionGet CMS site and DB active connector info RESTFul API
    AccessRestricted to roles: only builtin administrator can get info
    Rquest methodGET
    Request data typen/a
    Request datan/a
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'return message', // error message data: { site: { code: 'site code', // ex. 'cms_demo' name: 'site name', // ex. 'KUSoftas CMS' url: 'site_URL' // ex. 'www.kusoftas.com' }, db: { id: 'connector id', // ex. 'sqlite' type: 'connector type', // ex. 'sqlite', 'mysql' srv: 'connector server address', // ex. '/cms/data/cms.sqlite' uid: 'connector server user id', // ex. 'dbuser' (applicable when MySQL server) psw: 'connector server user password', // ex. 'dbpassword' (applicable when MySQL server) sch: 'connector serevr schema' // ex. 'cms_demo' (applicable when MySQL server) } } }