public function shares($path, $shortUrl = true, $locale = null, $sandbox = false)
{
// build url
$url = '1/shares/';
$url .= $sandbox ? 'sandbox/' : 'dropbox/';
$url .= trim((string) $path, '/');
// build parameters
$parameters['short_url'] = (bool) $shortUrl ? 'true' : 'false';
if ($locale !== null) {
$parameters['locale'] = (string) $locale;
}
// make the call
return (array) $this->doCall($url, $parameters, 'POST');
}