---
title: "Get an archive of a filesystem resource in a container"
method: GET
path: "/containers/{id}/archive"
tags: ["Copy"]
---

# Get an archive of a filesystem resource in a container

`GET /containers/{id}/archive`

Get a tar archive of a resource in the filesystem of container id.

## Path parameters

- `id` string, required

## Query parameters

- `path` string, required

## Response `200`

no error

## Other responses

- `400` — Bad parameter
- `404` — Container or path does not exist
- `500` — server error

## Changes

> 50 revisions in range; 14 could not be searched.

- **2019-05-30** `d1c50e92e20c` — 1 info
  - endpoint added
- **2018-08-03** `5ae9c809fadb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/aliyun/apis/pouch-engine-api/changes/containers/:id/archive/get.md)

---

[API](https://skmtc.dev/aliyun/apis/pouch-engine-api.md) · [All operations](https://skmtc.dev/aliyun/apis/pouch-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aliyun/pouch-engine-api/revisions/36d75b2825fc/schema)
