Google Classroom
Google Classroom is a learning management tool for distributing assignments, communicating with students, and managing classwork.
- Base URL:
https://classroom.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
classroom_courses_list— GET /v1/courses — Returns a list of courses that the requesting user is permitted to view, restricclassroom_courses_aliases_list— GET /v1/courses/{courseId}/aliases — Returns a list of aliases for a course. This method returns the following errorclassroom_courses_announcements_list— GET /v1/courses/{courseId}/announcements — Returns a list of announcements that the requester is permitted to view. Courseclassroom_courses_announcements_get— GET /v1/courses/{courseId}/announcements/{id} — Returns an announcement. This method returns the following error codes: * `PERMIclassroom_courses_coursework_list— GET /v1/courses/{courseId}/courseWork — Returns a list of course work that the requester is permitted to view. Course stclassroom_courses_coursework_studentsubmissions_— GET /v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions — Returns a list of student submissions that the requester is permitted to view, f
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: classroom_courses_list
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: classroom_courses_list, classroom_courses_aliases_list, classroom_courses_announcements_list, classroom_courses_announcements_get, classroom_courses_coursework_list, classroom_courses_coursework_studentsubmissions_ |
courseId |
string | no | — | Path parameter courseId (required by some operations). |
courseWorkId |
string | no | — | Path parameter courseWorkId (required by some operations). |
id |
string | no | — | Path parameter id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |