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

Update webhooks API (event types and versioning) #128

Closed rsedykh closed 3 weeks ago

rsedykh commented 8 months ago

New event types. Current enum:

https://uploadcare.com/docs/webhooks/#event-types

image

Also, please check the versioning. It's easier to just send current API version, because from within API 0.7 you can't create 0.6 anyways (but you'll be able to create 0.8 when they it is released).

image

Payload is also updated (new initiator field), but since it's not part of the library, nothing is to update here.

p.s. Don't forget to update uploadcare-php-example if necessary.

vipulnsward commented 3 weeks ago

Added an example of current supported events in example App, they are already supported via the gem.