Skip to content

dsdk / v1.47 / putContainerArchive

Function: putContainerArchive() ​

putContainerArchive(opts): Promise<PutContainerArchiveResponse>

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".

Parameters ​

ParameterType

opts

ExtendedOptionsWithBody<PutContainerArchiveData, PutContainerArchiveBody>

Returns ​

Promise<PutContainerArchiveResponse>