ArchiveTrait
trait ArchiveTrait
Trait ArchiveTrait
Properties
ApiClient | $apiClient | Defined in UploadApi class |
Methods
Creates a new archive in the server and returns information in JSON format.
Creates a new archive in the server and returns information in JSON format.
Creates a new zip archive in the server and returns information in JSON format.
Creates a new zip archive in the server and returns information in JSON format.
Returns a URL that when invoked creates an archive and returns it.
Returns a URL that when invokes creates a zip archive and returns it.
Returns a URL that when invoked downloads the asset.
Creates and returns a URL that when invoked creates an archive of a folder.
The returned url allows downloading the backedup asset based on the the asset ID and the version ID.
Details
PromiseInterface
createArchiveAsync(array $options = [], string|null $targetFormat = null)
Creates a new archive in the server and returns information in JSON format.
ApiResponse
createArchive(array $options = [], $targetFormat = null)
Creates a new archive in the server and returns information in JSON format.
PromiseInterface
createZipAsync(array $options = [])
Creates a new zip archive in the server and returns information in JSON format.
ApiResponse
createZip(array $options = [])
Creates a new zip archive in the server and returns information in JSON format.
string
downloadArchiveUrl(array $options = [])
Returns a URL that when invoked creates an archive and returns it.
string
downloadZipUrl(array $options = [])
Returns a URL that when invokes creates a zip archive and returns it.
string
privateDownloadUrl(string $publicId, string $format, array $options = [])
Returns a URL that when invoked downloads the asset.
string
downloadFolder(string $folderPath, array $options = [])
Creates and returns a URL that when invoked creates an archive of a folder.
string
downloadBackedupAsset(string $assetId, string $versionId)
The returned url allows downloading the backedup asset based on the the asset ID and the version ID.