util

util / BackblazeUpload / 0.1.1

BackblazeUpload

Royalty Free API Calls - 37
Upload a file to Backblaze
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

Input
Output
https://f000.backblazeb2.com/b2api/v2/b2_download_file_by_id?fileId=4_z4caed893f8e6eefd6b690c17_f1106039448e3a8b7_d20181107_m220406_c000_v0001060_t0005

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run util/BackblazeUpload/0.1.1 -d '{
  "bucket_name":"algotestbucket",
  "file":"data://util/somecollection/somefile.png",
  "remote_file":"somefolder/somefile.png"
}'
  
CLI Docs