courses
POST /v1/courses/{courseId}/courseWorkMaterials
Changed onCreates a course work material. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to access the requested course, create course work material in the requested course, share a Drive attachment, or for access errors. * INVALID_ARGUMENT if the request is malformed or if more than 20 * materials are provided. * NOT_FOUND if the requested course does not exist. * FAILED_PRECONDITION for the following request error: * AttachmentNotVisible
Request
- Base URLhttps://classroom.googleapis.com
- URLhttps://classroom.googleapis.com/v1/courses/{courseId}/courseWorkMaterials
- AuthOAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.courseworkmaterialsAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.courseworkmaterials
Path parameters
courseIdstring required
Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status
- breaking