Notification Topic Preferences
List All Notification Topic Preferences
GET
https://api.cirro.io/v2/notification_topic_preferences{?user_id}{?notification_topic_id}{?limit}{?before}{?after}
Parameters
Parameter | Type | Note | |
---|---|---|---|
user_id | string | A filter based on the ID of the associated app user | |
notification_topic_id | string | A filter based on the ID of the associated notification topic | |
limit | integer | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. | |
before | string | A cursor for pagination. Given object ID of the first item of a returned list will give you the previous page. | |
after | string | A cursor for pagination. Given object ID of the last item of a returned list will give you the next page. |
Example
1client = CirroIOV2::Client.new(...)
2client.NotificationTopicPreference.list(user_id: 1)