这是indexloc提供的服务,不要输入任何密码
Skip to content

[API Endpoint Request] Expose classroom and assignment creation and editing endpoints for programmatic automation #90

@wahalulu

Description

@wahalulu

Every semester we have to manually create the GH classroom and all the assignments/labs within the classroom. We typically have about 6/7 assignments, 13 labs, and a group project.

Doing all of this through the GH classroom website is tedious. I'd love to see GH classroom creation for a given GH org, as well as the assignment creation/editing exposed so we can create everything programatically, and also add these commands to the GH classroom extension.
 

Proposed endpoint

A POST to /classrooms/create would create a classroom for a given GH organization with

  • GH classroom name

A POST to classroom/$clasroom_id would edit an existing classroom

A POST to classroom/$classroom_id/assignment/create would create an assignment with:

  • assignment name
  • assignment prefix
  • source repo url
  • due date
  • etc

A POST to classroom/$clasroom_id/assignment/$assignment_id would edit an existing assignment

Justification

Help with automation especially when there is a need to create many assignments in a course

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions