Endpoint to support add accept command
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Go
- Sterne
- 126
- Forks
- 21
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Proposed endpoint
Add the necessary get/put endpoints to support feature request #18 in the cli. This would be from the students perspective not the instructors. Currently all commands in the classroom cli return information using the instructors token.
For this to work for a student, this endpoint would need to return all the classrooms and assignments that a student can access with their own auth token.
Justification
This will be used to implement #18 and make classrooms usable without a student having to use a browser. Lots of schools provide ssh access to local clusters that don't support x11 forwarding so we need tools that are 100% cli to help foster adoption :)
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem Lesen der Feature-Anfrage #18 und verfolge die vorhandenen classroom-CLI-Befehle, die ein Instructor-Token verwenden. Identifiziere die aktuellen classroom- und assignment-Endpunkte, definiere anschließend das durch Studierende authentifizierte GET/PUT-Verhalten und überprüfe, dass Studierende nur auf die für sie verfügbaren classrooms und assignments zugreifen können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- api, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100