[API Endpoint Request] Expose classroom and assignment creation and editing endpoints for programmatic automation
- Lingua principale
- Go
- Stelle
- 125
- Fork
- 21
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando i punti di ingresso esistenti dei comandi e dell’API dell’estensione GH Classroom; l’issue non indica file o test specifici. Usa le route proposte per classroom e assignment come ambito, considerando completato il lavoro quando saranno possibili la creazione e la modifica programmatiche, insieme ai comandi corrispondenti dell’estensione per classroom e assignment.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github, go
- Ambito
- api, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100