v2

latestSwagger 2.0raw.githubusercontent.com2025-09-17107133447.6 KB
Container

Extract an archive of files or folders to a directory in a container

Upload a tar archive to be extracted to a path in the filesystem of container id. path parameter is asserted to be a directory. If it exists as a file, 400 error will be returned with message "not a directory".

put/containers/{id}/archive

Path parameters

idstring required

ID or name of the container

Query parameters

pathstring required

Path to a directory in the container to extract the archive’s contents into.

noOverwriteDirNonDirstring

If 1, true, or True then it will be an error if unpacking the given content would cause an existing directory to be replaced with a non-directory and vice versa.

copyUIDGIDstring

If 1, true, then it will copy UID/GID maps to the dest file or dir

Response

The content was extracted successfully