Pregunta

I'm trying to use the RESTful method to retrieve A Google Groups settings, but all I get is 503 or 404 errors, or backend error messages. I'm using the following URL: https://www.googleapis.com/groups/v1/groups/{my email address} Does this even work?

I'm using the oauth2 gem and Ruby, the code works for the calendar but not the groups:

groupdata = access_token.get('https.//www.googleapis.com/calendar/v3/calendars/{my email address}').parsed

groupdata = access_token.get('https.//www.googleapis.com/groups/v1/groups/{my email address}').parsed

I'm defining the scope for the groups call as "https://www.googleapis.com/auth/apps.groups.settings"

¿Fue útil?

Solución

I'm assuming {my email address} is the primary address of a user not a group?

You need to specify the primary email address of a group to query the group's settings.

Also, the Groups Settings API only works for Google Groups for Business. It will not work for consumer Google Groups (@googlegroups.com address) or Google Apps Free/Standard Edition.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top