Patch add-on attachment for course work
documentedUpdates an add-on attachment for course work.
POST /v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}:patchCoursesno implementation yet0 runsInput
course_id
Course ID
COURSE_ID
item_id
Course Work Item ID
ITEM_ID
attachment_id*
Attachment ID
ATTACH_ID
post_id*
Post ID
POST_ID
update_mask*
Update Mask
title,dueDate,dueTime,maxPoints
title*
Attachment Title
Reading Materials
teacherViewUri
Teacher View URI
https://teacher.example/view?id=...
studentViewUri
Student View URI
https://student.example/view?id=...
studentWorkReviewUri
Student Work Review URI
https://review.example/view?id=...
year
Due Date Year
2026
month
Due Date Month
4
day
Due Date Day
15
hours
Due Time Hours
14
minutes
Due Time Minutes
30
maxPoints
Max Points
100
Calls Google Classroom as you (your API key is your account); keychains.dev holds the credentials.