getDatabaseUsage
CODE
#!/bin/bash
#
# This script is an "out of the box" script that goes through
# Login and GET /database-usage with the authentication
# token from Login
#
source apiHostInfo
eval $(cat loginCredentials)
source helpers
login
echo "* GET /database-usage from $EXPORT_ENGINE"
EXPORT_RESPONSE=$(curl $SSL_CERT -X GET -H ''"$AUTH_HEADER"'' -H 'Accept: application/json' $MASKING_ENGINE/database-usage) || die "curl failed with exit code $?"
echo $EXPORT_RESPONSE