Asana::getAttachment PHP Метод

getAttachment() публичный Метод

Returns single attachment information
public getAttachment ( string $attachmentId, array $opts = [] ) : string
$attachmentId string
$opts array Array of options to pass (@see https://asana.com/developers/documentation/getting-started/input-output-options)
Результат string JSON or null
    public function getAttachment($attachmentId, array $opts = array())
    {
        $options = http_build_query($opts);
        return $this->askAsana($this->attachmentsUrl . '/' . $attachmentId . '?' . $options);
    }