public function archive(?string $id, string $path)
    {
        $url = self::$base_url.'/'.($id ?? $this->container_id).'/archive?'.http_build_query(['path' => $path]);

        return self::$curl->get($url);
    }
public function archive(?string $id, string $path)
    {
        $url = self::$base_url.'/'.($id ?? $this->container_id).'/archive?'.http_build_query(['path' => $path]);

        return self::$curl->get($url);
    }
public function archive ( ? string $ id , string $ path ) { $ url = self :: $ base_url . '/' . ( $ id ?? $ this -> container_id ) . '/archive?' . http_build_query ( [ 'path' => $ path ] ) ; return self :: $ curl -> get ( $ url ) ; }
Get an archive of a filesystem resource in a container.

@param string $id
@param string $path

@return mixed 200

@throws Exception
Get an archive of a filesystem resource in a container .