You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add missing APIs from main branch to rewrite architecture
This commit ports essential functionality from the main branch that was missing
in the rewrite-part-1 branch, maintaining the new ActiveModel-style architecture:
Upload API Implementation:
- Add upload_client.rb base class for Upload API operations
- Implement uploader_client.rb for file uploads, URL uploads, and file info
- Add multipart_upload_client.rb for large file uploads with chunking
- Create Uploader resource class with ActiveModel-style interface
CDN & Security Features:
- Add CnameGenerator for subdomain-based CDN optimization
- Implement cdn_url methods in File and Group resources
- Add signed URL generators (base class and Akamai implementation)
- Update Configuration with CDN settings (cdn_base, use_subdomains, cdn_base_postfix)
API Enhancements:
- Add unified Api entry point class for backwards compatibility
- Ensure batch operations (batch_store, batch_delete) are available
- Verify copy operations (local_copy, remote_copy) are implemented
All implementations follow the modernized pattern established in PR #177,
providing a clean resource-based API while maintaining feature parity.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments