v1
latestSwagger 2.02026-07-17107130444.8 KBContainer
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