googleapis.com – classroom
Manages classes, rosters, and invitations in Google Classroom.
- Homepage
- https://api.apis.guru/v2/specs/googleapis.com:classroom/v1.json
- Provider
- googleapis.com:classroom / classroom
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/googleapis.com/classroom/v1/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/googleapis.com/classroom/v1/openapi.yaml
Tools (63)
Extracted live via the executor SDK.
-
courses.classroomCoursesAliasesCreateCreates an alias for a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to create the alias or for access errors. *NOT_FOUNDif the course does not exist. *ALREADY_EXISTSif the alias already exists. *FAILED_PRECONDITIONif the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to access a domain-scoped alias). -
courses.classroomCoursesAliasesDeleteDeletes an alias of a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to remove the alias or for access errors. *NOT_FOUNDif the alias does not exist. *FAILED_PRECONDITIONif the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to delete a domain-scoped alias). -
courses.classroomCoursesAliasesListReturns a list of aliases for a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the course or for access errors. *NOT_FOUNDif the course does not exist. -
courses.classroomCoursesAnnouncementsCreateCreates an announcement. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course, create announcements in the requested course, share a Drive attachment, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. *FAILED_PRECONDITIONfor the following request error: * AttachmentNotVisible -
courses.classroomCoursesAnnouncementsDeleteDeletes an announcement. This request must be made by the Developer Console project of the used to create the corresponding announcement item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project did not create the corresponding announcement, if the requesting user is not permitted to delete the requested course or for access errors. *FAILED_PRECONDITIONif the requested announcement has already been deleted. *NOT_FOUNDif no course exists with the requested ID. -
courses.classroomCoursesAnnouncementsGetReturns an announcement. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or announcement, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course or announcement does not exist. -
courses.classroomCoursesAnnouncementsListReturns a list of announcements that the requester is permitted to view. Course students may only view
PUBLISHEDannouncements. Course teachers and domain administrators may view all announcements. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. -
courses.classroomCoursesAnnouncementsModifyAssigneesModifies assignee mode and options of an announcement. Only a teacher of the course that contains the announcement may call this method. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course or course work does not exist. -
courses.classroomCoursesAnnouncementsPatchUpdates one or more fields of an announcement. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project did not create the corresponding announcement or for access errors. *INVALID_ARGUMENTif the request is malformed. *FAILED_PRECONDITIONif the requested announcement has already been deleted. *NOT_FOUNDif the requested course or announcement does not exist -
courses.classroomCoursesCourseWorkCreateCreates course work. The resulting course work (and corresponding student submissions) are associated with the Developer Console project of the used to make the request. Classroom API requests to modify course work and student submissions must be made with an OAuth client ID from the associated Developer Console project. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course, create course work in the requested course, share a Drive attachment, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. *FAILED_PRECONDITIONfor the following request error: * AttachmentNotVisible -
courses.classroomCoursesCourseWorkDeleteDeletes a course work. This request must be made by the Developer Console project of the used to create the corresponding course work item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project did not create the corresponding course work, if the requesting user is not permitted to delete the requested course or for access errors. *FAILED_PRECONDITIONif the requested course work has already been deleted. *NOT_FOUNDif no course exists with the requested ID. -
courses.classroomCoursesCourseWorkGetReturns course work. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course or course work does not exist. -
courses.classroomCoursesCourseWorkListReturns a list of course work that the requester is permitted to view. Course students may only view
PUBLISHEDcourse work. Course teachers and domain administrators may view all course work. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. -
courses.classroomCoursesCourseWorkMaterialsCreateCreates a course work material. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course, create course work material in the requested course, share a Drive attachment, or for access errors. *INVALID_ARGUMENTif the request is malformed or if more than 20 * materials are provided. *NOT_FOUNDif the requested course does not exist. *FAILED_PRECONDITIONfor the following request error: * AttachmentNotVisible -
courses.classroomCoursesCourseWorkMaterialsDeleteDeletes a course work material. This request must be made by the Developer Console project of the used to create the corresponding course work material item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project did not create the corresponding course work material, if the requesting user is not permitted to delete the requested course or for access errors. *FAILED_PRECONDITIONif the requested course work material has already been deleted. *NOT_FOUNDif no course exists with the requested ID. -
courses.classroomCoursesCourseWorkMaterialsGetReturns a course work material. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work material, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course or course work material does not exist. -
courses.classroomCoursesCourseWorkMaterialsListReturns a list of course work material that the requester is permitted to view. Course students may only view
PUBLISHEDcourse work material. Course teachers and domain administrators may view all course work material. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. -
courses.classroomCoursesCourseWorkMaterialsPatchUpdates one or more fields of a course work material. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project for access errors. *INVALID_ARGUMENTif the request is malformed. *FAILED_PRECONDITIONif the requested course work material has already been deleted. *NOT_FOUNDif the requested course or course work material does not exist -
courses.classroomCoursesCourseWorkModifyAssigneesModifies assignee mode and options of a coursework. Only a teacher of the course that contains the coursework may call this method. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course or course work does not exist. -
courses.classroomCoursesCourseWorkPatchUpdates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the used to create the corresponding course work item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. *INVALID_ARGUMENTif the request is malformed. *FAILED_PRECONDITIONif the requested course work has already been deleted. *NOT_FOUNDif the requested course, course work, or student submission does not exist. -
courses.classroomCoursesCourseWorkStudentSubmissionsGetReturns a student submission. *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course, course work, or student submission or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course, course work, or student submission does not exist. -
courses.classroomCoursesCourseWorkStudentSubmissionsListReturns a list of student submissions that the requester is permitted to view, factoring in the OAuth scopes of the request.
-may be specified as thecourse_work_idto include student submissions for multiple course work items. Course students may only view their own work. Course teachers and domain administrators may view all student submissions. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. -
courses.classroomCoursesCourseWorkStudentSubmissionsModifyAttachmentsModifies attachments of student submission. Attachments may only be added to student submissions belonging to course work objects with a
workTypeofASSIGNMENT. This request must be made by the Developer Console project of the used to create the corresponding course work item. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work, if the user is not permitted to modify attachments on the requested student submission, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course, course work, or student submission does not exist. -
courses.classroomCoursesCourseWorkStudentSubmissionsPatchUpdates one or more fields of a student submission. See google.classroom.v1.StudentSubmission for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the used to create the corresponding course work item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course, course work, or student submission does not exist. -
courses.classroomCoursesCourseWorkStudentSubmissionsReclaimReclaims a student submission on behalf of the student that owns it. Reclaiming a student submission transfers ownership of attached Drive files to the student and updates the submission state. Only the student that owns the requested student submission may call this method, and only for a student submission that has been turned in. This request must be made by the Developer Console project of the used to create the corresponding course work item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work, unsubmit the requested student submission, or for access errors. *FAILED_PRECONDITIONif the student submission has not been turned in. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course, course work, or student submission does not exist. -
courses.classroomCoursesCourseWorkStudentSubmissionsReturnReturns a student submission. Returning a student submission transfers ownership of attached Drive files to the student and may also update the submission state. Unlike the Classroom application, returning a student submission does not set assignedGrade to the draftGrade value. Only a teacher of the course that contains the requested student submission may call this method. This request must be made by the Developer Console project of the used to create the corresponding course work item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work, return the requested student submission, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course, course work, or student submission does not exist. -
courses.classroomCoursesCourseWorkStudentSubmissionsTurnInTurns in a student submission. Turning in a student submission transfers ownership of attached Drive files to the teacher and may also update the submission state. This may only be called by the student that owns the specified student submission. This request must be made by the Developer Console project of the used to create the corresponding course work item. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or course work, turn in the requested student submission, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course, course work, or student submission does not exist. -
courses.classroomCoursesCreateCreates a course. The user specified in
ownerIdis the owner of the created course and added as a teacher. A non-admin requesting user can only create a course with themselves as the owner. Domain admins can create courses owned by any user within their domain. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to create courses or for access errors. *NOT_FOUNDif the primary teacher is not a valid user. *FAILED_PRECONDITIONif the course owner's account is disabled or for the following request errors: * UserCannotOwnCourse * UserGroupsMembershipLimitReached *ALREADY_EXISTSif an alias was specified in theidand already exists. -
courses.classroomCoursesDeleteDeletes a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to delete the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. -
courses.classroomCoursesGetReturns a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. -
courses.classroomCoursesListReturns a list of courses that the requesting user is permitted to view, restricted to those that match the request. Returned courses are ordered by creation time, with the most recently created coming first. This method returns the following error codes: *
PERMISSION_DENIEDfor access errors. *INVALID_ARGUMENTif the query argument is malformed. *NOT_FOUNDif any users specified in the query arguments do not exist. -
courses.classroomCoursesPatchUpdates one or more fields in a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to modify the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. *INVALID_ARGUMENTif invalid fields are specified in the update mask or if no update mask is supplied. *FAILED_PRECONDITIONfor the following request errors: * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner -
courses.classroomCoursesStudentsCreateAdds a user as a student of a course. Domain administrators are permitted to users within their domain as students to courses within their domain. Students are permitted to add themselves to a course using an enrollment code. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to create students in this course or for access errors. *NOT_FOUNDif the requested course ID does not exist. *FAILED_PRECONDITIONif the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * UserGroupsMembershipLimitReached * InactiveCourseOwner *ALREADY_EXISTSif the user is already a student or teacher in the course. -
courses.classroomCoursesStudentsDeleteDeletes a student of a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to delete students of this course or for access errors. *NOT_FOUNDif no student of this course has the requested ID or if the course does not exist. -
courses.classroomCoursesStudentsGetReturns a student of a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to view students of this course or for access errors. *NOT_FOUNDif no student of this course has the requested ID or if the course does not exist. -
courses.classroomCoursesStudentsListReturns a list of students of this course that the requester is permitted to view. This method returns the following error codes: *
NOT_FOUNDif the course does not exist. *PERMISSION_DENIEDfor access errors. -
courses.classroomCoursesTeachersCreateCreates a teacher of a course. Domain administrators are permitted to users within their domain as teachers to courses within their domain. Non-admin users should send an Invitation instead. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to create teachers in this course or for access errors. *NOT_FOUNDif the requested course ID does not exist. *FAILED_PRECONDITIONif the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * InactiveCourseOwner *ALREADY_EXISTSif the user is already a teacher or student in the course. -
courses.classroomCoursesTeachersDeleteRemoves the specified teacher from the specified course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to delete teachers of this course or for access errors. *NOT_FOUNDif no teacher of this course has the requested ID or if the course does not exist. *FAILED_PRECONDITIONif the requested ID belongs to the primary teacher of this course. *FAILED_PRECONDITIONif the requested ID belongs to the owner of the course Drive folder. *FAILED_PRECONDITIONif the course no longer has an active owner. -
courses.classroomCoursesTeachersGetReturns a teacher of a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to view teachers of this course or for access errors. *NOT_FOUNDif no teacher of this course has the requested ID or if the course does not exist. -
courses.classroomCoursesTeachersListReturns a list of teachers of this course that the requester is permitted to view. This method returns the following error codes: *
NOT_FOUNDif the course does not exist. *PERMISSION_DENIEDfor access errors. -
courses.classroomCoursesTopicsCreateCreates a topic. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. -
courses.classroomCoursesTopicsDeleteDeletes a topic. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not allowed to delete the requested topic or for access errors. *FAILED_PRECONDITIONif the requested topic has already been deleted. *NOT_FOUNDif no course or topic exists with the requested ID. -
courses.classroomCoursesTopicsGetReturns a topic. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or topic, or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course or topic does not exist. -
courses.classroomCoursesTopicsListReturns the list of topics that the requester is permitted to view. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course does not exist. -
courses.classroomCoursesTopicsPatchUpdates one or more fields of a topic. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting developer project did not create the corresponding topic or for access errors. *INVALID_ARGUMENTif the request is malformed. *NOT_FOUNDif the requested course or topic does not exist -
courses.classroomCoursesUpdateUpdates a course. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to modify the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. *FAILED_PRECONDITIONfor the following request errors: * CourseNotModifiable -
invitations.classroomInvitationsAcceptAccepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to accept the requested invitation or for access errors. *FAILED_PRECONDITIONfor the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached *NOT_FOUNDif no invitation exists with the requested ID. -
invitations.classroomInvitationsCreateCreates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to create invitations for this course or for access errors. *NOT_FOUNDif the course or the user does not exist. *FAILED_PRECONDITION: * if the requested user's account is disabled. * if the user already has this role or a role with greater permissions. * for the following request errors: * IneligibleOwner *ALREADY_EXISTSif an invitation for the specified user and course already exists. -
invitations.classroomInvitationsDeleteDeletes an invitation. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to delete the requested invitation or for access errors. *NOT_FOUNDif no invitation exists with the requested ID. -
invitations.classroomInvitationsGetReturns an invitation. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to view the requested invitation or for access errors. *NOT_FOUNDif no invitation exists with the requested ID. -
invitations.classroomInvitationsListReturns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. Note: At least one of
user_idorcourse_idmust be supplied. Both fields can be supplied. This method returns the following error codes: *PERMISSION_DENIEDfor access errors. -
registrations.classroomRegistrationsCreateCreates a
Registration, causing Classroom to start sending notifications from the providedfeedto the destination provided incloudPubSubTopic. Returns the createdRegistration. Currently, this will be the same as the argument, but with server-assigned fields such asexpiry_timeandidfilled in. Note that any value specified for theexpiry_timeoridfields will be ignored. While Classroom may validate thecloudPubSubTopicand return errors on a best effort basis, it is the caller's responsibility to ensure that it exists and that Classroom has permission to publish to it. This method may return the following error codes: *PERMISSION_DENIEDif: * the authenticated user does not have permission to receive notifications from the requested field; or * the current user has not granted access to the current Cloud project with the appropriate scope for the requested feed. Note that domain-wide delegation of authority is not currently supported for this purpose. If the request has the appropriate scope, but no grant exists, a Request Errors is returned. * another access error is encountered. *INVALID_ARGUMENTif: * nocloudPubsubTopicis specified, or the specifiedcloudPubsubTopicis not valid; or * nofeedis specified, or the specifiedfeedis not valid. *NOT_FOUNDif: * the specifiedfeedcannot be located, or the requesting user does not have permission to determine whether or not it exists; or * the specifiedcloudPubsubTopiccannot be located, or Classroom has not been granted permission to publish to it. -
registrations.classroomRegistrationsDeleteDeletes a
Registration, causing Classroom to stop sending notifications for thatRegistration. -
userProfiles.classroomUserProfilesGetReturns a user profile. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors. -
userProfiles.classroomUserProfilesGuardianInvitationsCreateCreates a guardian invitation, and sends an email to the guardian asking them to confirm that they are the student's guardian. Once the guardian accepts the invitation, their
statewill change toCOMPLETEDand they will start receiving guardian notifications. AGuardianresource will also be created to represent the active guardian. The request object must have thestudent_idandinvited_email_addressfields set. Failing to set these fields, or setting any other fields in the request, will result in an error. This method returns the following error codes: *PERMISSION_DENIEDif the current user does not have permission to manage guardians, if the guardian in question has already rejected too many requests for that student, if guardians are not enabled for the domain in question, or for other access errors. *RESOURCE_EXHAUSTEDif the student or guardian has exceeded the guardian link limit. *INVALID_ARGUMENTif the guardian email address is not valid (for example, if it is too long), or if the format of the student ID provided cannot be recognized (it is not an email address, nor auser_idfrom this API). This error will also be returned if read-only fields are set, or if thestatefield is set to to a value other thanPENDING. *NOT_FOUNDif the student ID provided is a valid student ID, but Classroom has no record of that student. *ALREADY_EXISTSif there is already a pending guardian invitation for the student andinvited_email_addressprovided, or if the providedinvited_email_addressmatches the Google account of an existingGuardianfor this user. -
userProfiles.classroomUserProfilesGuardianInvitationsGetReturns a specific guardian invitation. This method returns the following error codes: *
PERMISSION_DENIEDif the requesting user is not permitted to view guardian invitations for the student identified by thestudent_id, if guardians are not enabled for the domain in question, or for other access errors. *INVALID_ARGUMENTif astudent_idis specified, but its format cannot be recognized (it is not an email address, nor astudent_idfrom the API, nor the literal stringme). *NOT_FOUNDif Classroom cannot find any record of the given student orinvitation_id. May also be returned if the student exists, but the requesting user does not have access to see that student. -
userProfiles.classroomUserProfilesGuardianInvitationsListReturns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following error codes: *
PERMISSION_DENIEDif astudent_idis specified, and the requesting user is not permitted to view guardian invitations for that student, if"-"is specified as thestudent_idand the user is not a domain administrator, if guardians are not enabled for the domain in question, or for other access errors. *INVALID_ARGUMENTif astudent_idis specified, but its format cannot be recognized (it is not an email address, nor astudent_idfrom the API, nor the literal stringme). May also be returned if an invalidpage_tokenorstateis provided. *NOT_FOUNDif astudent_idis specified, and its format can be recognized, but Classroom has no record of that student. -
userProfiles.classroomUserProfilesGuardianInvitationsPatchModifies a guardian invitation. Currently, the only valid modification is to change the
statefromPENDINGtoCOMPLETE. This has the effect of withdrawing the invitation. This method returns the following error codes: *PERMISSION_DENIEDif the current user does not have permission to manage guardians, if guardians are not enabled for the domain in question or for other access errors. *FAILED_PRECONDITIONif the guardian link is not in thePENDINGstate. *INVALID_ARGUMENTif the format of the student ID provided cannot be recognized (it is not an email address, nor auser_idfrom this API), or if the passedGuardianInvitationhas astateother thanCOMPLETE, or if it modifies fields other thanstate. *NOT_FOUNDif the student ID provided is a valid student ID, but Classroom has no record of that student, or if theidfield does not refer to a guardian invitation known to Classroom. -
userProfiles.classroomUserProfilesGuardiansDeleteDeletes a guardian. The guardian will no longer receive guardian notifications and the guardian will no longer be accessible via the API. This method returns the following error codes: *
PERMISSION_DENIEDif no user that matches the providedstudent_idis visible to the requesting user, if the requesting user is not permitted to manage guardians for the student identified by thestudent_id, if guardians are not enabled for the domain in question, or for other access errors. *INVALID_ARGUMENTif astudent_idis specified, but its format cannot be recognized (it is not an email address, nor astudent_idfrom the API). *NOT_FOUNDif the requesting user is permitted to modify guardians for the requestedstudent_id, but noGuardianrecord exists for that student with the providedguardian_id. -
userProfiles.classroomUserProfilesGuardiansGetReturns a specific guardian. This method returns the following error codes: *
PERMISSION_DENIEDif no user that matches the providedstudent_idis visible to the requesting user, if the requesting user is not permitted to view guardian information for the student identified by thestudent_id, if guardians are not enabled for the domain in question, or for other access errors. *INVALID_ARGUMENTif astudent_idis specified, but its format cannot be recognized (it is not an email address, nor astudent_idfrom the API, nor the literal stringme). *NOT_FOUNDif the requesting user is permitted to view guardians for the requestedstudent_id, but noGuardianrecord exists for that student that matches the providedguardian_id. -
userProfiles.classroomUserProfilesGuardiansListReturns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. To list guardians for any student that the requesting user may view guardians for, use the literal character
-for the student ID. This method returns the following error codes: *PERMISSION_DENIEDif astudent_idis specified, and the requesting user is not permitted to view guardian information for that student, if"-"is specified as thestudent_idand the user is not a domain administrator, if guardians are not enabled for the domain in question, if theinvited_email_addressfilter is set by a user who is not a domain administrator, or for other access errors. *INVALID_ARGUMENTif astudent_idis specified, but its format cannot be recognized (it is not an email address, nor astudent_idfrom the API, nor the literal stringme). May also be returned if an invalidpage_tokenis provided. *NOT_FOUNDif astudent_idis specified, and its format can be recognized, but Classroom has no record of that student. -
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools