public function getResource(string $project, string $resource, bool $details = false): ResponseInterface
    {
        $uri = $this->createUri("/api/2/project/$project/resource/$resource/");

        if ($details) {
            $uri = $uri->withQuery('details');
        }

        return $this->client->sendRequest($this->createRequest('GET', $uri));
    }