Closed MoriTanosuke closed 12 years ago
Ok, the DEV wiki says that we should update the resource from http://api.fitbit.com/user/184X36/activities/date/2010-03-01.json. We don't have the user ID 184X36, but we have the OAuth from our user and the user ID from the subscriptionId. That should be sufficient to update the resource.
When receiving a notification form the Subscription API the application should update the notified resource on behalf of the user.
Example notification is
I think we should then go and update the resources based on collectionType and date. What I don't know yet is how we get from collectionType to a real TimeSeries. Some kind of mapping is involved here...