APIv3 Rest URL ... Could not load the settings file
Ok, so this is a temporary fix. Would be interested to know a final solution:
In the path /bitnami/drupal/modules/contrib/civicrm/../..//default/civicrm.settings.php
the '//' is interpreted as '/' so the file being looked for is:
/bitnami/drupal/modules/default/civicrm.settings.ph
Well, there is no default directory in /bitnami/drupal/modules so I created it and inside I put a symlink to the correct location of civicrm.settings.php
cd /bitnami/drupal/modules/default
ln -s /bitnami/drupal/sites/default/civicrm.settings.php civicrm.settings.php
With that the example REST query works fine.