v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1310484273.7 KB
courses

Creates a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see licensing requirements. For further details, see Rubrics structure and known limitations. This request must be made by the Google Cloud console of the OAuth client ID used to create the parent course work item. This method returns the following error codes: * PERMISSION_DENIED if the requesting user isn't permitted to create rubrics for course work in the requested course. * INTERNAL if the request has insufficient OAuth scopes. * INVALID_ARGUMENT if the request is malformed and for the following request error: * RubricCriteriaInvalidFormat * NOT_FOUND if the requested course or course work don't exist or the user doesn't have access to the course or course work. * FAILED_PRECONDITION for the following request error: * AttachmentNotVisible

post/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics

Path parameters

courseIdstring required

Required. Identifier of the course.

courseWorkIdstring required

Required. Identifier of the course work.

Request body

sourceSpreadsheetIdstring

Input only. Immutable. Google Sheets ID of the spreadsheet. This spreadsheet must contain formatted rubric settings. See Create or reuse a rubric for an assignment. Use of this field requires the https://www.googleapis.com/auth/spreadsheets.readonly or https://www.googleapis.com/auth/spreadsheets scope.

courseIdstring

Identifier of the course. Read-only.

creationTimestring google-datetime

Output only. Timestamp when this rubric was created. Read-only.

idstring

Classroom-assigned identifier for the rubric. This is unique among rubrics for the relevant course work. Read-only.

updateTimestring google-datetime

Output only. Timestamp of the most recent change to this rubric. Read-only.

courseWorkIdstring

Identifier for the course work this corresponds to. Read-only.

Response

Successful response