Storage APIs
Connectors for release artifacts.
Four parallel surfaces for different backends:
/api/storage/google-drive/...— Google Drive with LicenPro's own OAuth client:connect-url(optionalreturnUrl, a dashboard path) returns Google's consent URL,callbacktakescodeand the signedstate; thenstatus,folders,files,upload,disconnect. Scopedrive.fileonly. Pro plan./api/storage/onedrive/...— OneDrive with LicenPro's own Microsoft app (any personal or work/school account):connect-url(optionalreturnUrl, a dashboard path) returns Microsoft's consent URL,callbacktakescodeand the signedstateand creates theLicenProfolder; thenconfig,test,folders,files,upload,disconnect. ScopesFiles.ReadWrite User.Read offline_access. Pro plan./api/CustomServerStorage/...— your own SFTP/HTTP storage endpoint./api/storage/s3/...— any S3-compatible bucket (Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO…):config,test,folders,files,upload,disconnect. Pro plan.
Each implements list/upload/delete semantics appropriate to the provider; filenames and MIME types are validated server-side.
