google calendar - How to manage CalendarList for another user -


i in process of migrating google calendar api v2 - v3. need update users calendarlist. possible in v2 overriding requestor_id field on oauth token. using oauth2, technique doesn't work.

the request listing calendarlists is:

get https://www.googleapis.com/calendar/v3/users/me/calendarlist

so presumed exchanging 'me' users email address work ...

get https://www.googleapis.com/calendar/v3/users/someemail@domain.com/calendarlist

... doesn't - api returns 404 not found error.

is functionality possible using calendar api v3?

it looks have use service account authorization. description how use can find on page: perform google apps domain-wide delegation of authority. describes process drive api, can use calendar api v3 well. scopes calendar api can find on page: authorizing requests google calendar api. have understand 1 thing: when want work different users - have create new calendar service object each user.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -