Patch add-on attachment for announcement
documentedUpdates an add-on attachment for announcement.
PATCH /v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}Coursesno implementation yet0 runsNo 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}}/announcements/{{$itemId}}/addOnAttachments/{{$attachmentId}}?postId={{$postId}}&updateMask=title,maxPoints" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"title": "{{$title}}", "maxPoints": {{$maxPoints}}}'