Repository navigation
v12.26.0
Uploads you can follow and cancel, and a bucket's files (storage S1).
storage.startUploadreturns aKoolbaseUploadTask:progress(a stream ofKoolbaseUploadProgress:pending,uploadingwithbytesSentofbytesTotal,verifying, thencompleted,failedorcancelled),cancel()until the server begins checking the bytes, andresult. Onlycompletedmeans the file can be referenced from a record. On iOS and Android the bytes are reported a chunk at a time; on the web the browser sends them in one piece, so progress moves from 0 to the total there.uploadanduploadBytestakeonProgress. The confirm now names its upload (upload_id), so it takes exactly the bytes this upload sent.storage.listFiles: a page of a bucket's files you may view -- the bucket's view rule is checked on every file -- withprefix,limit,sort(KoolbaseFileSort) anddescending; passnextCursorback for the next page.storage.getFileInfo: one file's details, with its permanent link while the bucket is public.- Typed errors:
KoolbaseUploadCancelledException,KoolbaseStorageNetworkException,KoolbaseUploadNotFoundException,KoolbaseStorageBusyException(retry shortly),KoolbaseStorageInvalidCursorException,KoolbaseStorageSignInRequiredException(nobody signed in; not a session that ended). Needs the Koolbase API from October 2026. - Tested: progress through every state with the bytes rising to the total, a cancel mid-transfer confirming nothing, a listing's query and page, and each new error.