Sign in

Patch add-on attachment for course work material

documented

Updates an add-on attachment for course work material.

POST /v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}: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}}/courseWorkMaterials/{{$itemId}}/addOnAttachments/{{$attachmentId}}?postId={{$postId}}&updateMask={{$updateMask}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title":"{{$title}}","teacherViewUri":{"uri":"{{$teacherViewUri}}"},"studentViewUri":{"uri":"{{$studentViewUri}}"},"dueDate":{"year":{{$dueYear}},"month":{{$dueMonth}},"day":{{$dueDay}}},"dueTime":{"hours":{{$dueHours}},"minutes":{{$dueMinutes}},"seconds":{{$dueSeconds}}},"maxPoints":{{$maxPoints}}}'
Patch add-on attachment for course work material · Google Classroom · OpenIntegrations