Copy
Extract an archive of files or folders to a directory in a container
Changed onUpload a tar archive to be extracted to a path in the filesystem of container id.
put/containers/{id}/archive
Request
- Base URL/v1.24 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
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”, or “True” then it will copy UID/GID maps to dest file.
Request body application/x-tar
string required
Response
The content was extracted successfully
Changes
- info
endpoint added
- info