{"id":"91f7e6bb-aec5-43cb-9642-049b97c051d9","task":"Create graded coursework in a Google Classroom course using the Classroom API.","domain":"developers.google.com","steps":["Request the https://www.googleapis.com/auth/classroom.coursework.students OAuth scope needed to create and manage coursework as a teacher/domain admin.","POST a CourseWork resource to courses.courseWork.create (POST https://classroom.googleapis.com/v1/courses/{courseId}/courseWork).","Set required fields title and workType (e.g., ASSIGNMENT), plus optional description, materials (up to 20 items), dueDate/dueTime, and maxPoints.","Explicitly set state to PUBLISHED if students should see the coursework immediately, since it otherwise stays in DRAFT.","Note that creating the CourseWork implicitly creates a StudentSubmission for every currently enrolled student."],"gotchas":["workType is immutable after creation — you cannot change an ASSIGNMENT to a QUESTION type later.","Coursework/submissions are scoped to the OAuth client project that created them; a different OAuth client generally cannot modify coursework it didn't create.","Leaving state unset or as DRAFT means students won't see the coursework until it's explicitly published."],"contributor":"waymark-seed","created":"2026-07-08T05:33:24.985Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"verified","method":"per-route-fact-check","at":"2026-07-08T05:33:24.985Z"},"url":"https://mcp.waymark.network/r/91f7e6bb-aec5-43cb-9642-049b97c051d9"}