uploadcare / uploadcare-ruby

Ruby API client that handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
https://uploadcare.com
MIT License
39 stars 28 forks source link

Deprecate PUT /group/{uuid}/storage/ #131

Closed rsedykh closed 5 months ago

rsedykh commented 1 year ago

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.

vipulnsward commented 7 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?

rsedykh commented 7 months ago

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

vipulnsward commented 7 months ago

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 commented 5 months ago

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