You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Updates certain fields of multiple activities in a batch. Use 'set' to update specific fields and 'unset' to remove fields. Activities that fail due to not found, permission denied, or no changes detected are silently skipped and not included in the response. However, validation errors (e.g., updating reserved fields, invalid field values) will fail the entire batch request.Sends events:- feeds.activity.updated
Copy file name to clipboardExpand all lines: lib/getstream_ruby/generated/models/activity_request.rb
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ class ActivityRequest < GetStream::BaseModel
15
15
# @!attribute feeds
16
16
# @return [Array<String>] List of feeds to add the activity to with a default max limit of 25 feeds
17
17
attr_accessor:feeds
18
+
# @!attribute copy_custom_to_notification
19
+
# @return [Boolean] Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)
20
+
attr_accessor:copy_custom_to_notification
18
21
# @!attribute create_notification_activity
19
22
# @return [Boolean] Whether to create notification activities for mentioned users
20
23
attr_accessor:create_notification_activity
@@ -31,7 +34,7 @@ class ActivityRequest < GetStream::BaseModel
31
34
# @return [String] ID of a poll to attach to activity
32
35
attr_accessor:poll_id
33
36
# @!attribute restrict_replies
34
-
# @return [String] Controls who can add comments/replies to this activity. Options: 'everyone' (default - anyone can reply), 'people_i_follow' (only people the activity creator follows can reply), 'nobody' (no one can reply)
37
+
# @return [String] Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody
35
38
attr_accessor:restrict_replies
36
39
# @!attribute skip_enrich_url
37
40
# @return [Boolean] Whether to skip URL enrichment for the activity
@@ -46,7 +49,7 @@ class ActivityRequest < GetStream::BaseModel
46
49
# @return [String] ID of the user creating the activity
47
50
attr_accessor:user_id
48
51
# @!attribute visibility
49
-
# @return [String] Visibility setting for the activity
52
+
# @return [String] Visibility setting for the activity. One of: public, private, tag
50
53
attr_accessor:visibility
51
54
# @!attribute visibility_tag
52
55
# @return [String] If visibility is 'tag', this is the tag name and is required
Copy file name to clipboardExpand all lines: lib/getstream_ruby/generated/models/activity_selector_config.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ class ActivitySelectorConfig < GetStream::BaseModel
10
10
11
11
# Model attributes
12
12
# @!attribute type
13
-
# @return [String] Type of selector
13
+
# @return [String] Type of selector. One of: popular, proximity, following, current_feed, query, interest, follow_suggestion
14
14
attr_accessor:type
15
15
# @!attribute cutoff_time
16
16
# @return [String] Time threshold for activity selection (string). Expected RFC3339 format (e.g., 2006-01-02T15:04:05Z07:00). Cannot be used together with cutoff_window
Copy file name to clipboardExpand all lines: lib/getstream_ruby/generated/models/add_activity_request.rb
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ class AddActivityRequest < GetStream::BaseModel
15
15
# @!attribute feeds
16
16
# @return [Array<String>] List of feeds to add the activity to with a default max limit of 25 feeds
17
17
attr_accessor:feeds
18
+
# @!attribute copy_custom_to_notification
19
+
# @return [Boolean] Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)
20
+
attr_accessor:copy_custom_to_notification
18
21
# @!attribute create_notification_activity
19
22
# @return [Boolean] Whether to create notification activities for mentioned users
20
23
attr_accessor:create_notification_activity
@@ -31,7 +34,7 @@ class AddActivityRequest < GetStream::BaseModel
31
34
# @return [String] ID of a poll to attach to activity
32
35
attr_accessor:poll_id
33
36
# @!attribute restrict_replies
34
-
# @return [String] Controls who can add comments/replies to this activity. Options: 'everyone' (default - anyone can reply), 'people_i_follow' (only people the activity creator follows can reply), 'nobody' (no one can reply)
37
+
# @return [String] Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody
35
38
attr_accessor:restrict_replies
36
39
# @!attribute skip_enrich_url
37
40
# @return [Boolean] Whether to skip URL enrichment for the activity
@@ -46,7 +49,7 @@ class AddActivityRequest < GetStream::BaseModel
46
49
# @return [String] ID of the user creating the activity
47
50
attr_accessor:user_id
48
51
# @!attribute visibility
49
-
# @return [String] Visibility setting for the activity
52
+
# @return [String] Visibility setting for the activity. One of: public, private, tag
50
53
attr_accessor:visibility
51
54
# @!attribute visibility_tag
52
55
# @return [String] If visibility is 'tag', this is the tag name and is required
0 commit comments