GetStream / stream-ruby

Ruby Client - Build Activity Feeds & Streams with GetStream.io
https://getstream.io
BSD 3-Clause "New" or "Revised" License
85 stars 32 forks source link

Activities migration #100

Closed manuelpuyol closed 6 years ago

manuelpuyol commented 6 years ago

Is there any way to update all activities? I'd like to add an information in them, but I don't know how to retrieve/update all

tbarbugli commented 6 years ago

The Stream API don't expose a way to retrieve or update all activities. A common approach is to store references to your data inside activities rather than full objects. You can find more information about this here: https://getstream.io/docs/#enrichment