We still don’t have a parameter ‘
changed_at’ or ‘
updated_at’ for re-subscriptions.
If a sub cancels his plan and re-subs again in a 30 day period the sub streak continues the same for alerts in chat (now via USERNOTICE) but the ‘
created_at’ field in the API changes to the re-sub time which makes sense but now we have 2 different values for the time. In chat we can see that the user has been a sub for example, 12 months, but according to the API the user has only been a sub for example, 5 months.
In the API
In my head the ‘
created_at’ field should stay the same even if the user cancels the subscription but it’s still in the 30 day period and there should be an ‘
updated_at’ field that would only be available if the user re-subbed in that 30 day period after canceling the subscription. (The ‘
updated_at’ field would state the time of the re-subscription)
Are there any plans on adding that new parameter so developers can keep track of the time a user has been subscribed without having to store this info periodically? This way we could keep using the ‘
created_at’ field. @xangold @DallasNChains
ps: This happens in both endpoints: https://api.twitch.tv/kraken/channels/:channel_id/subscriptions/:viewer_id and https://api.twitch.tv/kraken/channels/:channel_id/subscriptions