3.1 Remote API: 'sites_database_add' should fail if 'type' param is missing
Right now 'sites_database_add' returns 'ok' as it's code if 'type' param is missing. ISPConfig admin interface shows db type as 'mysql', provides a link to it's phpmyadmin and apparently tries to create db (a pending job is created).
However db does not get created on the server, thus there is discrepancy between what ISPConfig shows and actual state of the server.
In my opinion, 'sites_database_add' call should throw an error if 'type' argument is missing'.
On a side note, it would be nice if there was some way to get all mandatory options for an API call, it isn't obvious right now.