public function getMetadata($domainUri)
    {
        $url = $this->service_url . '/domains'. $domainUri . '/metadata';
        $response = $this->service->prepAndSend($url, array(200), 'GET', null, true);

        return MetaData::createFromJSON(json_decode($response));
    }