uploadcare-ruby icon indicating copy to clipboard operation
uploadcare-ruby copied to clipboard

Deprecate PUT /group/{uuid}/storage/

Open rsedykh opened this issue 2 years ago • 3 comments

It was deprecated.

image

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.

rsedykh avatar Oct 18 '23 14:10 rsedykh

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?

vipulnsward avatar Apr 02 '24 14:04 vipulnsward

Oops. I've meant https://github.com/uploadcare/uploadcare-rails-example

rsedykh avatar Apr 03 '24 04:04 rsedykh

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

vipulnsward avatar Apr 06 '24 16:04 vipulnsward

Closing this, we can't remove it completely till API removes it, will let the deprecate live and remove it in future

vipulnsward avatar Jun 12 '24 11:06 vipulnsward