<?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;
{ "fileId": "FILE_ID_FOR_PART_NUMBER", "partNumber": "PART_NUMBER", "contentLength": 1234567890, "contentSha1": "76d4069a4755988aea481f79cdc4b6e72f0e56b2", "contentMd5": "387235e8de7f13e4fc60bb9316be4986", // ... }
https://www.backblaze.com/apidocs/b2-copy-part
There was an error while loading. Please reload this page.
Below is a list of all the available native API endpoints that this library currently supports:
{ "fileId": "FILE_ID_FOR_PART_NUMBER", "partNumber": "PART_NUMBER", "contentLength": 1234567890, "contentSha1": "76d4069a4755988aea481f79cdc4b6e72f0e56b2", "contentMd5": "387235e8de7f13e4fc60bb9316be4986", // ... }