public function search($path, $query, $fileLimit = 1000, $includeDeleted = null, $locale = null, $sandbox = false)
        {
            // build url
            $url = '1/search/';
            $url .= ($sandbox) ? 'sandbox/' : 'dropbox/';
            $url .= trim((string) $path, '/');

            // build parameters
            $parameters['query'] = (string) $query;
            $parameters['file_limit'] = (int) $fileLimit;
            if($includeDeleted !== null) $parameters['include_deleted'] = ((bool) $includeDeleted) ? 'true' : 'false';
            if($locale !== null) $parameters['locale'] = (string) $locale;

            // make the call
            return (array) $this->doCall($url, $parameters);
        }