Filestack\UploadProcessor::registerComplete
Trigger the end of an upload task
Signature
protected function registerComplete(string
$api_key,
string
$parts_etags,
array
$upload_data,
string
$metadata )
Parameters
$api_key
—
string
- Filestack API Key
$parts_etags
—
string
- parts:etags, semicolon separated
e.g. '1:etag_1;2:etag_2;3:etag_3
$upload_data
—
array
- upload data from register
call: uri, region, upload_id
$metadata
—
string
- metadata of file: filename,
filesize, mimetype, location
Returns
- json
Errors/Exceptions
-
FilestackException
- if API call fails
Test Coverage
Information
- Coverage: / Lines (%)
- Tests: 0
- Passed: 0 (0%)