Sign in

Create add-on attachment for course work material

documented

Creates an add-on attachment under a course work material.

POST /v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachmentsCoursesno 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?addOnToken={{addOnToken}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"courseId":"{{$courseId}}","itemId":"{{$itemId}}","title":"{{$title}}","teacherViewUri":{"uri":"{{$teacherViewUri}}"},"studentViewUri":{"uri":"{{$studentViewUri}}"}}'