Returns a list of invitations that the requesting user is permitted toview, restricted to those that
match the list request.
Note: At least one of user_id or course_id must be supplied. Bothfields can be supplied.
gc_invitations_list( courseId = NULL, userId = NULL, pageToken = NULL, pageSize = NULL )
| courseId | Restricts returned invitations to those for a course with the specified |
|---|---|
| userId | Restricts returned invitations to those for a specific user |
| pageToken | nextPageToken |
| pageSize | Maximum number of items to return |
This method returns the following error codes:
PERMISSION_DENIED for access errors.
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.rosters
https://www.googleapis.com/auth/classroom.rosters.readonly
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.rosters", "https://www.googleapis.com/auth/classroom.rosters.readonly")
Then run googleAuthR::gar_auth() to authenticate.
See gar_auth for details.