Sign in

Patch course work material

documented

Updates a course work material.

POST /v1/courses/{courseId}/courseWork/{id}:patchCoursesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://classroom.googleapis.com/v1/courses/{{$courseId}}/courseWork/{{$courseWorkId}}?updateMask={{updateMask}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title": "{{$title}}", "description": "{{$description}}", "state": "{{$state}}", "dueDate": {"year": {{$dueDateYear}}, "month": {{$dueDateMonth}}, "day": {{$dueDateDay}}}, "dueTime": {"hours": {{$dueTimeHours}}, "minutes": {{$dueTimeMinutes}}}, "maxPoints": {{$maxPoints}}, "scheduledTime": "{{$scheduledTime}}", "submissionModificationMode": "{{$submissionModificationMode}}", "topicId": "{{$topicId}}"}'"
Patch course work material · Google Classroom · OpenIntegrations