EndUpload

end_upload(public_api_client, uuid)

Description

To finish artifacts upload.

Arguments

  • public_api_client: QDC api client object.
  • uuid: uuid of the initiated start upload request.

Returns

  • true: If the upload is finished.
  • false: If failed to finish the upload.

Usages

file_path = "C:\\Temp\\test.apk"
file_name = get_filename(file_path)
artifact_type = ArtifactType.TESTPACKAGE
uuid = start_upload(public_api_client, file_name, artifact_type)
continue_upload(public_api_client, uuid, file_path, file_name, artifact_type)
end_upload(public_api_client, uuid)