Closed rsedykh closed 5 months ago
To store or remove files from a group, query the list of files in it, split the list into chunks of 100 files per chunk and then perform batch file storing or batch file removal for all the chunks.
We already do this for store. For delete, we just delete the group. I will update the README to reflect this comment from https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Group/operation/deleteGroup
p.s. Don't forget to update uploadcare-php-example if necessary.
I think this is an unrelated comment?
Oops. I've meant https://github.com/uploadcare/uploadcare-rails-example
Added a soft deprecation warning in this version, will raise or drop allowing this value from entity in future versions
Keeping it open till then
Closing this, we can't remove it completely till API removes it, will let the deprecate live and remove it in future
It was deprecated.
https://uploadcare.com/api-refs/upload-api/#tag/Groups/operation/filesGroupInfo https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Group/operation/groupInfo
To store or remove files from a group, query the list of files in it, split the list into chunks of 100 files per chunk and then perform batch file storing or batch file removal for all the chunks.
p.s. Don't forget to update https://github.com/uploadcare/uploadcare-rails-example if necessary.