filestack/FilestackClient.php
public function getMetaData($url, $fields = [])
    {
        if (!$this->isUrl($url)) { // CommonMixin
            $url = $this->getCdnUrl($url);
        }

        // call CommonMixin function
        $result = $this->sendGetMetaData($url, $fields, $this->security);
        return $result;
    }
public function getMetaData($url, $fields = [])
    {
        if (!$this->isUrl($url)) { // CommonMixin
            $url = $this->getCdnUrl($url);
        }

        // call CommonMixin function
        $result = $this->sendGetMetaData($url, $fields, $this->security);
        return $result;
    }
public function getMetaData ( $ url , $ fields = [ ] ) { if ( ! $ this -> isUrl ( $ url ) ) { // CommonMixin $ url = $ this -> getCdnUrl ( $ url ) ; } // call CommonMixin function $ result = $ this -> sendGetMetaData ( $ url , $ fields , $ this -> security ) ; return $ result ; }
Get metadata of a file

@param string            $url        Filestack file url or handle
@param array             $fields     optional, specific fields to retrieve.
possible fields are:
mimetype, filename, size, width, height,
location, path, container, exif,
uploaded (timestamp), writable,
cloud, source_url

@throws FilestackException   if API call fails

@return array
Get metadata of a file