cloud_sync_box 0.1.1
cloud_sync_box: ^0.1.1 copied to clipboard
Box Content API adapter for the cloud_sync family. Implements StorageAdapter with a lazy path-to-ID resolver that translates Box's ID-based API into path-based sync operations.
0.1.1 #
Initial release. Box Content API adapter for the cloud_sync family.
BoxAdapterimplementsStorageAdapterfromcloud_sync_coreBoxConfig— rootFolderId, optional base/upload URL overridesBoxAuthClient—http.BaseClientwrapper that injects Bearer tokenBoxPathResolver— lazy recursive walk + in-memory path↔ID cache; creates missing folder segments on demand- SHA256 preservation via
/files/{id}/metadata/global/propertiescustom metadata (Box's native SHA1 is not compatible with the engine's SHA256 contract) - 50MB file size ceiling (single-request upload — no chunked upload in v1)
- OAuth2 Bearer token only — JWT App Auth requires consumer-supplied authenticated
http.Client