Update grading period settings
documentedUpdates grading period settings of a course.
PATCH /v1/courses/{courseId}/gradingPeriodSettingsCoursesno 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}}/gradingPeriodSettings?updateMask={{updateMask}}" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"gradingPeriods": [ {"title": "{{$gradingPeriod1_title}}", "startDate": {"year": {{$gradingPeriod1_startYear}}, "month": {{$gradingPeriod1_startMonth}}, "day": {{$gradingPeriod1_startDay}}}, "endDate": {"year": {{$gradingPeriod1_endYear}}, "month": {{$gradingPeriod1_endMonth}}, "day": {{$gradingPeriod1_endDay}}} }, {"title": "{{$gradingPeriod2_title}}", "startDate": {"year": {{$gradingPeriod2_startYear}}, "month": {{$gradingPeriod2_startMonth}}, "day": {{$gradingPeriod2_startDay}}}, "endDate": {"year": {{$gradingPeriod2_endYear}}, "month": {{$gradingPeriod2_endMonth}}, "day": {{$gradingPeriod2_endDay}}} }], "applyToExistingCoursework": {{$applyToExistingCoursework}} }'"