How to stop watch on entire channel of Google calendar events? -
how stop watching entire channel? api reference reproduced below requires resourceid
, seemingly implying stops watching event specific resourceid
. purposes, think channelid
enough , therefore uncertain put resourceid
. field not optional.
post https://www.googleapis.com/calendar/v3/channels/stop authorization: bearer {auth_token_for_current_user} content-type: application/json { "id": "4ba78bf0-6a47-11e2-bcfd-0800200c9a66", "resourceid": "ret08u3rv24htgh289g" }
it turns out resourceid
has nothing event caused push notification. in app, should store both channelid
, resourceid
, provide required stop notifications. still not sure why google requires 2 ids single purpose. seems redundant.
Comments
Post a Comment