Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#90 0 bình luận 6 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
github, go
Lĩnh vực
api, cli

Hướng nghiên cứu

Bắt đầu bằng cách xác định các điểm vào command và API hiện có của extension GH Classroom; issue không nêu tên các file hoặc test cụ thể. Sử dụng các route classroom và assignment được đề xuất làm phạm vi, với tiêu chí hoàn thành là có thể tạo và chỉnh sửa bằng lập trình, cùng với các command tương ứng của extension cho classroom và assignment.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

api-request

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

Ngôn ngữ chính
Go
Star
126
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/gh-classroom

Tất cả issue của github/gh-classroom

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.