-
Notifications
You must be signed in to change notification settings - Fork 1
CopyPart
Craig edited this page Jan 1, 2024
·
1 revision
<?php
use TechKat\BackBlazeB2\Client;
$keyID = '...';
$applicationKey = '...';
$client = new Client($keyID, $applicationKey);
$response = $client->copyPart([
'sourceFileId' => 'SOURCE_FILE_ID',
'largeFileId' => 'LARGE_FILE_ID',
'partNumber' => 'PART_NUMBER',
]);
return $response;Below is a list of all the available native API endpoints that this library currently supports:
- cancelLargeFile
- copyFile
- copyPart
- createBucket
- createKey
- deleteBucket
- deleteFileVersion
- deleteKey
- downloadFileById
- downloadFileByName
- finishLargeFile
- getDownloadAuthorization
- getFileInfo
- getUploadPartUrl
- getUploadUrl
- hideFile
- listBuckets
- listFileNames
- listFileVersions
- listKeys
- listParts
- listUnfinishedLargeFiles
- startLargeFile
- updateBucket
- updateFileLegalHold
- updateFileRetention
- uploadFile
- uploadPart
{ "fileId": "FILE_ID_FOR_PART_NUMBER", "partNumber": "PART_NUMBER", "contentLength": 1234567890, "contentSha1": "76d4069a4755988aea481f79cdc4b6e72f0e56b2", "contentMd5": "387235e8de7f13e4fc60bb9316be4986", // ... }