courses

POST /v1/courses/{courseId}/studentGroups

Changed on

Creates a student group for a course. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to create the student group or for access errors. * NOT_FOUND if the course does not exist or the requesting user doesn't have access to the course. * FAILED_PRECONDITION if creating the student group would exceed the maximum number of student groups per course.

Request

  • Base URL
    https://classroom.googleapis.com
  • URL
    https://classroom.googleapis.com/v1/courses/{courseId}/studentGroups
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/classroom.rosters
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.rosters

Path parameters

courseIdstring required

Required. The identifier of the course.

Request body

courseIdstring

The identifier of the course.

idstring

The identifier of the student group.

titlestring

The title of the student group.

Response

Successful response

courseIdstring

The identifier of the course.

idstring

The identifier of the student group.

titlestring

The title of the student group.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status